Hi,
This is almost certainly user error and lack of experience, but I’m worried about a “trial and error” approach to fixing this making it worse, so grateful for any advice.
I am on TrueNAS-13.0-U6.1 and this morning I noticed one of my jails (“web”) was down. I couldn’t work out why but I restarted it and that worked.
At the same time, I noticed two old jails that are no longer user. I deleted those via the jails web UI.
Now, I have a whole bunch of jails (including the one that was down unexpectedly this morning) that refuse to start. The error message is:
“[Errno 2] No such file or directory: ‘/mnt/NAS/iocage/jails/web/root/etc/rc.conf’”
(Here, ‘web’ is the name of the jail, but it’s the same for the other jails).
And indeed, the directory /mnt/NAS/iocage/jails/web/root does not exist:
root@freenas:/mnt/NAS/iocage/jails/web # ls
config_backup.json config.json fstab
The other thing I have noticed is that all the “dead” jails are on 11.2-RELEASE-p9 and all the jails that work are on other releases. But that could be a red herring since most of my jails were created at the same time and I’ve only updated/subsequently created a handful of them.
I am trying to understand what might have happened.
I am also trying to find the best way to get it back. I have cloud backups that would allow me to re-create and re-configure the relevant services, but I also assume it should be possible to do this via snapshots.
For example, in Storage → Snapshots in the UI I have a daily snapshot in for “NAS/iocage/jails/web” (and the other jails).
But I have also never acutally tried to restore data from a snapshot (lucky me!) so I’m not sure how to best go about it, and some of the documentation confuses me enough that I’d be worried about making it worse. ![]()
Thank you,
Martin
