[zfs-discuss] zfs sometimes hangs up on getxattr

Takayuki Hidehira takayuki.hidehira at gmail.com
Fri Feb 26 01:58:21 EST 2016


This is just a follow up.

I moved all the data and confirmed the issue did not occur for one week.
Therefore I think this issue was solved by setting xattr=sa.

Thank you again, Fajar.

2016-02-17 15:31 GMT+09:00 Takayuki Hidehira <takayuki.hidehira at gmail.com>:

> Thank you for your response.
>
> I will create a new dataset with xattr=sa and move all the files.
>
> 2016-02-17 14:43 GMT+09:00 Fajar A. Nugraha <list at fajar.net>:
>
>> On Wed, Feb 17, 2016 at 9:33 AM, Takayuki Hidehira via zfs-discuss <
>> zfs-discuss at list.zfsonlinux.org> wrote:
>>
>>> Hi all,
>>>
>>> Recently I have set up a Samba file serevr using ZFS.
>>> After running it few days, I occasionaly (once in one or two days)
>>> encounter ZFS issue
>>> which makes CPU load very high and the server bocomes unresponsive.
>>>
>>> Once it occurs, multiple smbd continuously consume cpu resource.
>>>
>>> Although smbd is blocking, I believe this issue is related to ZFS
>>> since the trace shows zfs and spl.
>>>
>>> The file server is a domain member of Active Directory and
>>> Windows ACL is used for access permission.
>>>
>>> Does anyone know how to solve this issue?
>>>
>>>
>>
>> # cat /etc/redhat-release
>>> Scientific Linux release 7.2 (Nitrogen)
>>>
>>> # uname -a
>>> Linux SMB-SERVER.DOMAIN.CO.JP 3.10.0-327.4.5.el7.x86_64 #1 SMP Mon Jan
>>> 25 13:30:47 CST 2016 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> # modinfo zfs
>>> filename:
>>> /lib/modules/3.10.0-327.4.5.el7.x86_64/extra/zfs/zfs/zfs.ko
>>> version:        0.6.5.4-1
>>>
>>
>>
>>> # zfs get all zroot/user
>>> NAME        PROPERTY              VALUE                  SOURCE
>>> zroot/user  xattr                 on                     default
>>>
>>
>>
>>
>> AFAIK it should be xattr=sa.
>>
>> The problem is that old files would keep using the old settings, so you'd
>> probably need to create a new dataset, set xattr=sa for that dataset, and
>> then copy all files there.
>>
>> --
>> Fajar
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20160226/9f49f24d/attachment.html>


More information about the zfs-discuss mailing list