Matt Cohen wrote:
> We have a system with two drives in it, part UFS, part ZFS.  It's a software 
> mirrored system with slices 0,1,3 setup as small UFS slices, and slice 4 on 
> each drive being the ZFS slice.
> 
> One of the drives is failing and we need to replace it.
> 
> I just want to make sure I have the correct order of things before I do this.
> 
> This is our pool:
>         NAME          STATE     READ WRITE CKSUM
>         mainpool    ONLINE       0     0     0
>           mirror      ONLINE       0     0     0
>             c0t0d0s4  ONLINE       0     0   243
>             c0t1d0s4  ONLINE       0     0     0
> 
> 1)  zpool detach mainpool c0t0d0s4
> 2)  powerdown system, replace faulty drive
> 3)  reboot system, setup slices to match the current setup
> 4)  zpool add mainpool c0t0d0s4
            ^^^
I think you want to use 'zpool attach' here to create a two-way mirror,
right?

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

Reply via email to