Zon
Cadet
- Joined
- Aug 2, 2014
- Messages
- 8
I am migrating from one primary ZFS volume to another on my single FreeNAS server. There's a long story on why involving migrating from pilot storage pool to production storage pool with different HDD configuration. There will be an overlap period where both volumes will exist on the same server, but eventually the current primary ZFS volume (where the system dataset and jails reside) will go away and the new primary volume will take over these duties.
I can get the data copied between these volumes easily enough. My concern is the system dataset and the jails (two). I know the web GUI has no ability to copy these items to a new volume (right?), and mucking around with the config behind the GUI using the command line is not recommended. However this is a one time operation to save me a lot of repeated configuration steps on the new volume.
Can I get away with:
I can get the data copied between these volumes easily enough. My concern is the system dataset and the jails (two). I know the web GUI has no ability to copy these items to a new volume (right?), and mucking around with the config behind the GUI using the command line is not recommended. However this is a one time operation to save me a lot of repeated configuration steps on the new volume.
Can I get away with:
- Stop the jails.
- Copy the .system dataset on the old volume to the new volume.
- Copy the jail directory on the old volume to the new volume.
- Change the System dataset pool in the web GUI from the old volume to the new volume.
- Change the Jail Root in the web GUI from the old volume to the new volume.
- Restart, and enjoy the bliss of jails and system dataset pool picking up where they left off on the new volume!
- Delete old volume and all works perfectly!