Re: how to mount a specific pool in cephs

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

 



Greg Farnum <greg <at> inktank.com> writes:
> 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 I still get;

root@dsan-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:#
root@dsan-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



--
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