The jail that I want to recover is "mycloud", and is not showing from jls command. What is the command on how to restore the "mycloud" jail into the jls? Thanks!
root@freenas:~ # jls
JID IP Address Hostname Path
1 customplugin_1 /mnt/ssd/jails_pool_new/customplugin_1
2 customplugin_2 /mnt/ssd/jails_pool_new/customplugin_2
3 customplugin_3 /mnt/ssd/jails_pool_new/customplugin_3
6 nextcloud /mnt/iocage/jails/nextcloud/root
root@freenas:~ # cd /mnt/iocage/jails/
root@freenas:/mnt/iocage/jails # ls
mycloud nextcloud
root@freenas:~ # iocage list
+-----+-----------+-------+--------------+---------------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+===========+=======+==============+===============+
| - | mycloud | down | 11.1-RELEASE | 192.168.1.210 |
+-----+-----------+-------+--------------+---------------+
| 6 | nextcloud | up | 11.1-RELEASE | 192.168.1.0 |
+-----+-----------+-------+--------------+---------------+
root@freenas:~ #
root@freenas:~ # iocage restart mycloud
mycloud is not running!
* Starting mycloud
+ Start FAILED
mount_nullfs: /mnt/iocage/jails/mycloud/root/mnt/files: Resource deadlock avoided
jail: /sbin/mount -t nullfs -o rw /mnt/tank/files /mnt/iocage/jails/mycloud/root/mnt/files: failed
root@freenas:~ # iocage restart ALL
* Stopping nextcloud
+ Running prestop OK
+ Stopping services OK
+ Tearing down VNET OK
+ Removing jail process OK
+ Running poststop OK
mycloud is not running!
* Starting nextcloud
+ Started OK
+ Configuring VNET OK
+ Starting services OK
* Starting mycloud
+ Start FAILED
mount_nullfs: /mnt/iocage/jails/mycloud/root/mnt/files: Resource deadlock avoided
jail: /sbin/mount -t nullfs -o rw /mnt/tank/files /mnt/iocage/jails/mycloud/root/mnt/files: failed
root@freenas:~ # iocage console mycloud
mount_nullfs: /mnt/iocage/jails/mycloud/root/mnt/files: Resource deadlock avoided
jail: /sbin/mount -t nullfs -o rw /mnt/tank/files /mnt/iocage/jails/mycloud/root/mnt/files: failed
root@freenas:~ #cat /vat/log/messages
Oct 14 00:00:00 freenas syslog-ng[1837]: Configuration reload request received, reloading configuration;
Oct 14 08:29:51 freenas kernel: vnet0:6: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: vnet0:6: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: epair0b: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: epair0b: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: ifa_maintain_loopback_route: deletion failed for interface lo0: 48
Oct 14 08:29:51 freenas epair4a: Ethernet address: 02:92:50:00:09:0a
Oct 14 08:29:51 freenas epair4b: Ethernet address: 02:92:a0:00:0b:0b
Oct 14 08:29:51 freenas kernel: epair4a: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4a: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4b: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4b: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4a: changing name to 'vnet0:8'
Oct 14 08:29:51 freenas kernel: epair4b: changing name to 'epair0b'
Oct 14 08:29:51 freenas kernel: vnet0:8: promiscuous mode enabled
root@freenas:~ #
"release": "11.1-RELEASE-p11",
root@freenas:~ # jls
JID IP Address Hostname Path
1 customplugin_1 /mnt/ssd/jails_pool_new/customplugin_1
2 customplugin_2 /mnt/ssd/jails_pool_new/customplugin_2
3 customplugin_3 /mnt/ssd/jails_pool_new/customplugin_3
6 nextcloud /mnt/iocage/jails/nextcloud/root
root@freenas:~ # cd /mnt/iocage/jails/
root@freenas:/mnt/iocage/jails # ls
mycloud nextcloud
root@freenas:~ # iocage list
+-----+-----------+-------+--------------+---------------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+===========+=======+==============+===============+
| - | mycloud | down | 11.1-RELEASE | 192.168.1.210 |
+-----+-----------+-------+--------------+---------------+
| 6 | nextcloud | up | 11.1-RELEASE | 192.168.1.0 |
+-----+-----------+-------+--------------+---------------+
root@freenas:~ #
root@freenas:~ # iocage restart mycloud
mycloud is not running!
* Starting mycloud
+ Start FAILED
mount_nullfs: /mnt/iocage/jails/mycloud/root/mnt/files: Resource deadlock avoided
jail: /sbin/mount -t nullfs -o rw /mnt/tank/files /mnt/iocage/jails/mycloud/root/mnt/files: failed
root@freenas:~ # iocage restart ALL
* Stopping nextcloud
+ Running prestop OK
+ Stopping services OK
+ Tearing down VNET OK
+ Removing jail process OK
+ Running poststop OK
mycloud is not running!
* Starting nextcloud
+ Started OK
+ Configuring VNET OK
+ Starting services OK
* Starting mycloud
+ Start FAILED
mount_nullfs: /mnt/iocage/jails/mycloud/root/mnt/files: Resource deadlock avoided
jail: /sbin/mount -t nullfs -o rw /mnt/tank/files /mnt/iocage/jails/mycloud/root/mnt/files: failed
root@freenas:~ # iocage console mycloud
mount_nullfs: /mnt/iocage/jails/mycloud/root/mnt/files: Resource deadlock avoided
jail: /sbin/mount -t nullfs -o rw /mnt/tank/files /mnt/iocage/jails/mycloud/root/mnt/files: failed
root@freenas:~ #cat /vat/log/messages
Oct 14 00:00:00 freenas syslog-ng[1837]: Configuration reload request received, reloading configuration;
Oct 14 08:29:51 freenas kernel: vnet0:6: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: vnet0:6: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: epair0b: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: epair0b: link state changed to DOWN
Oct 14 08:29:51 freenas kernel: ifa_maintain_loopback_route: deletion failed for interface lo0: 48
Oct 14 08:29:51 freenas epair4a: Ethernet address: 02:92:50:00:09:0a
Oct 14 08:29:51 freenas epair4b: Ethernet address: 02:92:a0:00:0b:0b
Oct 14 08:29:51 freenas kernel: epair4a: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4a: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4b: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4b: link state changed to UP
Oct 14 08:29:51 freenas kernel: epair4a: changing name to 'vnet0:8'
Oct 14 08:29:51 freenas kernel: epair4b: changing name to 'epair0b'
Oct 14 08:29:51 freenas kernel: vnet0:8: promiscuous mode enabled
root@freenas:~ #
"release": "11.1-RELEASE-p11",
Last edited: