[zfs-discuss] Break a ZFS mirror and concatenate the disks

2008-01-10 Thread Kory Wheatley
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

Re: [zfs-discuss] Break a ZFS mirror and concatenate the disks

2008-01-10 Thread Cindy . Swearingen
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

Re: [zfs-discuss] Break a ZFS mirror and concatenate the disks

2008-01-10 Thread Richard Elling
(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

Re: [zfs-discuss] Break a ZFS mirror and concatenate the disks

2008-01-10 Thread Cindy . Swearingen
Hi Kory, Yes, I get it now. You want to detach one of the disks and then readd the same disk, but lose the redundancy of the mirror. Just as long as you realize you're losing the redundancy. I'm wondering if zpool add will complain. I don't have a system to try this at the moment. Cindy Kory

Re: [zfs-discuss] Break a ZFS mirror and concatenate the disks

2008-01-10 Thread Jim Dunham
Kory, Yes, I get it now. You want to detach one of the disks and then readd the same disk, but lose the redundancy of the mirror. Just as long as you realize you're losing the redundancy. I'm wondering if zpool add will complain. I don't have a system to try this at the moment. The