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:21:06 +0000 (UTC) [thread overview]
Message-ID: <loom.20120522T231859-65@post.gmane.org> (raw)
In-Reply-To: 8CBFE0C21212497AA50AEBE59EEFCAFF@inktank.com
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
prev parent reply other threads:[~2012-05-22 21:21 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
2012-05-23 5:15 ` Gregory Farnum
2012-05-22 21:21 ` Grant Ashman [this message]
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.20120522T231859-65@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