>> That should work.  If you fix all three disks, it is somewhat faster to
>> attach and replace in one step (attach and replace run in parallel and you 
>> only need to read the zpool once).
>
>By `fix' above, I guess you mean create a solaris (non-efi) slice
>right?

I actually meant to say that if you fit (not fix) all three disks in the
system, then:

        zpool pool attach olddevice newdevice1
        zpool pool replace olddevice newdevice2

will:

        - resilver both new disks (new copies of the zpool)
        - remove olddevice (detach) when the resilvering has been done

>Not sure what you mean here.  We are still talking about:
>
>       zpool pool replace olddevice newdevice 
>
>Right?  So do you mean that `replace' runs `attach' behind the scenes
>and both operations happen in the command above?


That's what the manual page says:

     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.



_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to