Date: Wed, 11 Apr 2007 00:18:06 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Max Laier <max@love2party.net> Cc: freebsd-current@freebsd.org, Johan Hendriks <Johan@double-l.nl> Subject: Re: lost zfs pool after buildworld Message-ID: <20070410221806.GH90135@garage.freebsd.pl> In-Reply-To: <200704102300.49972.max@love2party.net> References: <57200BF94E69E54880C9BB1AF714BBCB01115B@w2003s01.double-l.local> <200704102300.49972.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--4LFBTxd4L5NLO6ly Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 10, 2007 at 11:00:42PM +0200, Max Laier wrote: > On Tuesday 10 April 2007 22:54, Johan Hendriks wrote: > > I had created a zfs pool of two disks (da1 and da2). > > > > # zpool create tank mirror /dev/da1 /dev/da2 > > then created the dir > > # zfs create tank/samba > > and the mount point > > #zfs set mountpoint=3D/usr/local/samba tank/samba > > > > it all worked well. > > this was after zfs was put to head the same hours after. > > Now i have cvsupped the system did a buildworld and my pool is gone. > > zpool list says no pool defined. > > > > I did the installworld from a remote location so zfs was active during > > installworld, and zfs module loaded. > > > > Must i unload zfs next time? > > I have recreated the pool now ( no important data) but is this normal > > or is it bad luck. > > > > And is there a way to let zpool see the metadata (if any) on the disk. >=20 > You probably didn't catch the etc/zfs/zpool.cache -> boot/zfs/zpool.cache= =20 > change. A simple zpool import should get you back up again. There were actually two changes that could "break" it - mentioned zpool.cache move and hostid stuff. One can recover from both by doing: # zpool import -f <pool> --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --4LFBTxd4L5NLO6ly Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGHA0eForvXbEpPzQRAvpoAJ9xopNT83GBf/BTMEr0Ba8y5et62QCgj/07 ZnfcSj/7oYswsEUSAQk63wU= =sIWJ -----END PGP SIGNATURE----- --4LFBTxd4L5NLO6ly--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070410221806.GH90135>