>>>>> "t" == Tim <[EMAIL PROTECTED]> writes:
t> PSARC 2007/567 zpool failmode property I think this is in s10u6, so it's been in stable solaris for twenty-one days. It's not in the release I tested, so it's worth trying again on a newer release. I tried on snv_83a, and instead of getting a panic when I export the pool, I get a panic when I try to import it: -----8<----- bash-3.2# mkfile 64m t0 bash-3.2# mkfile 64m t1 bash-3.2# mkfile 64m t2 bash-3.2# mkfile 64m t00 bash-3.2# pwd /export/v bash-3.2# zpool create foolpool raidz /export/v/t{0..2} bash-3.2# zpool add foolpool /export/v/t00 invalid vdev specification use '-f' to override the following errors: mismatched replication level: pool uses raidz and new vdev is file bash-3.2# zpool add -f foolpool /export/v/t00 bash-3.2# zpool set failmode=continue foolpool bash-3.2# zfs set copies=2 foolpool bash-3.2# cd / bash-3.2# pax -rwpe sbin foolpool/ bash-3.2# zpool status -v foolpool pool: foolpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM foolpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 /export/v/t0 ONLINE 0 0 0 /export/v/t1 ONLINE 0 0 0 /export/v/t2 ONLINE 0 0 0 /export/v/t00 ONLINE 0 0 0 errors: No known data errors bash-3.2# > /export/v/t00 bash-3.2# zpool status -v foolpool pool: foolpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM foolpool ONLINE 0 0 0 raidz1 ONLINE 0 0 0 /export/v/t0 ONLINE 0 0 0 /export/v/t1 ONLINE 0 0 0 /export/v/t2 ONLINE 0 0 0 /export/v/t00 ONLINE 0 0 0 errors: No known data errors bash-3.2# pax -w foolpool/ > /dev/null bash-3.2# zpool status -v foolpool pool: foolpool state: DEGRADED status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-9P scrub: none requested config: NAME STATE READ WRITE CKSUM foolpool DEGRADED 5 0 22 raidz1 ONLINE 0 0 0 /export/v/t0 ONLINE 0 0 0 /export/v/t1 ONLINE 0 0 0 /export/v/t2 ONLINE 0 0 0 /export/v/t00 DEGRADED 5 0 22 too many errors errors: No known data errors bash-3.2# zpool export foolpool bash-3.2# zpool import -d /export/v pool: foolpool id: 2069059560600538796 state: DEGRADED status: One or more devices contains corrupted data. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://www.sun.com/msg/ZFS-8000-4J config: foolpool DEGRADED raidz1 ONLINE /export/v/t0 ONLINE /export/v/t1 ONLINE /export/v/t2 ONLINE /export/v/t00 UNAVAIL corrupted data bash-3.2# zpool import -d /export/v foolpool panic: assertion failed: vdev_config_sync(rvd->vdev_child, rvd->vdev_children, txg) == 0 (0x5 == 0x0), file: ../../common/fs/zfs/spa.c, line: 4095 -----8<-----
pgpUDTZ7X1pi2.pgp
Description: PGP signature
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss