From owner-freebsd-bugs@FreeBSD.ORG Sun May 18 15:56:08 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D49F1065670 for ; Sun, 18 May 2008 15:56:08 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C7888FC15 for ; Sun, 18 May 2008 15:56:08 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 774A31CC033; Sun, 18 May 2008 08:39:11 -0700 (PDT) Date: Sun, 18 May 2008 08:39:11 -0700 From: Jeremy Chadwick To: JoaoBR Message-ID: <20080518153911.GA22300@eos.sc1.parodius.com> References: <200805180956.18211.joao@matik.com.br> <20080518141138.GD808@core.byshenk.net> <200805181220.33599.joao@matik.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805181220.33599.joao@matik.com.br> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Torfinn Ingolfsen , freebsd-bugs@freebsd.org, freebsd-stable , Greg Byshenk Subject: Re: possible zfs bug? lost all pools X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 15:56:08 -0000 On Sun, May 18, 2008 at 12:20:33PM -0300, JoaoBR wrote: > On Sunday 18 May 2008 11:11:38 Greg Byshenk wrote: > > On Sun, May 18, 2008 at 09:56:17AM -0300, JoaoBR wrote: > > > after trying to mount my zfs pools in single user mode I got the > > > following message for each: > > > > > > May 18 09:09:36 gw kernel: ZFS: WARNING: pool 'cache1' could not be > > > loaded as it was last accessed by another system (host: > > > gw.bb1.matik.com.br hostid: 0xbefb4a0f). See: > > > http://www.sun.com/msg/ZFS-8000-EY > > > > > > any zpool cmd returned nothing else as not existing zfs, seems the zfs > > > info on disks was gone > > > > > > to double-check I recreated them, rebooted in single user mode and > > > repeated the story, same thing, trying to /etc/rc.d/zfs start returnes > > > the above msg and pools are gone ... > > > > > > I guess this is kind of wrong > > > > I think that the problem is related to the absence of a hostid when in > > single-user. Try running '/etc/rc.d/hostid start' before mouning. > > well, obviously that came to my mind after seeing the msg ... > > anyway the pools should not vanish don't you agree? > > and if necessary /etc/rc.d/zfs should start hostid or at least set REQUIRE > different and warn I've been in the same boat you are, and I was told the same thing. I've documented the situation on my Wiki, and the necessary workarounds. http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues This sort of thing needs to get hammered out before ZFS can be considered "usable" from a system administration perspective. Expecting people to remember to run an rc.d startup script before they can use any of their filesystems borders on unrealistic. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |