* NFSroot using NFSv4?
@ 2006-10-26 11:15 glogow
2006-10-27 5:48 ` Trond Myklebust
2006-10-28 9:31 ` Frank van Maarseveen
0 siblings, 2 replies; 3+ messages in thread
From: glogow @ 2006-10-26 11:15 UTC (permalink / raw)
To: nfs
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?
I don't need any security features of NFSv4, as it would just be used for
installing Debain via PXE and FAI.
Thanks
Jan-Marek
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NFSroot using NFSv4?
2006-10-26 11:15 NFSroot using NFSv4? glogow
@ 2006-10-27 5:48 ` Trond Myklebust
2006-10-28 9:31 ` Frank van Maarseveen
1 sibling, 0 replies; 3+ messages in thread
From: Trond Myklebust @ 2006-10-27 5:48 UTC (permalink / raw)
To: glogow; +Cc: nfs
On Thu, 2006-10-26 at 13:15 +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?
Not at this point. We may look into providing NFSroot support for NFSv4
if there is enough interest, but at the moment you will at least need an
idmapd in userland running before you attempt to mount the volume.
Cheers,
Trond
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NFSroot using NFSv4?
2006-10-26 11:15 NFSroot using NFSv4? glogow
2006-10-27 5:48 ` Trond Myklebust
@ 2006-10-28 9:31 ` Frank van Maarseveen
1 sibling, 0 replies; 3+ messages in thread
From: Frank van Maarseveen @ 2006-10-28 9:31 UTC (permalink / raw)
To: glogow; +Cc: nfs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-28 9:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.