Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 12:49:16 -0500
From:      "Michael W. Lucas" <>
To:        Mel Flynn <>
Subject:   Re: diskless problem:  Lookup of /dev for devfs, error: 13
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, Nov 20, 2009 at 02:20:54AM -0900, Mel Flynn wrote:
> On Thu, 19 Nov 2009 16:18:29 -0500, "Michael W. Lucas"
> <> wrote:
> > Hi,
> > 
> > I'm attempting to run a diskless 8.0 i386 workstation on VMWare, using
> > an OpenSolaris box as a file store.  I get PXE, the kernel loads, but
> > when we try to remount the filesystem I get:
> > 
> > ...
> > NFS ROOT:  XXX.XXX.XXX.XXX:/storage1/vm/netflow
> > Lookup of /dev for devfs, error 13
> > exec /sbin/init: error 13
> > exec /sbin/oinit: error 13
> > exec /sbin/init.bak: error 13
> > exec /rescue/inet: error 13
> > exec /stand/sysinstall: error 13
> > init: not found in path
> > ...
> > 
> > At first glance, it would appear that /dev is missing.
> Actually, at first glance it would appear that the mount doesn't allow
> execution.

Interesting.  (BTW, this is running on a GENERIC kernel, no firewall.)

I did a packet capture on the OpenSolaris NFS server, and found that
the kernel load and initial boot takes place over NFSv2.  When the
FreeBSD box tries to remount root, it sends a NFSv3 FSINFO request.
The server returns NFS3ERR_STALE.  It appears that that error is
generated when the permissions to the mount are revoked... but we just
mounted it seconds before?

It turns out that there's a whole discussion thread on nfsv2 and v3
interoperability with diskless systems.  See
for a sample message.

Short answer: it seems that there are interoperability annoyances with
diskless systems and assorted NFS servers.  NFS mount options in
/etc/fstab seem to be ignored, but you can set them in


made FreeBSD try a NFSv2 remout, and the system came up.

Thanks for pointing out it seems to be a permissions error, I wouldn't
have headed down this route without that.


Michael W. Lucas
Latest book:  Cisco Routers for the Desperate, 2nd Edition

Want to link to this message? Use this URL: <>