>That's the right pool ID; yes. I believe the problem is that the cephfs tool 
>currently requires you to fill in all the fields, not ?>just the one you wish 
>to change. Try that (setting all the other values to match what you see when 
>you view the layout). :) -> Greg

Hi,

I've tried setting all values the same as the current layout - changing only 
the pool number and I still get;

root@dsan-test:/mnt/ceph-test# cephfs /mnt/ceph-backup show_layout
layout.data_pool:     0
layout.object_size:   4194304
layout.stripe_unit:   4194304
layout.stripe_count:  1
root@dsan-test:/mnt/ceph-test# 
root@dsan-test:/mnt/ceph-test# cephfs /mnt/ceph-backup set_layout -p 3 -s 
4194304 -u 4194304 -c 1
Error setting layout: Invalid argument

If I leave all values exactly the same i.e '-p 0' the command runs without any 
error output. However, changing the pool from anything but 0 results in 'Error 
setting layout: Invalid argument'

Any ideas?

Grant


Reply via email to