I posted this question to ServerFault and was met with deafening silence. If this is something that is regularly asked and I just haven't been able to find the answer then I apologise but oh boy have I looked!. The question in its entirety is:
How do I copy a zpool to a temp drive while ensuring it is a complete enough copy to push back onto a new zpool. Also how do I push it back if it's not simply the reverse of the original copy.
I set up a new server a few months ago and set it as RAIDZ1. I'm re-thinking that decision and would like to grab an extra drive and move to RAIDZ2. Before everyone replies that this isn't possible with ZFS I'd like to point out that I know it's not directly possible. I've been searching docs for days but there doesn't seem to be a set of instructions for how to do this manually. I believe I'll need to:
I'm running FreeNAS 9.3 and have 3x3TB HDD in a single raidz pool. I would like to end up with 4x3TB in raidz2. The current pool is using 1.3TB of space and I have an external 2TB drive for temp storage. It's not mission critical if data is lost.
How do I copy a zpool to a temp drive while ensuring it is a complete enough copy to push back onto a new zpool. Also how do I push it back if it's not simply the reverse of the original copy.
I set up a new server a few months ago and set it as RAIDZ1. I'm re-thinking that decision and would like to grab an extra drive and move to RAIDZ2. Before everyone replies that this isn't possible with ZFS I'd like to point out that I know it's not directly possible. I've been searching docs for days but there doesn't seem to be a set of instructions for how to do this manually. I believe I'll need to:
- Move the entire pool onto a drive big enough to hold the used space
- tear down the existing pool.
- build a new pool using the extra drive in raidz2
- Move the data back into the pool.
I'm running FreeNAS 9.3 and have 3x3TB HDD in a single raidz pool. I would like to end up with 4x3TB in raidz2. The current pool is using 1.3TB of space and I have an external 2TB drive for temp storage. It's not mission critical if data is lost.