On Tue, 10 Aug 2010, seth keith wrote:

# zpool status
 pool: brick
state: UNAVAIL
status: One or more devices could not be used because the label is missing
       or invalid.  There are insufficient replicas for the pool to continue
       functioning.
action: Destroy and re-create the pool from a backup source.
  see: http://www.sun.com/msg/ZFS-8000-5E
scrub: none requested
config:

       NAME           STATE     READ WRITE CKSUM
       brick          UNAVAIL      0     0     0  insufficient replicas
         raidz1       UNAVAIL      0     0     0  insufficient replicas
           c13d0      ONLINE       0     0     0
           c4d0       ONLINE       0     0     0
           c7d0       ONLINE       0     0     0
           c4d1       ONLINE       0     0     0
           replacing  UNAVAIL      0     0     0  insufficient replicas
             c15t0d0  UNAVAIL      0     0     0  cannot open
             c11t0d0  UNAVAIL      0     0     0  cannot open
           c12d0      FAULTED      0     0     0  corrupted data
           c6d0       ONLINE       0     0     0

What I want is to remove c15t0d0 and c11t0d0 and replace with the original 
c6d1. Suggestions?

Do the labels still exist on c6d1? e.g. what do you get from "zdb -l /dev/rdsk/c6d1s0"?

If the label still exists, and the pool guid is the same as the labels on the other disks, you could try doing a "zpool detach brick c15t0d0" (or c11t0d0), then export & try re-importing. ZFS may find c6d1 at that point. There's no way to guarantee that'll work.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to