surfrock66
Dabbler
- Joined
- Apr 2, 2013
- Messages
- 36
I have a FreeNAS box that HAD 4TB of storage, 2 2TB drives, in a ZFS pool using ZFS I think 18 (or 15, the old one that came with FreeNAS 8.0). I just upgraded to FreeNAS 8.3.1 and migrated my ZFS pool to v28 successfully, I'm very happy.
I just got 2 new 3TB drives, and want to configure this as a Mirrored setup with 5TB of mirrored storage. I do not have anywhere close to enough space to throw this stuff elsewhere to backup in case of catastrophe, so I'm trying to do this live. I need to sanity check what I'm trying to do before I do it. I've read the documentation thoroughly but will never discount the fact that I don't know where I'm being an idiot.
I've read this: http://docs.oracle.com/cd/E19082-01/817-2271/gazgw/
And this: http://doc.freenas.org/index.php/Volumes
My plan, and what I'm asking is, is this the correct command set and order to run?
Add the 2 new 3TB drives as a fresh new mirrored pool (call it sr66-nas1), then move 3TB of the data to that, then the remainder should be enough to stash on another computer, blow away the original pool (sr66-nas) and add those 2 2TB drives to extend the sr66-nas1 mirrored pool, then add it back. These are the commands I think will do that:
Existing drives: ada2 (2TB), ada3 (2TB), ada0 (3TB), ada1 (3TB)
So...Am I nuts? Please advise.
I just got 2 new 3TB drives, and want to configure this as a Mirrored setup with 5TB of mirrored storage. I do not have anywhere close to enough space to throw this stuff elsewhere to backup in case of catastrophe, so I'm trying to do this live. I need to sanity check what I'm trying to do before I do it. I've read the documentation thoroughly but will never discount the fact that I don't know where I'm being an idiot.
I've read this: http://docs.oracle.com/cd/E19082-01/817-2271/gazgw/
And this: http://doc.freenas.org/index.php/Volumes
My plan, and what I'm asking is, is this the correct command set and order to run?
Add the 2 new 3TB drives as a fresh new mirrored pool (call it sr66-nas1), then move 3TB of the data to that, then the remainder should be enough to stash on another computer, blow away the original pool (sr66-nas) and add those 2 2TB drives to extend the sr66-nas1 mirrored pool, then add it back. These are the commands I think will do that:
Existing drives: ada2 (2TB), ada3 (2TB), ada0 (3TB), ada1 (3TB)
- zpool create sr66-nas1 mirror ada0 ada1
- Share the new pool in NFS Shares, mount it, and copy 3TB of data to it from the old share, copy remaining data off the old share onto other computers.
- zpool destroy sr66-nas
- zpool add sr66-nas1 ada2
- zpool attach sr66-nas1 ada2 ada3
So...Am I nuts? Please advise.