Re: test osd on zfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I looked into this problem earlier. The problem is that zfs does not
return ERANGE when the size of value buffer passed to getxattr is too
small. zfs returns with truncated xattr value.

Regards,
Henry

2013/4/17 Sage Weil <sage@xxxxxxxxxxx>:
> Hey,
>
> Can you test with the wip-debug-xattr branch?  Set debug filestore = 30
> and it will dump the xattr values to the log on set and get, so we can see
> what is going on.
>
> Also/alternatively, strace with -f -v -x, which will (I think) include the
> full value of the get/setxattr args..
>
> Thanks!
> sage
>
>
> On Wed, 17 Apr 2013, Aleksey Leonov wrote:
>
>>      Hi all,
>>
>>      I create test VM for try run ceph osd on zfs.
>>      mkcephfs run ok. Osd down 2 minutes after start.
>>
>> ceph.conf
>> [global]
>>          max open files = 131072
>>          log file = /var/log/ceph/$name.log
>>          pid file = /var/run/ceph/$name.pid
>> [mon]
>>          mon data = /ceph/mon/$name
>> [mon.alpha]
>>          host = ct1
>>          mon addr = 10.10.10.2:6789
>> [mds]
>> [mds.alpha]
>>          host = ct1
>> [osd]
>>          debug filestore = 20
>>          filestore xattr use omap = true
>>          osd data = /ceph/osd/$name
>>          osd journal = /ceph/osd/$name/journal
>>          osd journal size = 2000 ; journal size, in megabytes
>>          journal dio = false
>>          journal aio = false
>>
>> [osd.0]
>>          host = ct1
>>
>>
>>
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux