SOLVED 11.2 to 11.2U3 and corrupt iocage jails

ninjai

Explorer
Joined
Apr 6, 2015
Messages
98
So I just patched to U3 and I realized none of my jails were running. Ran an iocage list and I see ALL my jails show "CORRUPT" under the state column.

Quick moment of panic while I see that my data is still on my storage tank. All looks good. So I proceed to try and start the jails. 5/7 start fine. The remaining two, however, are still in the "CORRUPT" state and show this error:

Code:
@freenas /mnt/Storage]$ sudo iocage list
freebsd-version could not be found at /mnt/iocage/jails/jail1/root/bin/freebsd-version
freebsd-version could not be found at /mnt/iocage/jails/jail2/root/bin/freebsd-version
+-----+--------------------+---------+--------------+------------+
| JID |        NAME        |  STATE  |   RELEASE    |    IP4     |
+=====+====================+=========+==============+============+
| -   | jail1      | CORRUPT | N/A          | N/A        |
+-----+--------------------+---------+--------------+------------+
| -   | jail2                | CORRUPT | N/A          | N/A        |
+-----+--------------------+---------+--------------+------------+
| 6   | jail3          | up      | 11.2-RELEASE | 10.0.0.205 |
+-----+--------------------+---------+--------------+------------+
| 3   | jail4                | up      | 11.2-RELEASE | 10.0.0.221 |
+-----+--------------------+---------+--------------+------------+
| 7   | jail5           | up      | 11.2-RELEASE | 10.0.0.228 |
+-----+--------------------+---------+--------------+------------+
| 4   | jail6     | up      | 11.2-RELEASE | 10.0.0.222 |
+-----+--------------------+---------+--------------+------------+
| 5   | jail7 | up      | 11.2-RELEASE | 10.0.0.223 |
+-----+--------------------+---------+--------------+------------+


The 2 affected were running older releases, like 9.x or 10.x. How can I fix this? I think there was a point where I needed to download freebsd releases with some iocage command, not sure if that would fix it though... thoughts?

Ninja edit:

This is the command. And I'm only seeing 2 releases, is this my problem? How do I fix it?
Code:
@freenas /mnt/Storage]$ sudo iocage fetch
Password:
[0] 11.2-RELEASE
[1] 12.0-RELEASE

Type the number of the desired RELEASE
Press [Enter] to fetch the default selection: (11.2-RELEASE)
Type EXIT to quit:


EDIT 2:

The weird thing is that it seems like jail1 is actually running. It just runs dnsmasq.
Code:
arch ~> nslookup google.ca 10.0.0.200
Server:         10.0.0.200
Address:        10.0.0.200#53

Non-authoritative answer:
Name:   google.ca
Address: 172.217.14.195
Name:   google.ca
Address: 2607:f8b0:400a:803::2003
 
Last edited:

ninjai

Explorer
Joined
Apr 6, 2015
Messages
98
Naw, dead jails still sitting there. It's a low priority jail so I haven't bothered to do anything with it yet but it is annoying.
 

ninjai

Explorer
Joined
Apr 6, 2015
Messages
98
Unfortunately not because I cant use iocage fetch -r 11.0-RELEASE since mine only shows 11.2 and 12 releases as fetchable..
 
Top