On Mon, 29 Mar 2010, Jim wrote:

Thanks for the suggestion, but have tried detaching but it refuses reporting no valid replicas. Capture below.

Could you run 'zdb -ddd tank | | awk '/^Dirty/ {output=1} /^Dataset/ {output=0} 
{if (output) {print}}'

This will print the dirty time log of the pool. It may take some time to run, because there's no current way to print the dtl without printing all the metaslab info.


C3P0# zpool status
 pool: tank
state: DEGRADED
scrub: none requested
config:

       NAME                       STATE     READ WRITE CKSUM
       tank                       DEGRADED     0     0     0
         raidz1                   DEGRADED     0     0     0
           ad4                    ONLINE       0     0     0
           ad6                    ONLINE       0     0     0
           replacing              UNAVAIL      0 9.77K     0  insufficient 
replicas
             1796873336336467178  UNAVAIL      0 11.6K     0  was /dev/ad7/old
             4407623704004485413  FAULTED      0 10.4K     0  was /dev/ad7

errors: No known data errors
C3P0# zpool detach tank 1796873336336467178
cannot detach 1796873336336467178: no valid replicas
C3P0# zpool detach tank 4407623704004485413
cannot detach 4407623704004485413: no valid replicas
--
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss



Regards,
markm
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to