Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2007 17:07:47 +0100
From:      Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>
To:        freebsd-current@freebsd.org
Subject:   Re: zfs refuses to load pool on boot, zpool denies import
Message-ID:  <200707141707.47310.Thomas.Sparrevohn@btinternet.com>
In-Reply-To: <20070714145219.GH44766@dan.emsphone.com>
References:  <4697F753.5060304@vwsoft.com> <200707141107.48714.Thomas.Sparrevohn@btinternet.com> <20070714145219.GH44766@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 14 July 2007 15:52:19 Dan Nelson wrote:
> 
> > I got burned by that one as well - I am vondering if ZFS should check
> > system.uuid as a fall back - It does not seem correct that we have to
> > run specific startup shell scripts in order to get a filesystem to
> > work
> 
> Might work in some cases, but none of my systems have the system.uuid
> kenv.  I'm not even sure how my zfs root volume gets mounted; the
> kernel has to mount it to even find init, so it does blindly mount
> zpools in some cases.  Maybe the kernl mount logic assumes if it can
> only see one zpool, it's got to be the right one? :)
> 

Hmm - I must admit I did not think about that - but it looks like that if 
hostid does not find system.uuid it falls back on uuidgen(1) and uuidgen(2) - 
so it should be possibly to get a sensible value prior to rc.d  



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