From: Frank van Maarseveen <frankvm@frankvm.com>
To: glogow@fbihome.de
Cc: nfs@lists.sourceforge.net
Subject: Re: NFSroot using NFSv4?
Date: Sat, 28 Oct 2006 11:31:42 +0200 [thread overview]
Message-ID: <20061028093142.GA16741@janus> (raw)
In-Reply-To: <1161861313.454098c141626@stud.fbi.h-da.de>
On Thu, Oct 26, 2006 at 01:15:13PM +0200, glogow@fbihome.de wrote:
> Hi
>
> I'm looking for some information on using Linux kernel NFSroot with NFSv4.
>
> >From reading some documentation it seems that there are some additional daemons
> involved to mount NFSv4 exports on a client (idmapd, gssd (just for krb5?)).
>
> Is it possible to run NFSv4 as a read-only NFSroot, without an initrd /
> initramfs, which would otherwise start these deamons and use a NFSv4 enabled
> mount and a pivot_root?
The proper way to do that is actually to put an "/init" script in
initrd. The kernel won't mount a root filesystem (i.e. no root= parameter)
and leaves it up to the early userspace /init script to setup the root
mount, e.g. /newroot. The last step for /init (being pid 1) is a
exec chroot /newroot /sbin/init <args>
This can handle much more types of root mounts and avoids the need for
an in-kernel nfsroot.
--
Frank
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
prev parent reply other threads:[~2006-10-28 9:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 11:15 NFSroot using NFSv4? glogow
2006-10-27 5:48 ` Trond Myklebust
2006-10-28 9:31 ` Frank van Maarseveen [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=20061028093142.GA16741@janus \
--to=frankvm@frankvm.com \
--cc=glogow@fbihome.de \
--cc=nfs@lists.sourceforge.net \
/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.