Umm, why do you need to do it the complicated way ? Here it is from zpool man 
page-

     zpool replace [-f] pool old_device [new_device]

         Replaces old_device with new_device. This is  equivalent
         to attaching new_device, waiting for it to resilver, and
         then detaching old_device.

         The size of new_device must be greater than or equal  to
         the minimum size of all the devices in a mirror or raidz
         configuration.

         new_device is required if the pool is not redundant.  If
         new_device  is not specified, it defaults to old_device.
         This form of replacement is  useful  after  an  existing
         disk  has  failed  and has been physically replaced.  In
         this case, the new disk may have the same /dev/dsk  path
         as  the  old  device,  even though it is actually a dif-
         ferent disk. ZFS recognizes this.



You just need to hot-swap the failed disk (say c0d0) and utter "zpool replace 
c0d0" and go have a coffee or something.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to