Root filesystem in jails disappeared

Joined
Dec 23, 2014
Messages
6
Hi all

Did some maintenance with the 'iocage snapremove' command which did cleanup some of my system from old snapshots... however now some of may jails do not have a root filesystem anymore...

fx. I have a jail named "web" but running the command:
zfs list |grep -i web
Media/iocage/jails/web 1.72M 1.92T 100K /mnt/Media/iocage/jails/web


notice that there is no
/Media/iocage/jails/web/root

but there is such a zfs on some of the jails that still work... Is all my data gone from that jail?

I'm running auto-snapshots on my jail, but there is something kinda strange here:

zfs list -t snapshot |grep -i web
Media/iocage/jails/web@auto-2020-06-18_00-00 56K - 108K -
Media/iocage/jails/web@auto-2020-06-19_00-00 56K - 108K -
Media/iocage/jails/web@auto-2020-06-20_00-00 56K - 108K -
Media/iocage/jails/web@auto-2020-06-21_00-00 64K - 108K -


it is very very small filesystems which doesn't correspond to what should have been there (several gigabytes).

Running FreeNas 11.3-U3.2
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Something has certainly gone wrong there... you need to have the root dataset under the web jail dataset or you won't have a jail to run.

Depending on what you had in there, you may be able to easily replace it by rebuilding the jail and re-adding the mountpoints, but if the jail root fs had something in it, you seem to be without it now. I hope you had backups if there was important data in there.
 
Top