CEPH filesystem development
 help / color / mirror / Atom feed
From: Grant Ashman <grant.ashman@mach.com.au>
To: ceph-devel@vger.kernel.org
Subject: Re: how to mount a specific pool in cephs
Date: Tue, 22 May 2012 21:51:10 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120522T234403-146@post.gmane.org> (raw)
In-Reply-To: 6DEB34DCFE6447C1BEE4A3E374801FAC@inktank.com

Greg Farnum <greg <at> inktank.com> writes:

> > When I specify the add data pool I get the following:
> > (with or without the additional values)
> >  
> > root <at> 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 docs I found you ran that correctly, but let's try running 
"ceph mds add_data_pool 3" and
> see if that resolves correctly.
> *goes to look at code*
> Argh, yep, it's expecting a pool ID, not a pool name. Gah.
> 
> > root <at> dsan-test:~# cephfs /mnt/ceph-backup set_layout -p 3
> > Error setting layout: Invalid argument
> >  
> > Seems to be pointing at pool 0 instead of pool 3 like it should?
> >  

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 I simply doing something wrong at my mount stage?

The process to mount my specific pool as I understand it is;

1. mount -t ceph 1.2.3.4:/ /mnt/ceph-backup
2. ceph mds add_data_pool 3
3. cephfs /mnt/ceph-backup/ -p 3 

Which should give me /ceph-backup mounted to the backup pool.

Should I simply then do a 
mount -t ceph 1.2.3.4:/ /mnt/ceph-data/
to get the /ceph-data/ pool mounted to the pool 0 data pool?




--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-05-22 21:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-30  6:16 how to mount a specific pool in cephs Paul Pettigrew
2012-04-30 17:40 ` Tommi Virtanen
2012-05-22 12:02   ` Grant Ashman
2012-05-22 17:58     ` Greg Farnum
2012-05-22 21:12       ` Grant Ashman
2012-05-22 21:21         ` Greg Farnum
2012-05-22 21:31           ` Grant Ashman
2012-05-22 21:42             ` Greg Farnum
2012-05-22 21:51               ` Grant Ashman [this message]
2012-05-23  5:15                 ` Gregory Farnum
2012-05-22 21:21       ` Grant Ashman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20120522T234403-146@post.gmane.org \
    --to=grant.ashman@mach.com.au \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox