How are your disks setup? So you want to move the jails from one vdev to another? Or do you want to move the jails to a completely different pool?
The command zfs send | zfs receive would seem to be the easiest and most obvious to me. Search for details (sorry on my mobile).
You might have to change mount points though in the GUI. Did you manually install the jails through the CLI or were they plugins. And what jails are we talking here?
[root@freenas ~]# zfs snapshot NAS/jails/Emby@emby [root@freenas ~]# zfs send NSA/jails/Emby@Emby | zfs recv Jails/Emby [root@freenas ~]# zfs snapshot NAS/jails/Teamspeak@ts [root@freenas ~]# zfs send NAS/jails/Teamspeak@ts | zfs recv Jails/Teamspeak [root@freenas ~]# zfs list NAME USED AVAIL REFER MOUNTPOINT Jails 3.25G 220G 19K /mnt/Jails Jails/Emby 2.15G 220G 2.15G /mnt/Jails/Emby Jails/Teamspeak 1.10G 220G 1.10G /mnt/Jails/Teamspeak NAS 978G 370G 973G /mnt/NAS NAS/.system 15.2M 370G 128K legacy NAS/.system/configs-aaf6f5054c9543438f7fc5cea38127c7 1.91M 370G 1.91M legacy NAS/.system/cores 848K 370G 848K legacy NAS/.system/rrd-aaf6f5054c9543438f7fc5cea38127c7 10.3M 370G 10.3M legacy NAS/.system/samba4 380K 370G 380K legacy NAS/.system/syslog-aaf6f5054c9543438f7fc5cea38127c7 1.70M 370G 1.70M legacy NAS/jails 4.94G 370G 128K /mnt/NAS/jails NAS/jails/.warden-template-standard 1.60G 370G 1.60G /mnt/NAS/jails/.warden-template-standard NAS/jails/Emby 2.30G 370G 3.11G /mnt/NAS/jails/Emby NAS/jails/Teamspeak 1.04G 370G 1.85G /mnt/NAS/jails/Teamspeak freenas-boot 4.84G 2.37G 31K none freenas-boot/.system 247M 2.37G 37K legacy freenas-boot/.system/configs-aaf6f5054c9543438f7fc5cea38127c7 93.2M 2.37G 93.2M legacy freenas-boot/.system/cores 40.4M 2.37G 40.4M legacy freenas-boot/.system/rrd-aaf6f5054c9543438f7fc5cea38127c7 105M 2.37G 105M legacy freenas-boot/.system/samba4 4.21M 2.37G 4.21M legacy freenas-boot/.system/syslog-aaf6f5054c9543438f7fc5cea38127c7 4.76M 2.37G 4.76M legacy freenas-boot/ROOT 4.16G 2.37G 31K none freenas-boot/ROOT/9.10-STABLE-201606270534 435K 2.37G 1.18G / freenas-boot/ROOT/9.10.1 4.16G 2.37G 1.22G / freenas-boot/grub 427M 2.37G 10.3M legacy
You didn't mean NSA, right?zfs send NSA/jails/Emby@Emby | zfs recv Jails/Emby
I think you should take a recursive snapshot of the entire /NAS/jails dataset and send them all, not just the specific jail datasets.Take a snapshot of the jail dataset you want to move.
You didn't mean NSA, right?
I think you should take a recursive snapshot of the entire /NAS/jails dataset and send them all, not just the specific jail datasets.
NAS/.system 15.3M 370G 128K legacy NAS/.system/configs-aaf6f5054c9543438f7fc5cea38127c7 1.91M 370G 1.91M legacy NAS/.system/cores 848K 370G 848K legacy NAS/.system/rrd-aaf6f5054c9543438f7fc5cea38127c7 10.3M 370G 10.3M legacy NAS/.system/samba4 380K 370G 380K legacy NAS/.system/syslog-aaf6f5054c9543438f7fc5cea38127c7 1.80M 370G 1.80M legacy NAS/jails 4.94G 370G 128K /mnt/NAS/jails NAS/jails/.warden-template-standard 1.60G 370G 1.60G /mnt/NAS/jails/.warden-template-standard NAS/jails/Emby 2.30G 370G 3.11G /mnt/NAS/jails/Emby NAS/jails/Teamspeak 1.04G 370G 1.85G /mnt/NAS/jails/Teamspeak freenas-boot 4.84G 2.37G 31K none freenas-boot/.system 247M 2.37G 37K legacy freenas-boot/.system/configs-aaf6f5054c9543438f7fc5cea38127c7 93.2M 2.37G 93.2M legacy freenas-boot/.system/cores 40.4M 2.37G 40.4M legacy freenas-boot/.system/rrd-aaf6f5054c9543438f7fc5cea38127c7 105M 2.37G 105M legacy freenas-boot/.system/samba4 4.21M 2.37G 4.21M legacy freenas-boot/.system/syslog-aaf6f5054c9543438f7fc5cea38127c7 4.76M 2.37G 4.76M legacy freenas-boot/ROOT 4.16G 2.37G 31K none freenas-boot/ROOT/9.10-STABLE-201606270534 435K 2.37G 1.18G / freenas-boot/ROOT/9.10.1 4.16G 2.37G 1.22G / freenas-boot/grub 427M 2.37G 10.3M legacy [root@freenas ~]# zfs snap -r NAS/jails@jails [root@freenas ~]# zfs send NAS/jails@jails | zfs recv -F Jails [root@freenas ~]# [root@freenas ~]# zfs list NAME USED AVAIL REFER MOUNTPOINT Jails 211K 223G 28K /mnt/Jails NAS 978G 370G 973G /mnt/NAS NAS/.system 15.3M 370G 128K legacy NAS/.system/configs-aaf6f5054c9543438f7fc5cea38127c7 1.91M 370G 1.91M legacy NAS/.system/cores 848K 370G 848K legacy NAS/.system/rrd-aaf6f5054c9543438f7fc5cea38127c7 10.3M 370G 10.3M legacy NAS/.system/samba4 380K 370G 380K legacy NAS/.system/syslog-aaf6f5054c9543438f7fc5cea38127c7 1.80M 370G 1.80M legacy NAS/jails 4.94G 370G 128K /mnt/NAS/jails NAS/jails/.warden-template-standard 1.60G 370G 1.60G /mnt/NAS/jails/.warden-template-standard NAS/jails/Emby 2.30G 370G 3.11G /mnt/NAS/jails/Emby NAS/jails/Teamspeak 1.04G 370G 1.85G /mnt/NAS/jails/Teamspeak freenas-boot 4.84G 2.37G 31K none freenas-boot/.system 247M 2.37G 37K legacy freenas-boot/.system/configs-aaf6f5054c9543438f7fc5cea38127c7 93.2M 2.37G 93.2M legacy freenas-boot/.system/cores 40.4M 2.37G 40.4M legacy freenas-boot/.system/rrd-aaf6f5054c9543438f7fc5cea38127c7 105M 2.37G 105M legacy freenas-boot/.system/samba4 4.21M 2.37G 4.21M legacy freenas-boot/.system/syslog-aaf6f5054c9543438f7fc5cea38127c7 4.76M 2.37G 4.76M legacy freenas-boot/ROOT 4.16G 2.37G 31K none freenas-boot/ROOT/9.10-STABLE-201606270534 435K 2.37G 1.18G / freenas-boot/ROOT/9.10.1 4.16G 2.37G 1.22G / freenas-boot/grub 427M 2.37G 10.3M legacy [root@freenas ~]#
The Jails/Emby and Jails/Teamserver datasets don't exist, which is why they are so small? Did you use the recursive option to send and recv child datasets?Now I can see my Jails again in the WebGui. And the Jails are running. But I couldn't connect to my TS or my Emby.
And If I connect to the pool Jails I see just 80MB. And on the pool NAS it has a few GB.
It's a lot easier to just paste the image directly into the post.Something is wrong here --> http://puu.sh/qNn7d/3a73a027ba.png
The Jails/Emby and Jails/Teamserver datasets don't exist, which is why they are so small? Did you use the recursive option to send and recv child datasets?
It's a lot easier to just paste the image directly into the post.
[root@freenas ~]# zfs send -r NAS/jails@jails | zfs recv -r Jails invalid option 'r' usage: send [-DnPpRvLe] [-[iI] snapshot] <snapshot> send [-Le] [-i snapshot|bookmark] <filesystem|volume|snapshot> send [-nvPe] -t <receive_resume_token> For the property list, run: zfs set|get For the delegated permission list, run: zfs allow|unallow invalid option 'r' usage: receive|recv [-vnsFu] <filesystem|volume|snapshot> receive|recv [-vnsFu] [-o origin=<snapshot>] [-d | -e] <filesystem> receive|recv -A <filesystem|volume> For the property list, run: zfs set|get For the delegated permission list, run: zfs allow|unallow [root@freenas ~]#
zfs snapshot -r NAS/jails@relocate
zfs send -R NAS/jails@relocate | zfs receive -v -f Jails
zfs get -rH -o name -s received mountpoint Jails | xargs -I {} sh -c "zfs set mountpoint=/{} {}; zfs mount {};"
zfs snapshot -r NAS/jails@relocate
zfs send -R NAS/jails@relocate | zfs receive -v -F Jails
zfs get -rH -o name -s received mountpoint Jails | xargs -I {} sh -c "zfs set mountpoint=/{} {}; zfs mount {};"