Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 16:54:02 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "Eggert, Lars" <lars@netapp.com>
Cc:        Craig Rodrigues <rodrigc@crodrigues.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, Andre Oppermann <andre@freebsd.org>
Subject:   Re: mounting root from NFS via ROOTDEVNAME
Message-ID:  <E1U0vWc-0006AD-Vu@kabab.cs.huji.ac.il>
In-Reply-To: <D4D47BCFFE5A004F95D707546AC0D7E91F6B8455@SACEXCMBX01-PRD.hq.netapp.com>
References:  <D4D47BCFFE5A004F95D707546AC0D7E91F671642@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVergKVKUO=VySvM65WPJO_Od1tkWvx45tM_sEyO65mwUg@mail.gmail.com> <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> <D4D47BCFFE5A004F95D707546AC0D7E91F674CDE@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVezTjcTp_AXsOMWYCSM1_xFJDvmUwdguHdZBABanGGrxw@mail.gmail.com> <D4D47BCFFE5A004F95D707546AC0D7E91F69BF73@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVceQaKeprUyTXZyK13FSk2NY2sFT8LvG=wbQWsk08wwBQ@mail.gmail.com> <D4D47BCFFE5A004F95D707546AC0D7E91F6B8297@SACEXCMBX01-PRD.hq.netapp.com> <510A5B32.4070501@freebsd.org> <D4D47BCFFE5A004F95D707546AC0D7E91F6B8455@SACEXCMBX01-PRD.hq.netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Jan 31, 2013, at 12:53, Andre Oppermann <andre@freebsd.org>
>  wrote:
> > The interface doesn't have a name during loader stage.  The kernel
> > finds the interface to use based on the MAC address.  You should
> > set boot.netif.hwaddr as well in the kernel environment.
> 
> Done, no change. Here is what's in my loader environment:
> 
> boot.netif.netmask   255.255.255.0
> boot.netif.gateway   10.11.12.13
> boot.nfsroot.server  10.11.12.13
> boot.nfsroot.path    /usr/home/elars/dst
> boot.netif.ip        10.11.12.15
> boot.netif.name      em4
> boot.netif.hwaddr    xx:xx:xx:xx:xx:xx
> vfs.root.mountfrom   nfs:10.11.12.13:/usr/home/elars/dst
> 
> And here is what I see during boot:
> 
> Trying to mount root from nfs:10.11.12.13:/usr/home/elars/dst []...
> mountroot: waiting for device 10.11.12.13:/usr/home/elars/dst ...
> Mounting from nfs:10.11.12.13:/usr/home/elars/dst failed with error 19.
> 
> Lars

a shot in the dark, but is /usr/home/elars/dst properly exported?

danny






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1U0vWc-0006AD-Vu>