Hey Kory,

I think you must mean can you detach one of the 73GB disks from moodle 
and then add it to another pool of 146GB and you want to save the
data from the 73GB disk?

You can't do this and save the data. By using zpool detach, you are
removing any knowledge of ZFS from that disk.

If you want to save the data from moodle, I would add new disks to
this pool, either by replacing the 73GB disks with large disks
or by adding another mirror, like this:

# zpool replace moodle c1t2d0 c2t2d0
# zpool replace moodle c1t3d0 c2t3d0

or:

# zpool add moodle mirror c2t2d0 c2t3d0

Maybe I misunderstand what you are trying to do...

Cindy

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?
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to