how to mount a specific pool in cephs

2012-04-29 Thread Paul Pettigrew
Hi all Running Ceph version 0.45-1precise on 12.04 x64. I cannot find the right syntax to mount a specific pool created, that has a customised replica level set, which is different to the default "data" pool (i.e. we have an additional pool called "backup"). Can somebody please advise the righ

Re: how to mount a specific pool in cephs

2012-05-22 Thread Grant Ashman
Tommi Virtanen dreamhost.com> writes: > > You don't mount pools directly; there's filesystem metadata (as > managed by metadata servers) that is needed too. > > What you probably want is to specify that a subtree of your ceph dfs > stores the file data in a separate pool, using "cephfs > /mnt/ce

Re: how to mount a specific pool in cephs

2012-05-22 Thread Greg Farnum
On Tuesday, May 22, 2012 at 5:02 AM, Grant Ashman wrote: > Tommi Virtanen dreamhost.com (http://dreamhost.com)> > writes: > > > > You don't mount pools directly; there's filesystem metadata (as > > managed by metadata servers) that is needed too. > > > > What you probably want is to specify tha

Re: how to mount a specific pool in cephs

2012-05-22 Thread Grant Ashman
Greg Farnum 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)

Re: how to mount a specific pool in cephs

2012-05-22 Thread Greg Farnum
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

Re: how to mount a specific pool in cephs

2012-05-22 Thread Grant Ashman
Greg Farnum inktank.com> writes: > 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 " > > Thanks Greg, However, I still get the same error :( Whe

Re: how to mount a specific pool in cephs

2012-05-22 Thread Greg Farnum
On Tuesday, May 22, 2012 at 2:31 PM, Grant Ashman wrote: > Greg Farnum inktank.com (http://inktank.com)> writes: > > 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: > > "

RE: how to mount a specific pool in cephs

2012-05-22 Thread Grant Ashman
>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 al

Re: how to mount a specific pool in cephs

2012-05-22 Thread Grant Ashman
Greg Farnum inktank.com> writes: > > When I specify the add data pool I get the following: > > (with or without the additional values) > > > > root dsan-test:~# ceph mds add_data_pool backup > > added data pool 0 to mdsmap > > Okay, that's not right — it should say pool 3. > According to the

Re: how to mount a specific pool in cephs

2012-05-22 Thread Gregory Farnum
On Tuesday, May 22, 2012 at 2:51 PM, Grant Ashman wrote: > Awesome, that seemed to work! > However, I feel a bit silly - what I'm after is: > > /mnt/ceph-data - mounted to pool 0 (data) > /mnt/ceph-backup - mounted to pool 3 (backup) > > but this seemed to change both to mount to pool 3? > > Am

Re: how to mount a specific pool in cephs

2012-04-30 Thread Tommi Virtanen
On Sun, Apr 29, 2012 at 23:16, Paul Pettigrew wrote: > I cannot find the right syntax to mount a specific pool created, that has a > customised replica level set, which is different to the default "data" pool > (i.e. we have an additional pool called "backup"). Can somebody please advise > the