Re: lost zfs pool after buildworld

From: Max Laier <max_at_love2party.net>
Date: Tue, 10 Apr 2007 23:00:42 +0200
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

Received on Tue Apr 10 2007 - 19:01:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC