(I think Cindy is thinking of something else :-)

Kory Wheatley wrote:
> We have a ZFS mirror setup of two 73GB's disk, but we are running out of 
> space.  I want to break the mirror and join the disk to have a pool of 146GB, 
> and of course not lose the data doing this.  What are the commands?
> To break the mirror I would do
>  
> zpool detach moodle c1t3d0
>  
>        NAME        STATE     READ WRITE CKSUM
>         moodle      ONLINE       0     0     0
>           mirror    ONLINE       0     0     0
>             c1t2d0  ONLINE       0     0     0
>             c1t3d0  ONLINE       0     0     0
> 
> Then could I do 
> zpool add moodle c1t3d0
> 
> without losing the data?

Yes.  This is exactly how to do that.  Later, of course,
you can attach more disks to protect the data with mirrors.
  -- richard
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to