diff --git a/README.md b/README.md index aa79f17..01caa45 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ gocage datastore list +------------+-------------+------------+-----------+----------+------------+ -#### Filter datastores +### Filter datastores As with jails and snapshots, you can filter by name:
gocage datastore list iocage
@@ -154,7 +154,7 @@ gocage datastore list iocage
+------------+-------------+------------+-----------+----------+------------+
-#### Sort datastores
+### Sort datastores
You can sort datastores:
gocage datastore list -s -Available
@@ -175,6 +175,11 @@ With multi datastore comes the need to migrate a jail between datastores.
Migration can be done with a minimal downtime, using zfs differential send/receive.
Source jail datasets are sent to the destination datastore, jail is stopped and a last differential sync is done before starting jail on new datastore.
+### Warning
+Be aware the moment you migrate a jail to another datastore than /iocage default, you lose compatibility with iocage.
+Then you need to disable iocage service, and enable gocage so the jails will start automatically at boot.
+Also make sure, if you don't destroy source jail, that it won't have the "boot" property set or you will have the 2 jails up at boot.
+
gocage migrate -d fastiocage srv-random
Snapshot data/iocage/jails/srv-random: Done
@@ -182,3 +187,10 @@ Snapshot data/iocage/jails/srv-random/root: Done
Migrate jail config dataset to fastdata/iocage/jails/srv-random: Done
Migrate jail filesystem dataset to fastdata/iocage/jails/srv-random/root: Done
+
+### Warning
+Be aware the moment you migrate a jail to another datastore than /iocage default, you lose compatibility with iocage.
+Then you need to disable iocage service, and enable gocage so the jails will start automatically at boot.
+Also make sure, if you don't destroy source jail, that it won't have the "boot" property set or you will have the 2 jails up at boot.
+
+