On Sun, 18 Apr 2010, Michelle Bhaal wrote:
zpool lists my pool as having 2 disks which have identical names. One is offline, the other is online. How do I tell zpool to replace the offline one?
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).
# zpool replace space <really long number> <new disk> _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss