From: Kasper Dieter <dieter.kasper@ts.fujitsu.com>
To: ceph-devel <ceph-devel@vger.kernel.org>
Cc: Kasper Dieter <Dieter.Kasper@ts.fujitsu.com>
Subject: cephfs <fs> set_layout -p 3 ... EINVAL
Date: Tue, 16 Jul 2013 13:54:48 +0200 [thread overview]
Message-ID: <20130716115448.GA23760@oder.mch.fsc.net> (raw)
I followed the description
http://www.sebastien-han.fr/blog/2013/02/11/mount-a-specific-pool-with-cephfs/
... to change the pool assigned to cephfs:
# ceph osd dump | grep rule
pool 0 'data' rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 10304 pgp_num 10304 last_change 1 owner 0 crash_replay_interval 45
pool 1 'metadata' rep size 2 min_size 1 crush_ruleset 1 object_hash rjenkins pg_num 10304 pgp_num 10304 last_change 1 owner 0
pool 2 'rbd' rep size 2 min_size 1 crush_ruleset 2 object_hash rjenkins pg_num 10304 pgp_num 10304 last_change 1 owner 0
pool 3 'SSD-group-2' rep size 2 min_size 1 crush_ruleset 3 object_hash rjenkins pg_num 3300 pgp_num 3300 last_change 299 owner 0
pool 4 'SSD-group-3' rep size 3 min_size 1 crush_ruleset 3 object_hash rjenkins pg_num 3300 pgp_num 3300 last_change 302 owner 0
pool 5 'SAS-group-2' rep size 2 min_size 1 crush_ruleset 4 object_hash rjenkins pg_num 3300 pgp_num 3300 last_change 306 owner 0
pool 6 'SAS-group-3' rep size 3 min_size 1 crush_ruleset 4 object_hash rjenkins pg_num 3300 pgp_num 3300 last_change 309 owner 0
# cephfs /mnt/cephfs/ show_layout
layout.data_pool: 0
layout.object_size: 4194304
layout.stripe_unit: 4194304
layout.stripe_count: 1
# mount | grep ceph
10.10.38.13:/ on /mnt/cephfs type ceph (name=admin,key=client.admin)
# cephfs /mnt/cephfs/ set_layout -p 3 -u 4194304 -c 1 -s 4194304
Error setting layout: Invalid argument
Is this a bug in the current release ?
# ceph -v
ceph version 0.61.4 (1669132fcfc27d0c0b5e5bb93ade59d147e23404)
How can this issue be solved ?
Kind Regards,
Dieter Kasper
next reply other threads:[~2013-07-16 12:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-16 11:54 Kasper Dieter [this message]
2013-07-16 11:58 ` cephfs <fs> set_layout --pool_meta <SSD> --pool_data <SAS> Kasper Dieter
2013-07-16 12:26 ` Andreas Bluemle
2013-07-16 12:37 ` Andreas Bluemle
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=20130716115448.GA23760@oder.mch.fsc.net \
--to=dieter.kasper@ts.fujitsu.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.