Re: [zfs-discuss] Convert Raid-Z to Mirror

2007-10-04 Thread Brian King
Update to this. Before destroying the original pool the first time, offline the disk you plan on re-using in the new pool. Otherwise when you destroy the original pool for the second time it causes issues with the new pool. In fact, if you attempt to destroy the new pool immediately after destro

Re: [zfs-discuss] Convert Raid-Z to Mirror

2007-09-15 Thread Brian King
Thanks for your idea. That would be useful if we had the extra space. After playing with a test zpool for a bit, I found that this also works, but you have to make the pool unavailable for a while. I'm just posting it in case it helps someone else. - destroy the raidz pool - reuse one of the di

[zfs-discuss] Convert Raid-Z to Mirror

2007-09-14 Thread Brian King
Is there a way to convert a 2 disk raid-z file system to a mirror without backing up the data and restoring? We have this: bash-3.00# zpool status pool: archives state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM archivesONLINE 0