Project

General

Profile

Bug #45521

Updated by Ramana Raja 3 months ago

<pre>
$ bin/ceph osd pool create cephfa-foo
$ bin/ceph fs add_data_pool a cephfa-foo
$ setfattr -n ceph.dir.layout -v 'stripe_unit=524288 stripe_count=8 object_size=4194304 pool=cephfa-foo' foo
setfattr: foo: Invalid argument
</pre>

MDS log shows:

<pre>
7f2260f54700 20 mds.0.server parse_layout_vxattr name layout value 'pool=cephfa-foo' $ setfattr -n ceph.dir.layout -v 'stripe_unit=524288 stripe_count=8 object_size=4194304 pool=cephfa-foo' foo
2020-05-13T17:59:51.205+0530 7f2260f54700 10 mds.0.server parsed {pool=cephfa} left '-foo'
7f2260f54700 7 mds.0.server reply_client_request -22 ((22)
setfattr: foo: Invalid argument) client_request(client.4156:6 setxattr #0x10000000000 ceph.dir.layout 2020-05-13T17:59:51.204109+0530 caller_uid=0, caller_gid=0{0,}) v4 argument
</pre>

Back