RoboKaren
Contributor
- Joined
- Apr 8, 2014
- Messages
- 130
Dear Esteemed Brilliant Colleagues -
So when I started up with FreeNAS, I created a modest 5+1 zraid zfs pool with a couple of sub-datasets. Now that I see what can be done with FreeNAS, I want to expand the system and switch the main zfs pool to zraid2.
I do have enough spare SATA ports to create a new 4+2 zraid2 pool in parallel with the original 5+1. But While I know how to do a swap in place to transfer the data from the old to the new (well there's rsync -a /mnt/old/* /mnt/new/), I'm not sure how to convince FreeNas to use /mnt/new when booting.
Once I do the transfer, how do I change the name of /mnt/newname so that it's /mnt/oldname so that all of my shares don't have to be changed? Is it as simple as zfs rename?
So....
Step 1: rsync -a /mnt/old/* /mnt/new
Step 2: reboot into single-user (after disconnecting /mnt/old)
Step 3: zfs rename new old
Step 4: reboot into multi-user
Is it that simple or am I destined to massive failure?
Karen
So when I started up with FreeNAS, I created a modest 5+1 zraid zfs pool with a couple of sub-datasets. Now that I see what can be done with FreeNAS, I want to expand the system and switch the main zfs pool to zraid2.
I do have enough spare SATA ports to create a new 4+2 zraid2 pool in parallel with the original 5+1. But While I know how to do a swap in place to transfer the data from the old to the new (well there's rsync -a /mnt/old/* /mnt/new/), I'm not sure how to convince FreeNas to use /mnt/new when booting.
Once I do the transfer, how do I change the name of /mnt/newname so that it's /mnt/oldname so that all of my shares don't have to be changed? Is it as simple as zfs rename?
So....
Step 1: rsync -a /mnt/old/* /mnt/new
Step 2: reboot into single-user (after disconnecting /mnt/old)
Step 3: zfs rename new old
Step 4: reboot into multi-user
Is it that simple or am I destined to massive failure?
Karen