Hello everyone, I am slowly running out of space in my zpool.. so I wanted to 
replace my zpool with a different zpool..

my current zpool is
> zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
mypool                  278G    263G   14.7G    94%  ONLINE     -

> zpool status mypool
   pool: mypool
  state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
         continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scrub: resilver in progress, 11.37% done, 10h0m to go
config:

         NAME        STATE     READ WRITE CKSUM
         mypool      ONLINE       0     0     0
           mirror    ONLINE       0     0     0
             c1t2d0  ONLINE       0     0     0
             c1t3d0  ONLINE       0     0     0

errors: No known data errors

(yes I know its resilvering one of the disks...)


Anyway that is a simple mirror zpool, I would like to create another pool lets 
say mypool2 with few more disks and use raidz2 instead... What would be my 
options to do this transfer? I cannot attach to this existing pool disks, I don 
tthink thats an option because thats mirror and not raidz2... can I create 
raidz2 and just add it to mypool using zpool add option? and then when its 
added 
is there any way to remove originall mirror out of it? Now the tricky part is I 
have lots of snapshots on that mypool and I would like to keep them... Another 
option that I think I have is just create mypool2 as I want it to be which is 
raidz2 and then use zfs send and receive to move data around and then restroy 
original mirror when I am done replacing it with this one...

What do you think? what would you recommend? with the second option I probably 
would need to take system offline and do it and I dont even if first option 
would even work where I would just add newly created raidz2 to mypool and then 
remove original mirror out of it...

Regards,

Chris



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

Reply via email to