That will tell the system to look in a different place, but will not move any existing jails. @dirkme, to move existing jails, you'll need to move the files over--ZFS replication is probably the best way to do that.Hi, have you tried the Configuration section in the Jails tab?
Is it possible to first move the jails from the shell with a mv command and then point the GUI to the new location?That will tell the system to look in a different place, but will not move any existing jails. @dirkme, to move existing jails, you'll need to move the files over--ZFS replication is probably the best way to do that.
I'd expect so, though I haven't tried.Is it possible to first move the jails from the shell with a mv command and then point the GUI to the new location?
That will tell the system to look in a different place, but will not move any existing jails. @dirkme, to move existing jails, you'll need to move the files over--ZFS replication is probably the best way to do that.
That will tell the system to look in a different place, but will not move any existing jails. @dirkme, to move existing jails, you'll need to move the files over--ZFS replication is probably the best way to do that.
Can I move the jails with Midnight Commander?
No. You need to use ZFS send/receive to move jails to a different pool or dataset.
There are several other threads that describe the process.
https://forums.freenas.org/index.ph...to-move-my-plugin-jail-to-another-pool.32906/
No, it's simply the name of the snapshot. It could be anything.what does @relocate do, is this a zfs option?
No, it's simply the name of the snapshot. It could be anything.
No; I expect that was intended to be a formatting marker that didn't do what was expected.Does the [PANEL] to be there too?
Correct.So, it creates a snapshot from my jail which will be called " pluginjail@relocate " and then zfs copies it to the destination,
I guess so--I think that's what that last line is intended to do, but I couldn't say if it's correct.while the other part changes the system config to announce the new destination for the jail dataset, right?
root@voyager:~ # zfs snapshot -r /mnt/trust2/pluginjail usage: snapshot|snap [-r] [-o property=value] ... <filesystem|volume>@<snap> ... For the property list, run: zfs set|get For the delegated permission list, run: zfs allow|unallow
zfs snapshot -r trust2/pluginjail@relocate zfs send -R trust2/pluginjail@relocate | zfs receive -v trust/pluginjail
Two things there. First, of course, trust2 was the pool name used in that example, which probably isn't the same as yours. Second, there is an error in those commands, as they operate on the dataset name, not the filesystem path. The first two should read like this:
Code:zfs snapshot -r trust2/pluginjail@relocate zfs send -R trust2/pluginjail@relocate | zfs receive -v trust/pluginjail