Chris Tobey
Contributor
- Joined
- Feb 11, 2014
- Messages
- 114
Hi everyone,
I would like some help with suggestions and possibly commands to use to accomplish a migration.
I currently have a server with 12 SAS bays. My ZFS is configured with 12 disks as single zpool with two 6-drive RAID-Z2 vdevs (6 x 8 TB and 6 x 3 TB). I have purchased six new 16 TB drives that I would like to create a new pool on, copy everything over, and then wipe the old disks for other uses, leaving me with a single zpool with one 6-drive RAID-Z2 vdev, and 6 spare bays.
So my problem is that I only have 12 bays, and they are all used. Other info:
I would like some help with suggestions and possibly commands to use to accomplish a migration.
I currently have a server with 12 SAS bays. My ZFS is configured with 12 disks as single zpool with two 6-drive RAID-Z2 vdevs (6 x 8 TB and 6 x 3 TB). I have purchased six new 16 TB drives that I would like to create a new pool on, copy everything over, and then wipe the old disks for other uses, leaving me with a single zpool with one 6-drive RAID-Z2 vdev, and 6 spare bays.
So my problem is that I only have 12 bays, and they are all used. Other info:
- To further complicate things, the zpool is also hardware encrypted (created in FreeNAS 11.x if that makes a difference).
- Running TrueNAS 12.0.
- Current usage sitting at 94% (~34.5 TiB).
- All data is backed up offsite, so data loss would not be catastrophic, but would like to be avoided.
- Pull two drives from each 6-drive vdev, I'll still have a fully functional pool, but with zero redundancy.
- Create two fake drives on the OS.
- Commands?
- Then I put in four of my new 16 TB drives.
- Create my new pool with four real drives and two fake drives in RAID-Z2 (with encryption).
- Commands?
- Replicate old pool to new pool (scary part).
- Is there a way to make this safer? Mounting the old zpool read only so if a drive does die, I can simply replace it with one of the parity drives and start again?
- Commands?
- Remove the other 8 old drives.
- Add my remaining two new drives.
- Resilver.