Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2008 15:24:18 +0200
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: "ad0: TIMEOUT - WRITE_DMA" type errors with 7.0-RC1 
Message-ID:  <E1JJ7Ug-00004s-CH@cs1.cs.huji.ac.il>
In-Reply-To: <fng55e$pk7$2@ger.gmane.org> 
References:  <479A0731.6020405@skyrush.com> <20080125162940.GA38494@eos.sc1.parodius.com> <479A3764.6050800@skyrush.com> <3803988D-8D18-4E89-92EA-19BF62FD2395@mac.com> <479A4CB0.5080206@skyrush.com> <20080126003845.GA52183@eos.sc1.parodius.com> <20080126010054.GA52891@eos.sc1.parodius.com> <20080126010653.GA53255@eos.sc1.parodius.com> <479A8A24.5050409@skyrush.com> <20080126012557.GB53400@eos.sc1.parodius.com> <479B1172.4050706@restart.be> <fng55e$pk7$2@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Henri Hennebert wrote:
> > Jeremy Chadwick wrote:
> >> On Fri, Jan 25, 2008 at 06:17:24PM -0700, Joe Peterson wrote:
> >>> Glad you got it back!  Yes, when I was first playing with ZFS, I noti=
> ced
> >>> that booting between single and multi user mode could make the pools
> >>> "invisible".  Import seemed to bring them back...
> >>
> >> I did go into single-user mode and attempt to do ZFS-related commands,=
> 
> >> which might explain the "no datasets available" once I was back in
> >> multiuser!  I would classify that as a bug, and one which is going to
> >> cause all sorts of hair-pulling for administrators in the future.  I
> >> wonder what it's caused by.
> >=20
> > In single user / is read only and so /boot/zfs/zpool.cache can't be=20
> > created/updated
> 
> But it's still readable. The issue is that hostid isn't set (by=20
> /etc/rc.d/hostid).

if the root is read only, as the case of diskless/dataless boot, it's
the fact that /boot/zfs/zpool.cache cannot be used which causes
the problem, so adding zpool import -a solves the issue.

danny





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