lost zfs pool after buildworld

Max Laier max at love2party.net
Tue Apr 10 21:01:02 UTC 2007

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=/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 
change.  A simple zpool import should get you back up again.

/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070410/38f7d49d/attachment.pgp

More information about the freebsd-current mailing list