Update readme
This commit is contained in:
parent
1b27753718
commit
5ab0a59db4
16
README.md
16
README.md
@ -143,7 +143,7 @@ gocage datastore list
|
|||||||
+------------+-------------+------------+-----------+----------+------------+
|
+------------+-------------+------------+-----------+----------+------------+
|
||||||
</pre></code>
|
</pre></code>
|
||||||
|
|
||||||
#### Filter datastores
|
### Filter datastores
|
||||||
As with jails and snapshots, you can filter by name:
|
As with jails and snapshots, you can filter by name:
|
||||||
<pre><code>
|
<pre><code>
|
||||||
gocage datastore list iocage
|
gocage datastore list iocage
|
||||||
@ -154,7 +154,7 @@ gocage datastore list iocage
|
|||||||
+------------+-------------+------------+-----------+----------+------------+
|
+------------+-------------+------------+-----------+----------+------------+
|
||||||
</pre></code>
|
</pre></code>
|
||||||
|
|
||||||
#### Sort datastores
|
### Sort datastores
|
||||||
You can sort datastores:
|
You can sort datastores:
|
||||||
<pre><code>
|
<pre><code>
|
||||||
gocage datastore list -s -Available
|
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.
|
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.
|
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.
|
||||||
|
|
||||||
<pre><code>
|
<pre><code>
|
||||||
gocage migrate -d fastiocage srv-random
|
gocage migrate -d fastiocage srv-random
|
||||||
Snapshot data/iocage/jails/srv-random: Done
|
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 config dataset to fastdata/iocage/jails/srv-random: Done
|
||||||
Migrate jail filesystem dataset to fastdata/iocage/jails/srv-random/root: Done
|
Migrate jail filesystem dataset to fastdata/iocage/jails/srv-random/root: Done
|
||||||
</pre></code>
|
</pre></code>
|
||||||
|
|
||||||
|
### 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.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user