zfs and 9.1 upgrade

2013-03-01 Thread Graeme Dargie
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?

Regards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: zfs and 9.1 upgrade

2013-03-01 Thread Sergio de Almeida Lenzi
Em Sex, 2013-03-01 às 17:40 +, 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=1

restart the machine, should work


Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"