Re: how to mount a specific pool in cephs

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

 



On Tuesday, May 22, 2012 at 2:12 PM, Grant Ashman wrote:
> > 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?
Oh, I got this conversation confused with another one. You also need to specify the pool as a valid pool to store filesystem data in, if you haven't done that already:
"ceph mds add_data_pool <poolname>"


And you may not actually need to specify all options — I'd been assuming since it broke but I don't remember if that's actually the case (I think it's changed over the versions). 
--
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