[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336518: yaird: document using NFS Root



On Tue, Nov 01, 2005 at 10:38:56PM +0100, Jonas Smedegaard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, 1 Nov 2005 22:24:05 +0100
> Sven Luther <sven.luther@wanadoo.fr> wrote:
> 
> > On Tue, Nov 01, 2005 at 09:03:37PM +0100, Erik van Konijnenburg wrote:
> > > On Tue, Nov 01, 2005 at 06:02:57PM +0100, Jonas Smedegaard wrote:
> > > > On Mon, 31 Oct 2005 19:52:52 -0700 Vagrant Cascadian <vagrant
> > > > +bugs@freegeek.org> wrote:
> > > > > On Sun, Oct 30, 2005 at 11:51:11PM +0100, Jonas Smedegaard
> > > > > wrote:
> > > > > > Currently, MOUNTDIR does not support nfsroot so needs to be
> > > > > > commented out completely.
> > > > >  
> > > > > ugh.
> > > > 
> > > > Well, actually... Looking at FsEntry.pm and other code it might
> > > > actually be supported somehow - or support is halfway there...
> > > 
> > > It's recognised as something we can't support.  Mounting eg
> > > 'www.debian.org:/boot' would require name resolution, and there's
> > > way too much guesswork involved in doing that on the initial boot
> > > disk: do you want /etc/hosts? LDAP? NIS? DNS?  There's other
> > > unpleasantness involved in trying to interpret nfs partitions from
> > > fstab on the boot image, but this is the most obvious one.
> > 
> > What about runing host www.debian.org and using the returned IP
> > address ?
> 
> Do host not require name resolving based on either /etc/hosts, LDAP,
> NIS, DNS or other NSS plugins? I believe "host" is a concrete tool to
> use, but not an answer to the question raised above by Erik.

Ah, sure, but as the NFS mount is active when the initrd is generated, host
can be used to get the IP, which would then be a hardcoded default in the
ramdisk, overridable by the command line. This would not work if the server is
not a static ip address though.

Friendly,

Sven Luther




Reply to: