Problem solved. Seems like I can’t set stripe_unit to a value larger than object_size. I should increase object_size attribute before increasing stripe_unit attribute.
Hope this would help someone. :) On Jun 29, 2018, at 12:20 PM, Yu Haiyang <[email protected]<mailto:[email protected]>> wrote: Hi, I want to play around with my ceph.file.layout attributes such as stripe_unit and object_size to see how it affected my Ceph FS performance. However I’ve been unable to set any attribute with below error. $ setfattr -n ceph.file.layout.stripe_unit -v 41943040 file1 setfattr: file1: Invalid argument Using strace I can see it failed at something related to missing locale language pack. Any suggestion how to resolve this? $ strace setfattr -n ceph.file.layout.stripe_unit -v 41943040 file open("/usr/share/locale/en_HK/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en_HK/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "setfattr: file: Invalid argument"..., 33setfattr: file: Invalid argument ) = 33 exit_group(1) = ? Many thanks, Haiyang _______________________________________________ ceph-users mailing list [email protected]<mailto:[email protected]> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
