Jake Scott
2009-Oct-17 19:59 UTC
[zfs-discuss] OLD pool information visible in "zpool import"
On what is now a live system, I had previously been tinkering with ZFS, creating and destroying pools and datasets. Those old pools still seem to be visible to the system even though I''ve re-created new pools with new names : zpool status pool: BackupP0 state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM BackupP0 ONLINE 0 0 0 raidz2 ONLINE 0 0 0 c7t6d0 ONLINE 0 0 0 c7t7d0 ONLINE 0 0 0 c7t8d0 ONLINE 0 0 0 c7t9d0 ONLINE 0 0 0 c7t10d0 ONLINE 0 0 0 errors: No known data errors pool: FileserverP0 state: ONLINE scrub: resilver completed after 1h32m with 0 errors on Sat Oct 17 19:28:30 2009 config: NAME STATE READ WRITE CKSUM FileserverP0 ONLINE 0 0 0 raidz1 ONLINE 0 0 0 c7t1d0 ONLINE 0 0 0 c7t2d0 ONLINE 0 0 0 96.6G resilvered c7t3d0 ONLINE 0 0 0 c7t4d0 ONLINE 0 0 0 c7t5d0 ONLINE 0 0 0 ... all OK. But : sudo zpool import pool: jakepool id: 14464522389710891962 state: FAULTED status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. The pool may be active on another system, but can be imported using the ''-f'' flag. see: http://www.sun.com/msg/ZFS-8000-EY config: jakepool FAULTED corrupted data raidz1 DEGRADED /dev/da1 UNAVAIL cannot open c7t3d0s7 ONLINE c7t4d0s7 ONLINE c7t5d0s7 ONLINE c7t9d0s7 ONLINE pool: main id: 3584812027838379353 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://www.sun.com/msg/ZFS-8000-3C config: main UNAVAIL insufficient replicas raidz2 UNAVAIL insufficient replicas /dev/sdc UNAVAIL cannot open /dev/sdd UNAVAIL cannot open /dev/sde UNAVAIL cannot open c7t10d0s7 ONLINE /dev/sdg UNAVAIL cannot open I have to admin that the config here is a *little* strange: The OpenSolaris (2009.06) installation is a Xen VM hosted on CentOS. The reason for this is the current lack of SATA Port-Multiplier support on OpenSolaris. Those old pools were created on a previous FreeBSD VM, which was there before OpenSolaris. Any ideas how I can get rid of this old info? Thanks Jake