From: Owen Synge <osynge@suse.com>
To: ceph-devel@vger.kernel.org
Subject: with "ceph-deploy osd create" logic check (before I write a patch)
Date: Thu, 10 Jul 2014 12:19:28 +0200 [thread overview]
Message-ID: <53BE68B0.5090907@suse.com> (raw)
Dear All,
This email is about
$ ceph-deploy osd create ceph-node4:vdb
and it not behaving identically too:
$ ceph-deploy osd prepare ceph-node2:vdb
$ ceph-deploy osd activate ceph-node2:vdb1
It is my understanding that the following sequence should deploy ceph
correctly and activate an OSD.
(on ceph setup server)
$ ceph-deploy install ceph-node4
$ ceph-deploy new ceph-node2
$ ceph-deploy mon create-initial ceph-node2
(On actual node)
# /etc/init.d/ceph start
(on ceph setup server)
$ ceph-deploy osd prepare ceph-node2:vdb
$ ceph-deploy osd activate ceph-node2:vdb1
and that the last two commands above can be replaced with:
(on ceph setup server)
$ ceph-deploy osd create ceph-node4:vdb
and behind the scenes udev does the second process of activation rather
than use the command:
(On actual node)
# ceph-disk-activate --mark-init ${distro_init} --mount ${disk}
it executes:
(On actual node)
# udevadm trigger --subsystem-match=block --action=add
Is their a logic for the reason why
$ ceph-deploy osd create ceph-node4:vdb
Is described as both "prepare" and "activate" but in fact a different
command? Would you like a patch to make the code really do the same
thing, or am I missing some important deployment logic?
Best regards
Owen
PS:
Goes off to look at why the udev rules are failing and caused me to
notice this discrepancy.
next reply other threads:[~2014-07-10 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-10 10:19 Owen Synge [this message]
2014-07-10 12:15 ` with "ceph-deploy osd create" logic check (before I write a patch) Owen Synge
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=53BE68B0.5090907@suse.com \
--to=osynge@suse.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.