> If you're lucky, the device will be marked as not being present, and then 
> you can use the GUID.

> To find out, use the command "zdb -C" to dump out the configuation 
> information.  In the output, look for the offline disk (it should be under 
> a heading "children[3]").  If the "not_present" value is there, then you 
> can use the guid to do the replace.  The guid is the really long number 
> listed after the "id" value (which should also be 3 in your config).

What if not_present isn't there;

            children[1]:
                type: 'disk'
                id: 1
                guid: 9311942279929207354
                path: '/dev/dsk/c6t33d0s0'
                devid: 'id1,s...@n50014ee0010dd179/a'
                phys_path: 
'/p...@0,0/pci8086,3...@7/pci8086,3...@0/pci1028,1...@8/s...@21,0:a'
                whole_disk: 1
                DTL: 584
                create_txg: 40

            children[14]:
                type: 'disk'
                id: 14
                guid: 13886071452172028089
                path: '/dev/dsk/c6t33d0s0'
                devid: 'id1,s...@n50014ee101e8fc90/a'
                phys_path: 
'/p...@0,0/pci8086,3...@7/pci8086,3...@0/pci1028,1...@8/s...@21,0:a'
                whole_disk: 1
                DTL: 449
                create_txg: 64771

Other is failed and other is online on pool, in different raidz2-sets

Yours
Markus Kovero

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

Reply via email to