Date: Sun, 18 May 2008 08:39:11 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: JoaoBR <joao@matik.com.br> Cc: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>, freebsd-bugs@freebsd.org, freebsd-stable <freebsd-stable@freebsd.org>, Greg Byshenk <freebsd@byshenk.net> Subject: Re: possible zfs bug? lost all pools Message-ID: <20080518153911.GA22300@eos.sc1.parodius.com> In-Reply-To: <200805181220.33599.joao@matik.com.br> References: <200805180956.18211.joao@matik.com.br> <20080518141138.GD808@core.byshenk.net> <200805181220.33599.joao@matik.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080518153911.GA22300>