Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2013 14:56:10 -0400
From:      Jay Borkenhagen <jayb@braeburn.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        fs@FreeBSD.org, Niclas Zeising <zeising@FreeBSD.org>
Subject:   Re: mounting failed with error 2
Message-ID:  <20829.52426.421138.520723@oz.mt.att.com>
In-Reply-To: <515DAE70.6090502@FreeBSD.org>
References:  <20825.59038.104304.161698@oz.mt.att.com> <5159F0C9.9000302@FreeBSD.org> <20825.62329.379765.344231@oz.mt.att.com> <515DA43D.7070805@FreeBSD.org> <20829.44475.910011.453770@oz.mt.att.com> <515DAE70.6090502@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon writes:
 > >  > Failing that, you can set vfs.zfs.debug=1 at loader prompt before
 > >  > booting.  That could shed some light on what is going wrong.  The
 > >  > most likely possibility is that /boot/zfs/zpool.cache in the
 > >  > boot/root filesystem of the boot/root pool does not have an entry
 > >  > for the root pool.
 > > 
 > > I just tried 'set vfs.zfs.debug=1' then 'boot' at the loader prompt,
 > > and it seems I wound up at the exact same place with no further debug
 > 
 > It's not further, it's before that.

I could not see any difference in the output to the console by having
done 'set vfs.zfs.debug=1' -- not before, not after.

 > > diagnostics.  I believe the important part of that error output is
 > > this: 
 > > 
 > > ===============
 > > Trying to mount root from zfs:zroot/ROOT []...
 > > Mounting from zfs:zroot/ROOT failed with error 2.
 > > 
 > > Loader variables:
 > >   vfs.root.mountfrom=zfs:zroot/ROOT
 > > ===============
 > > 



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