So I want to move my jails from my main volume (Vol1) to a mirrored pair of 240GB SSDs (Jails). I know some other people on here have done it but I am unable to find the threads on how to do it. So what do I need to do to move the data safely?
That's what replication does. It replicates the snapshots of a dataset to a second location.I understand a snapshot does not use any data, but how do you then tell the system to duplicate the data on the other volume?
Use localhost or 127.0.0.1 as the hostame to replicate locally.If I add a replication task it wants to know the remote host name, and I am currently only using one FreeNAS system.
You should add the pv command so you can see the progress. Thanks For the quick and dirty Guide!!!So I found these steps and everything seems to have worked.
- Turn off all plugins (Plugins->Installed)
- Stop all jails (Jails->View Jails)
- Run these commands via CLI:
zfs snapshot -r main_pool/jails@relocate
zfs send -R main_pool/jails@relocate | zfs receive -v ssd_pool/jails
- Change the Jail Root to /mnt/ssd_pool/jails (Jails->Configuration)
- Start jails/plugins
- Check that everything works and destroy the original jails dataset (main_pool/jails)
zfs send -R main_pool/jails@relocate | pv | zfs receive -v SSD_Pool/jails
I'm looking for a similar answer myself! :) I want to move my jails to an SSD, primarily to improve the speed with which Plex metadata loads and to cut down on how frequently my HDD's get accessed. Has anyone been able to get this working for iocage jails in FreeNAS 11.2?Could you use these same steps with iocage & jails ?