ceph-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Doffman <mark.doffman@codethink.co.uk>
To: Alex Elsayed <eternaleye@gmail.com>, ceph-devel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] Add ceph root filesystem
Date: Thu, 05 Jun 2014 14:13:31 -0500	[thread overview]
Message-ID: <5390C15B.4060407@codethink.co.uk> (raw)
In-Reply-To: <lm5sg3$tn3$1@ger.gmane.org>



On 05/28/2014 06:46 PM, Alex Elsayed wrote:
> mark.doffman@codethink.co.uk wrote:
>
>> From: Mark Doffman <mark.doffman@codethink.co.uk>
>>
>> Hi All,
>>
>> The following is a third version of a patch series that adds the ability
>> to use a ceph distributed file system as the root device.
> <snip>
>
> Would you mind expanding on why you want to do this in the kernel, instead
> of using an initramfs? For example, dracut supports the following syntax,
> and sets it up using the same tools as mounting NFS in a running system
> rather than the kernel's nfsroot support:
>
> root=nfs:[<server-ip>:]<root-dir>[:<nfs-options>]
> root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>]
> root={dhcp|dhcp6}
>
> root=dhcp alone directs initrd to look at the DHCP root-path where NFS
> options can be specified.
>
> It also supports CIFS, as a further illustration:
>
> root=cifs://[<username>[:<password>]@]<server-ip>:<root-dir>
>
> Extending this to Ceph seems much simpler than implementing such a thing in
> the kernel, especially given dracut's modular nature, and it's easy enough
> to compile an initramfs into the kernel.

An initramfs, and dracut, has been mentioned before as a possible 
solution. The reason I would prefer this in the kernel is simplicity. 
NFS root is in the kernel and we regularly use it without an initramfs.

However simple dracut is still a more complex procedure, for something 
that is very easy to do in the kernel.

Using a root device also has the advantage that it might produce smaller 
images for memory constrained devices.

>
> --
> 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:[~2014-06-05 19:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-21  2:13 [PATCH 0/4] Add ceph root filesystem functionality and documentation mark.doffman
2013-11-21  2:13 ` [PATCH 1/4] init: Add a new root device option, the Ceph file system mark.doffman
     [not found]   ` <1385000024-23463-2-git-send-email-mark.doffman-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
2013-12-07  6:10     ` Sage Weil
2013-11-21  2:13 ` [PATCH 2/4] Documentation: Document the cephroot functionality mark.doffman
2013-12-07  5:57   ` Sage Weil
     [not found]     ` <alpine.DEB.2.00.1312062154530.1560-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
2014-01-15 17:22       ` Mark Doffman
2013-11-21  2:13 ` [PATCH 3/4] cephroot: Add DHCP option 17 configuration to ceph root fs mark.doffman
2013-11-21  2:13 ` [PATCH 4/4] Reuse root_nfs_parse_addr() for NFS and CEPH mark.doffman
2013-11-21 20:19 ` [PATCH 0/4] Add ceph root filesystem functionality and documentation David Dillow
     [not found]   ` <1385065186.18238.0.camel-zHLflQxYYDO4Hhoo1DtQwJ9G+ZOsUmrO@public.gmane.org>
2013-11-22 16:53     ` Mark Doffman
     [not found] ` <1385000024-23463-1-git-send-email-mark.doffman-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
2014-01-15 17:26   ` [PATCH v2 0/2] " mark.doffman-4yDnlxn2s6sWdaTGBSpHTA
2014-05-28 19:53     ` [PATCH v3 0/2] Add ceph root filesystem mark.doffman
2014-05-28 23:46       ` Alex Elsayed
2014-06-05 19:13         ` Mark Doffman [this message]
     [not found]           ` <CAP=_KhqQcJmPLYCNqFkKtW_2jwB1XMWPgg-1jrJdfE6sC5gg3Q@mail.gmail.com>
2014-07-11 15:56             ` Patrick Hahn
2014-05-28 19:53     ` [PATCH v3 1/2] init: Add a new root device option, the Ceph file system mark.doffman
2014-05-28 19:53     ` [PATCH v3 2/2] Documentation: Document the cephroot functionality mark.doffman
2014-01-15 17:26 ` [PATCH v2 1/2] init: Add a new root device option, the Ceph file system mark.doffman
2014-01-15 17:26 ` [PATCH v2 2/2] Documentation: Document the cephroot functionality mark.doffman
2014-01-15 18:00   ` Randy Dunlap

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=5390C15B.4060407@codethink.co.uk \
    --to=mark.doffman@codethink.co.uk \
    --cc=ceph-devel@vger.kernel.org \
    --cc=eternaleye@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).