Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 23:00:42 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-current@freebsd.org
Cc:        Johan Hendriks <Johan@double-l.nl>
Subject:   Re: lost zfs pool after buildworld
Message-ID:  <200704102300.49972.max@love2party.net>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB01115B@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCB01115B@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1199506.2jYyPP8VJh
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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.

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.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart1199506.2jYyPP8VJh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBGG/sBXyyEoT62BG0RAm4FAJ90BcC3yYDoeq20tiwEP7aNzeSgCgCggKXL
S6g+stwiFWMDjBzQTJyb0eI=
=qDLX
-----END PGP SIGNATURE-----

--nextPart1199506.2jYyPP8VJh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704102300.49972.max>