zfs and 9.1 upgrade

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Fri Mar 1 22:33:59 UTC 2013


Em Sex, 2013-03-01 às 17:40 +0000, Graeme Dargie escreveu:

> Hi All
> 
> Upgraded 3 machines today from 9.0 to 9.1 all three run ZFS as a storage but not as a boot file system. One machine out of the three ended up with a very sick looking ZFS pool, not a big deal as this machine is a backup mirror for another system. So I did a zpool destroy tank  then zpool create tank raidz ada1 ada2 ada3 ada4
> 
> ZFS tells me that ada1 might be part of an active pool and use -f to override this.
> 
> zpool create -f tank raidz ada1 ada2 ada3 ada4
> cannot create 'tank': no such pool or dataset
> 
> Any clues anyone?

make sure the operating system really upgraded without errors from 9.0
to 9.1
sometimes the kernel modules are not in sync with the zfs modules on the
filesystem.

ZAP the data on ada1 (will  erase all data on ada1!!!!)

dd bs=64k if=/dev/zero of=/dev/ada1 count=10000

restart the machine, should work


Sergio


More information about the freebsd-questions mailing list