Jail takes up unusual ammount of space

Status
Not open for further replies.

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
Hey guys, just a quick question here.

I have a jail HTPC ( see screen DeepinScreenshot_20180520081846.png) that takes up nearly 100GiB but when i check all the files of the jail, its only a few GiB ( see other screens ).
I have deleted all of the SSD volume snapshots so it cant be the space those take up.
Please advise.

DeepinScreenshot_20180520081846.png As you see here HTPC takes up quite a bit of space
DeepinScreenshot_20180520082523.png This one is take from withing the iocage jail console, /mnt containts mounted media from the host system.
DeepinScreenshot_20180520082959.png This screen is taken from within the /mnt/SSD/iocage/jails folder, the one that says its 96 GiB (note that i have an sshfs mounted the HDD + SSD on my workstation)
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
That’s 100 MiB, not GiB. Hard to do anything for less
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
Look down in the screen
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Aa, there is more then one. Maybe you can show us the screen from the iocage jail instead of the warden jail?
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
These are all iocage jails, i've created all of them in the cli. Only have the XMR plugin in warden style.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
I’m quite sure that /mnt/ssd/jails is warden. Iocage would have made its own dataset and mounted it in /mnt/iocage unless you did something creative. Also the .warden* folders kind of hints at that as well..

Sins you don’t show the actual paths but some kind of mounted paths in your shreenshots it’s hard to tell what we are looking at.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Snapshots?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I’m quite sure that /mnt/ssd/jails is warden.
Yes, it is, but that isn't the problem--the problem is the HTPC iocage jail. As is pretty clear in the first screenshot he posted.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Ya I’m thinking snapshots too, but I would like to know if there is an actual difference first.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Yes, it is, but that isn't the problem--the problem is the HTPC iocage jail. As is pretty clear in the first screenshot he posted.

Exactly, so showing us how big a warden jail is when it’s an iocage jail that is being investigated is not ideal
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
I have deleted all of the SSD volume snapshots so it can't be the space those take up.

So no, not the snapshots.

Its weird since there is "/mnt/SSD/Jails" and "/mnt/iocage/jails"

Dont know any other way then using ncdu as a size list tool for dir's and files? What should i hand in?

df -h shows some mount points

Code:
freenas-boot/ROOT/11.1-U4										 25G	1.8G	 23G	 7%	/
devfs															1.0K	1.0K	  0B   100%	/dev
tmpfs															 32M	 10M	 22M	33%	/etc
tmpfs															4.0M	8.0K	4.0M	 0%	/mnt
tmpfs															 11G	583M	 10G	 5%	/var
freenas-boot/grub												 23G	8.5M	 23G	 0%	/boot/grub
fdescfs														  1.0K	1.0K	  0B   100%	/dev/fd
HDD															  7.0T	192K	7.0T	 0%	/mnt/HDD
HDD/.bhyve_containers											7.0T	 90M	7.0T	 0%	/mnt/HDD/.bhyve_containers
HDD/Backup													   7.2T	145G	7.0T	 2%	/mnt/HDD/Backup
HDD/Media														 10T	3.3T	7.0T	32%	/mnt/HDD/Media
HDD/Nextcloud													7.0T	 13G	7.0T	 0%	/mnt/HDD/Nextcloud
HDD/Nextcloud/Ezra											   7.0T	176K	7.0T	 0%	/mnt/HDD/Nextcloud/Ezra
HDD/Nextcloud/NCEzra											 7.0T	 14G	7.0T	 0%	/mnt/HDD/Nextcloud/NCEzra
SSD															   65G	 96K	 65G	 0%	/mnt/SSD
SSD/Jails														 65G	352K	 65G	 0%	/mnt/SSD/Jails
SSD/Jails/.warden-template-pluginjail-11.0-x64					66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64
SSD/Jails/.warden-template-pluginjail-11.0-x64-20180116165405	 66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64-20180116165405
SSD/Jails/.warden-template-pluginjail-11.0-x64-20180206080043	 66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64-20180206080043
SSD/Jails/.warden-template-pluginjail-11.0-x64-20180212175234	 66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64-20180212175234
SSD/Jails/.warden-template-pluginjail-11.0-x64-20180213105101	 66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64-20180213105101
SSD/Jails/.warden-template-pluginjail-11.0-x64-20180316225244	 66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64-20180316225244
SSD/Jails/.warden-template-pluginjail-11.0-x64-20180405215328	 66G	539M	 65G	 1%	/mnt/SSD/Jails/.warden-template-pluginjail-11.0-x64-20180405215328
SSD/Jails/HTPC													66G	911M	 65G	 1%	/mnt/SSD/Jails/HTPC
SSD/Jails/Organizr												65G	136K	 65G	 0%	/mnt/SSD/Jails/Organizr
SSD/Jails/PlexPass												69G	3.6G	 65G	 5%	/mnt/SSD/Jails/PlexPass
SSD/Jails/xmrig_1												 66G	876M	 65G	 1%	/mnt/SSD/Jails/xmrig_1
SSD/OMV														   65G	 14M	 65G	 0%	/mnt/SSD/OMV
SSD/Rancher													   67G	2.3G	 65G	 3%	/mnt/SSD/Rancher
SSD/iocage														65G	2.3M	 65G	 0%	/mnt/iocage
SSD/iocage/download											   65G	 88K	 65G	 0%	/mnt/iocage/download
SSD/iocage/download/11.1-RELEASE								  65G	260M	 65G	 0%	/mnt/iocage/download/11.1-RELEASE
SSD/iocage/images												 65G	 88K	 65G	 0%	/mnt/iocage/images
SSD/iocage/jails												  65G	 88K	 65G	 0%	/mnt/iocage/jails
SSD/iocage/jails/HTPC											 65G	 96K	 65G	 0%	/mnt/iocage/jails/HTPC
SSD/iocage/jails/HTPC/root									   162G	 97G	 65G	60%	/mnt/iocage/jails/HTPC/root
SSD/iocage/jails/PlexPass										 65G	 96K	 65G	 0%	/mnt/iocage/jails/PlexPass
SSD/iocage/jails/PlexPass/root									67G	1.6G	 65G	 2%	/mnt/iocage/jails/PlexPass/root
SSD/iocage/jails/ffsync										   65G	 92K	 65G	 0%	/mnt/iocage/jails/ffsync
SSD/iocage/jails/ffsync/root									  66G	1.2G	 65G	 2%	/mnt/iocage/jails/ffsync/root
SSD/iocage/jails/organizr										 65G	 96K	 65G	 0%	/mnt/iocage/jails/organizr
SSD/iocage/jails/organizr/root									66G	1.3G	 65G	 2%	/mnt/iocage/jails/organizr/root
SSD/iocage/log													65G	136K	 65G	 0%	/mnt/iocage/log
SSD/iocage/releases											   65G	 88K	 65G	 0%	/mnt/iocage/releases
SSD/iocage/releases/11.1-RELEASE								  65G	 88K	 65G	 0%	/mnt/iocage/releases/11.1-RELEASE
SSD/iocage/releases/11.1-RELEASE/root							 66G	961M	 65G	 1%	/mnt/iocage/releases/11.1-RELEASE/root
SSD/iocage/templates											  65G	 88K	 65G	 0%	/mnt/iocage/templates
SSD/.system													   65G	 96K	 65G	 0%	/var/db/system
SSD/.system/cores												 65G	8.9M	 65G	 0%	/var/db/system/cores
SSD/.system/samba4												65G	376K	 65G	 0%	/var/db/system/samba4
SSD/.system/syslog-3bc724bbb18d493585697320a07060e7			   65G	 88K	 65G	 0%	/var/db/system/syslog-3bc724bbb18d493585697320a07060e7
SSD/.system/rrd-3bc724bbb18d493585697320a07060e7				  65G	 88K	 65G	 0%	/var/db/system/rrd-3bc724bbb18d493585697320a07060e7
SSD/.system/configs-3bc724bbb18d493585697320a07060e7			  65G	 13M	 65G	 0%	/var/db/system/configs-3bc724bbb18d493585697320a07060e7
/mnt/SSD/Jails/HTPC											   66G	911M	 65G	 1%	/mnt/iocage/jails/HTPC/root/config
/mnt/HDD/Media/Film											   10T	3.3T	7.0T	32%	/mnt/iocage/jails/HTPC/root/mnt/Film
/mnt/HDD/Media/Serie											  10T	3.3T	7.0T	32%	/mnt/iocage/jails/HTPC/root/mnt/Serie
/mnt/HDD/Media/Software										   10T	3.3T	7.0T	32%	/mnt/iocage/jails/HTPC/root/mnt/Software
/mnt/HDD/Media/Muziek											 10T	3.3T	7.0T	32%	/mnt/iocage/jails/HTPC/root/mnt/Muziek
/mnt/HDD/Media/tmp												10T	3.3T	7.0T	32%	/mnt/iocage/jails/HTPC/root/mnt/tmp
/mnt/HDD/Media/Ebook											  10T	3.3T	7.0T	32%	/mnt/iocage/jails/HTPC/root/mnt/Ebook
devfs															1.0K	1.0K	  0B   100%	/mnt/iocage/jails/HTPC/root/dev
fdescfs														  1.0K	1.0K	  0B   100%	/mnt/iocage/jails/HTPC/root/dev/fd
tmpfs															1.0G	106M	918M	10%	/var/db/collectd/rrd
devfs															1.0K	1.0K	  0B   100%	/mnt/SSD/Jails/xmrig_1/dev
procfs														   4.0K	4.0K	  0B   100%	/mnt/SSD/Jails/xmrig_1/proc
/mnt/SSD/Jails/PlexPass										   69G	3.6G	 65G	 5%	/mnt/iocage/jails/PlexPass/root/config
/mnt/HDD/Media/Muziek											 10T	3.3T	7.0T	32%	/mnt/iocage/jails/PlexPass/root/mnt/Muziek
/mnt/HDD/Media/Foto											   10T	3.3T	7.0T	32%	/mnt/iocage/jails/PlexPass/root/mnt/Foto
/mnt/HDD/Media/Film											   10T	3.3T	7.0T	32%	/mnt/iocage/jails/PlexPass/root/mnt/Film
/mnt/HDD/Media/Serie											  10T	3.3T	7.0T	32%	/mnt/iocage/jails/PlexPass/root/mnt/Serie
/mnt/HDD/Media/WimHof											 10T	3.3T	7.0T	32%	/mnt/iocage/jails/PlexPass/root/mnt/WimHof
devfs															1.0K	1.0K	  0B   100%	/mnt/iocage/jails/PlexPass/root/dev
fdescfs														  1.0K	1.0K	  0B   100%	/mnt/iocage/jails/PlexPass/root/dev/fd
/mnt/SSD/Jails/Organizr										   65G	136K	 65G	 0%	/mnt/iocage/jails/organizr/root/config
devfs															1.0K	1.0K	  0B   100%	/mnt/iocage/jails/organizr/root/dev
fdescfs														  1.0K	1.0K	  0B   100%	/mnt/iocage/jails/organizr/root/dev/fd
 

Attachments

  • DeepinScreenshot_20180520130400.png
    DeepinScreenshot_20180520130400.png
    1,012.4 KB · Views: 268

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
zfs list | grep HTPC, zfs list -t snapshot | grep HTPC.
root@freenas:/mnt/iocage/jails # zfs list | grep HTPC
Code:
SSD/Jails/HTPC												  911M  65.0G   911M  /mnt/SSD/Jails/HTPC
SSD/iocage/jails/HTPC										  96.4G  65.0G	96K  /mnt/iocage/jails/HTPC
SSD/iocage/jails/HTPC/root									 96.4G  65.0G  97.3G  /mnt/iocage/jails/HTPC/root


root@freenas:/mnt/iocage/jails # zfs list -t snapshot | grep HTPC
Code:
SSD/iocage/jails/HTPC/root@organizr										  128K	  -   961M  -
SSD/iocage/jails/HTPC/root@HTPC											  128K	  -   961M  -


Thanks so far guys
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
there you have it, the jail is just below 100 GB.

You mean that there isn’t 100 GB worth of content in that jail? What leads you to believe that?
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
there you have it, the jail is just below 100 GB.

You mean that there isn’t 100 GB worth of content in that jail? What leads you to believe that?

Exactly, if you look at the following screen it shows that besides /mnt (which is mounted from my host with all the media) i only have around 6G worth of space occupied. This screen is using NCDU tool within "iocage console HTPC"

One cause that i would come up with for the content not making up for the supposed 100GB would be a snapshot but those are all gone...

And besides that, why are there 2 locations /mnt/iocage/jails and /mnt/SSD/Jails since they are actually just one origin, right?
DeepinScreenshot_20180520082523.png
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
One is you warden jails and the other one is iocage.

Snapshots doesn’t magically spawn 100 GB of data. You would have to generate 100 GB worth of data for there to exist 100 GB of data. You do have a snapshot of that dataset, but first I would like to see what the actual content is. What is the output of du -sh * from the HTPC Shell?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
...and to be specific, it's entirely plausible that Plex metadata would be consuming ~100 GB. But that doesn't explain the discrepancy from NCDU.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
And besides that, why are there 2 locations /mnt/iocage/jails and /mnt/SSD/Jails since they are actually just one origin, right?
When you run iocage activate {poolname} at initial use it created a dataset for it's use.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
What is the output of du -sh * from the HTPC Shell?
...and to avoid including external mounts, try this: du -shx /*.
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
One is you warden jails and the other one is iocage.

Snapshots doesn’t magically spawn 100 GB of data. You would have to generate 100 GB worth of data for there to exist 100 GB of data. You do have a snapshot of that dataset, but first I would like to see what the actual content is. What is the output of du -sh * from the HTPC Shell?

root@HTPC:~ # du -sh *
Code:
du: No match.


root@HTPC:~ # du -sh /
Code:
3.0T   /

This is because i have a data set mounted that has my media.

This is my / of HTPC jail with NCDU
DeepinScreenshot_20180520152229.png

Verified that there are no snapshots of that size.

Also its not plex since that is another jail.

Edit:
root@HTPC:~ # du -shx /*
Code:
4.5K   /COPYRIGHT
928K   /bin
1.6M   /boot
944M   /config
1.0K   /dev
2.0M   /etc
 81K   /home
6.4M   /lib
213K   /libexec
512B   /media
 92G   /mnt
512B   /net
512B   /proc
6.0M   /rescue
6.7M   /root
4.4M   /sbin
512B   /sys
 30M   /tmp
3.1G   /usr
1.8G   /var
512B   /wget-log
 
Status
Not open for further replies.
Top