Re: zfs refuses to load pool on boot, zpool denies import

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Sat, 14 Jul 2007 09:52:19 -0500
In the last episode (Jul 14), Thomas Sparrevohn said:
> On Friday 13 July 2007 23:44:43 Volker wrote:
> > damned... that's it. Thanks a lot. I was wondering about that
> > because I've already seen a system uuid in kenv (only checked
> > smbios.system.uuid) while in single user mode so I did not see the
> > need to manually fire `/etc/rc.d/hostid start'.
> > 
> > This may be taken into the documentation - I guess more will step into
> > this.
> > 
> > Or what about checking the hostid before doing any `zpool create |
> > import' and refuse operation (with a useful hint to the operator) if
> > hostid is 0x0?

That would be useful..

> 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? :)

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Sat Jul 14 2007 - 12:52:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC