I'm seeing iohyve RancherOS snapshots in iocage jail?

weingeist

Dabbler
Joined
Feb 6, 2017
Messages
30
Hi all

This morning I experienced something weird: my iohyve snapshots for RancherOS are listed in one of my iocage jails:

Code:
root@openVPN:/dev/zvol/vol0/iohyve/RancherOS # ll
total 0
crw-r-----  1 root  operator   0xe7 Feb 11 20:45 disk0
crw-r-----  1 root  operator   0xed Feb 11 20:32 disk0@auto-20191219.0600-2m
crw-r-----  1 root  operator   0xea Feb 11 20:32 disk0@auto-20191223.0600-2m
crw-r-----  1 root  operator   0xf8 Feb 11 20:32 disk0@auto-20191226.0600-2m
crw-r-----  1 root  operator  0x108 Feb 11 20:32 disk0@auto-20191230.0600-2m
crw-r-----  1 root  operator   0xf4 Feb 11 20:32 disk0@auto-20200102.0600-2m
crw-r-----  1 root  operator   0xf3 Feb 11 20:32 disk0@auto-20200106.0600-2m
crw-r-----  1 root  operator  0x10a Feb 11 20:32 disk0@auto-20200109.0600-2m
crw-r-----  1 root  operator   0xf7 Feb 11 20:32 disk0@auto-20200113.0600-2m
crw-r-----  1 root  operator   0xe8 Feb 11 20:32 disk0@auto-20200116.0600-2m
crw-r-----  1 root  operator   0xee Feb 11 20:32 disk0@auto-20200120.0600-2m
crw-r-----  1 root  operator   0xfc Feb 11 20:32 disk0@auto-20200123.0600-2m
crw-r-----  1 root  operator   0xfe Feb 11 20:32 disk0@auto-20200127.0600-2m


I don't understand why they are listed in /dev and what the "c" file type is? And why my jail is seeing parts outside of the jail, which I find somewhat worrying.

This only happened shortly after upgrading from 11.2U7 to 11.3-Release and I only noticed because my AIDE-script noticed changes in the file system. The same folder exists on the base system, but only for this exact iohyve folder, not for iocage (both of which on vol0). I only have one mount point for the openVPN jail, which has got nothing to do with the /dev folder. I have two recursive snapshot tasks for the entire vol0 containing iohyve and iocage.

vol0 looks as follows :
filestruct.png
 
Top