SOLVED volume 'freenas-boot' 90%+ full, despite managing old boot images

mwittemans

Cadet
Joined
Jul 26, 2016
Messages
8
Hi,

I have separate FreeNAS boot volume (ada0p2) running FreeNAS-9.10.2-U6 (561f0d7a1) from a 60 GB SSD (Size: 58.5 GiB). Currently the capacity for the volume 'freenas-boot' is currently at 91%, while the recommended value is below 80%. As per documentation I have deleted 5 boot images, using the GUI (System | Boot | selected the old boot image | delete and confirmed). I now have only 2 boot images left;
Initial Install
9.10.2-U5
9.10.2-U6 (active)
After this delete action the volume capacity has decreased with 1% only according to the GUI.

QUESTIONS: How can I check the 'real' free capacity of the boot volume? How can I free-up more space on the boot volume. I believe 60 GiB must be plenty of room to store boot images. I something else filling up my boot drive?

Thanks for assistance
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,367
Something on your boot disk is using space. Perhaps you are running an ftp service, or the like, off the boot partitions.

df -h will tell you the disk free space information for all mounted file systems.
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
du -d 1 -x / might also be useful to see where unwanted stuff is located ( /nonexistent -> probably related to ftp setup, /media -> maybe related to some plugin).
 

mwittemans

Cadet
Joined
Jul 26, 2016
Messages
8
Thanks for the hints, but I'm afraid my I do not have the right level of knowledge to debug this. df -h just tells me that the freenas-boot/ROOT/9.10.2-U6 FileSystem is 94% full and mounted as /

And du -d 1 -x / has an output I can not interprete (see outputs below).

Looking further in the Filesystems I notice under:


Code:
/var/db/system/configs-0827a2da0c5b428287f6c8d2d52005ef
total 24
drwxr-xr-x  14 root  wheel  14 Aug 20 03:45 ./
drwxr-xr-x   7 root  wheel   9 Sep 11 04:00 ../
drwxr-xr-x   2 root  wheel   9 Aug  4  2016 FreeNAS-9.10-STABLE-201606270534 (dd17351)/
drwxr-xr-x   2 root  wheel  57 Sep 28  2016 FreeNAS-9.10.1 (d989edd)/
drwxr-xr-x   2 root  wheel  14 Oct 10  2016 FreeNAS-9.10.1-U1 (ff51a5d)/
drwxr-xr-x   2 root  wheel  38 Nov 15  2016 FreeNAS-9.10.1-U2 (f045a8b)/
drwxr-xr-x   2 root  wheel  43 Dec 30  2016 FreeNAS-9.10.1-U4 (ec9a7d3)/
drwxr-xr-x   2 root  wheel  21 Jan 18  2017 FreeNAS-9.10.2 (a476f16)/
drwxr-xr-x   2 root  wheel  53 Mar 10  2017 FreeNAS-9.10.2-U1 (86c7ef5)/
drwxr-xr-x   2 root  wheel  49 Apr 26 03:45 FreeNAS-9.10.2-U2 (e1497f2)/
drwxr-xr-x   2 root  wheel  34 May 28 03:45 FreeNAS-9.10.2-U3 (e1497f269)/
drwxr-xr-x   2 root  wheel  17 Jun 12 03:45 FreeNAS-9.10.2-U4 (27ae72978)/
drwxr-xr-x   2 root  wheel  70 Aug 19 03:45 FreeNAS-9.10.2-U5 (561f0d7a1)/
drwxr-xr-x   2 root  wheel  25 Sep 11 03:45 FreeNAS-9.10.2-U6 (561f0d7a1)/


Could these be the OLD boot config files, which I have deleted from the GUI (see initial post), but have not been deleted for the Filesystem?
Is it SAFE to rm -rf the FreeNAS-9.10.1* files?

Thanks for assistance....

outputs
df -h
Code:
Filesystem													   Size	Used   Avail Capacity  Mounted on
freenas-boot/ROOT/9.10.2-U6									   55G	 52G	3.4G	94%	/
devfs															1.0K	1.0K	  0B   100%	/dev
tmpfs															 32M	8.9M	 23M	28%	/etc
tmpfs															4.0M	8.0K	4.0M	 0%	/mnt
tmpfs															5.3G	 32M	5.3G	 1%	/var
freenas-boot/grub												3.4G	6.3M	3.4G	 0%	/boot/grub
fdescfs														  1.0K	1.0K	  0B   100%	/dev/fd
data															 1.1T	 10M	1.1T	 0%	/mnt/data
data/.warden-template-FreeBSD standard						   1.1T	830M	1.1T	 0%	/mnt/data/.warden-template-FreeBSD standard
data/.warden-template-pluginjail								 1.1T	518M	1.1T	 0%	/mnt/data/.warden-template-pluginjail
data/OS-software												 1.2T	 95G	1.1T	 8%	/mnt/data/OS-software
data/ebooks													  1.1T	 14G	1.1T	 1%	/mnt/data/ebooks
data/homes													   1.1T	303K	1.1T	 0%	/mnt/data/homes
data/homes/mwittemans											1.1T	279K	1.1T	 0%	/mnt/data/homes/mwittemans
data/homesonarrserver-clone-homesonarserver-clone				1.1T	140K	1.1T	 0%	/mnt/data/homesonarrserver-clone-homesonarserver-clone
data/jails													   1.1T	320K	1.1T	 0%	/mnt/data/jails
data/jails/.warden-template-FreeBSD RC2						  1.1T	2.1G	1.1T	 0%	/mnt/data/jails/.warden-template-FreeBSD RC2
data/jails/.warden-template-FreeBSD standard					 1.1T	2.0G	1.1T	 0%	/mnt/data/jails/.warden-template-FreeBSD standard
data/jails/.warden-template-VirtualBox-4.3.12					1.1T	723M	1.1T	 0%	/mnt/data/jails/.warden-template-VirtualBox-4.3.12
data/jails/.warden-template-pluginjail						   1.1T	518M	1.1T	 0%	/mnt/data/jails/.warden-template-pluginjail
data/jails/.warden-template-standard							 1.1T	2.0G	1.1T	 0%	/mnt/data/jails/.warden-template-standard
data/jails/TEST_plexserver									   1.2T	 86G	1.1T	 7%	/mnt/data/jails/TEST_plexserver
data/jails/TEST_sonarrserver									 1.1T	2.4G	1.1T	 0%	/mnt/data/jails/TEST_sonarrserver
data/jails/TEST_transmissionserver							   1.1T	2.2G	1.1T	 0%	/mnt/data/jails/TEST_transmissionserver
data/jails/homeOVPNserver										1.1T	2.1G	1.1T	 0%	/mnt/data/jails/homeOVPNserver
data/jails/homeplexserver										1.2T	 88G	1.1T	 7%	/mnt/data/jails/homeplexserver
data/jails/homesonarrserver									  1.1T	5.9G	1.1T	 1%	/mnt/data/jails/homesonarrserver
data/jails/transmissionserver									1.1T	3.0G	1.1T	 0%	/mnt/data/jails/transmissionserver
data/media													   1.3T	209G	1.1T	16%	/mnt/data/media
data/media/documovies											1.2T	 53G	1.1T	 5%	/mnt/data/media/documovies
data/media/docutvseries										  1.2T	 70G	1.1T	 6%	/mnt/data/media/docutvseries
data/media/homevideos											1.1T	8.6G	1.1T	 1%	/mnt/data/media/homevideos
data/media/itunes												2.4T	1.3T	1.1T	54%	/mnt/data/media/itunes
data/media/movies												4.6T	3.5T	1.1T	76%	/mnt/data/media/movies
data/media/musicvideos										   1.1T	1.4G	1.1T	 0%	/mnt/data/media/musicvideos
data/media/pictures											  1.1T	4.9G	1.1T	 0%	/mnt/data/media/pictures
data/media/shortmovies										   1.1T	2.1G	1.1T	 0%	/mnt/data/media/shortmovies
data/media/tvseries											  4.6T	3.5T	1.1T	76%	/mnt/data/media/tvseries
data/media/videoclips											1.1T	 73M	1.1T	 0%	/mnt/data/media/videoclips
data/scanned													 1.1T	338K	1.1T	 0%	/mnt/data/scanned
data/transfer													1.1T	419K	1.1T	 0%	/mnt/data/transfer
backup-archive												   349G	 20K	349G	 0%	/mnt/backup-archive
backup-archive/TEST-media										352G	3.0G	349G	 1%	/mnt/backup-archive/TEST-media
backup-archive/archive										   555G	206G	349G	37%	/mnt/backup-archive/archive
backup-archive/backups										   586G	237G	349G	41%	/mnt/backup-archive/backups
backup-archive/backups/manual-backups							476G	127G	349G	27%	/mnt/backup-archive/backups/manual-backups
backup-archive/backups/plexmediaserver						   424G	 75G	349G	18%	/mnt/backup-archive/backups/plexmediaserver
backup-archive/backups/plexpy									349G	1.9M	349G	 0%	/mnt/backup-archive/backups/plexpy
backup-archive/timemachine									   700G	351G	349G	50%	/mnt/backup-archive/timemachine
freenas-boot/.system											 3.4G	 31K	3.4G	 0%	/var/db/system
freenas-boot/.system/cores									   3.4G	1.4M	3.4G	 0%	/var/db/system/cores
freenas-boot/.system/samba4									  3.4G	111K	3.4G	 0%	/var/db/system/samba4
freenas-boot/.system/syslog-0827a2da0c5b428287f6c8d2d52005ef	 3.4G	 29M	3.4G	 1%	/var/db/system/syslog-0827a2da0c5b428287f6c8d2d52005ef
freenas-boot/.system/rrd-0827a2da0c5b428287f6c8d2d52005ef		3.4G	 24M	3.4G	 1%	/var/db/system/rrd-0827a2da0c5b428287f6c8d2d52005ef
freenas-boot/.system/configs-0827a2da0c5b428287f6c8d2d52005ef	3.4G	 32M	3.4G	 1%	/var/db/system/configs-0827a2da0c5b428287f6c8d2d52005ef
devfs															1.0K	1.0K	  0B   100%	/mnt/data/jails/homeOVPNserver/dev
procfs														   4.0K	4.0K	  0B   100%	/mnt/data/jails/homeOVPNserver/proc
devfs															1.0K	1.0K	  0B   100%	/mnt/data/jails/homeplexserver/dev
procfs														   4.0K	4.0K	  0B   100%	/mnt/data/jails/homeplexserver/proc
/mnt/backup-archive/archive/Archived TVseries					555G	206G	349G	37%	/mnt/data/jails/homeplexserver/media/archivetvseries
/mnt/data/media/documovies									   1.2T	 53G	1.1T	 5%	/mnt/data/jails/homeplexserver/media/documovies
/mnt/data/media/docutvseries									 1.2T	 70G	1.1T	 6%	/mnt/data/jails/homeplexserver/media/docutvseries
/mnt/data/media/homevideos									   1.1T	8.6G	1.1T	 1%	/mnt/data/jails/homeplexserver/media/homemovies
/mnt/data/media/movies										   4.6T	3.5T	1.1T	76%	/mnt/data/jails/homeplexserver/media/movies
/mnt/data/media/trainingvideos								   1.3T	209G	1.1T	16%	/mnt/data/jails/homeplexserver/media/training-education
/mnt/data/media/tvseries										 4.6T	3.5T	1.1T	76%	/mnt/data/jails/homeplexserver/media/tvseries
/mnt/backup-archive/backups/plexmediaserver					  424G	 75G	349G	18%	/mnt/data/jails/homeplexserver/mnt/plexmediaserver-backup
/mnt/backup-archive/backups/plexpy							   349G	1.9M	349G	 0%	/mnt/data/jails/homeplexserver/mnt/plexpy-backup
devfs															1.0K	1.0K	  0B   100%	/mnt/data/jails/transmissionserver/dev
procfs														   4.0K	4.0K	  0B   100%	/mnt/data/jails/transmissionserver/proc
/mnt/data/media/downloads-staging								1.3T	209G	1.1T	16%	/mnt/data/jails/transmissionserver/media/downloads-staging
devfs															1.0K	1.0K	  0B   100%	/mnt/data/jails/homesonarrserver/dev
procfs														   4.0K	4.0K	  0B   100%	/mnt/data/jails/homesonarrserver/proc
/mnt/data/media/downloads-staging								1.3T	209G	1.1T	16%	/mnt/data/jails/homesonarrserver/media/downloads-staging
/mnt/data/media/movies										   4.6T	3.5T	1.1T	76%	/mnt/data/jails/homesonarrserver/media/movies
/mnt/data/media/tvseries										 4.6T	3.5T	1.1T	76%	/mnt/data/jails/homesonarrserver/media/tvseries
/mnt/data/media/movies										   4.6T	3.5T	1.1T	76%	/mnt/data/jails/homesonarrserver/movies_CP_managed
/mnt/data/media/pictures										 1.1T	4.9G	1.1T	 0%	/mnt/data/jails/homeplexserver/media/photos


du -d 1 -x /
Code:
49238 /boot
4  /var
5  /compat
1  /dev
101 /libexec
2  /media
53428911 /root
2  /proc
4  /mnt
5463 /lib
5051 /rescue
6566 /data
8  /etc
11735 /conf
725 /bin
581638 /usr
3399 /sbin
54092874 /

 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
The size of the /root folder is suspicious. So let's examine this more closely:
du /root
ls -al /root
 

mwittemans

Cadet
Joined
Jul 26, 2016
Messages
8
Monster file in that directory ./--exclude. No clue where it comes from. It is a bin file (cat outputs rubbish).
Can I remove that file without harm?


Code:
[mwittemans@homefreenas] ~# ls -al /root
total 53428916
-rw-r--r--   1 root  wheel  54749685760 Sep  4 09:52 --exclude
drwxr-xr-x   3 root  wheel		   16 Aug 19 07:36 ./
drwxr-xr-x  19 root  wheel		   28 Sep  9 07:55 ../
-rw-------   1 root  wheel		  382 Aug 31 13:00 .bash_history
-rw-r--r--   1 root  wheel		 1128 Aug 19 07:36 .bashrc
-rw-r--r--   1 root  wheel		 1229 Aug 19 07:36 .cshrc
-rw-r--r--   1 root  wheel		   97 Aug 19 07:36 .gdbinit
-rw-------   1 root  wheel		14178 Jul 31 09:23 .history
-rw-r--r--   1 root  wheel		   80 Aug 19 07:36 .k5login
-rw-r--r--   1 root  wheel		   82 Aug 19 07:36 .login
-rw-r--r--   1 root  wheel		  559 Aug 19 07:36 .profile
-rw-------   1 root  wheel		 1024 Aug 11  2016 .rnd
-rw-r--r--   1 root  wheel		 1128 Aug 19 07:36 .shrc
drwxr-xr-x   2 root  wheel			6 Aug 10  2016 .ssh/
-rwxrwxr-x   1 root  wheel		24599 Apr 13 08:13 hybrid_fan_controller.pl*
-rw-------   1 root  wheel	   430080 Jul 27  2016 secrets.tdb
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
Never seen such a thing either. Most probably I would delete this file after googling for possible sources. Just a rough guess: tar has a --exclude option, maybe a malformed tar command in some package/plugin?
 

mwittemans

Cadet
Joined
Jul 26, 2016
Messages
8
Thanks for the assistance and support. ISSUE CLOSED

Moved the file to another volume, rebooted the NAS. FreeNAS boot volume now 3% usage. As to where the file comes from I have no idea, but sure I have some rsync-job scheduled with --exclude-from-file= option...

Will investigate further on the rsync jobs.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,367
Looks like a malformed script/command that outputted something into "--exclude"

dosomething <something> --exclude

would do something with something and save the results into "--exclude"

Which could've been not what was meant ;)

Could've been poor quoting/escaping.
 

mudshark

Contributor
Joined
Jan 17, 2015
Messages
119
Different spin on the same problem.
Several SMB shares are on the same FreeNAS box. One of the shares (B:\) says it's nearly full. So I deleted 90% of what was on that share and it still shows as full. I rebooted the server, no difference.
BTW, as long as the screen shot is there, notice something else curious: Even tho all shares on same volume they all have different takes on how much free space there is. 450G, 957G, 368G, 9.3T, and 906G. There are (5) 3T RAID1-0 drives in the volume.
Either way, my backup will not run as it thinks there's not enough space!
Thanks, all
RG
 

Attachments

  • Full FreeNAS share.jpg
    Full FreeNAS share.jpg
    54.9 KB · Views: 310

Skynet3020

Dabbler
Joined
May 21, 2015
Messages
17
Hi guys
on my system i'm at 90% (Backupvolume) there are 7 HDDs (2TB) in a Raid Z2, what happens now if i replace one drive from 2 TB to 4TB.
gives this a little space ?
or how many drives i needs to replace, that i have a litte more space ?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
on my system i'm at 90% (Backupvolume) there are 7 HDDs (2TB) in a Raid Z2, what happens now if i replace one drive from 2 TB to 4TB.
gives this a little space ?
or how many drives i needs to replace, that i have a litte more space ?
If your pool is just the single RAIDZ2 VDEV, you will need to replace all 7 disks before you see an overall increase in size.

You could add additional disks in another RAIDZ2 VDEV to the pool, which would immediately add their space to the total, but your pool would then contain 2 VDEVs.
 

Skynet3020

Dabbler
Joined
May 21, 2015
Messages
17
ok thanks for the info, thought i too...
but one thing is curious in my system, i use on this volume only a vm disk image size 6.6TB but why it grows up ?
when I created it it was at 80%, and now it is at 95% The last warning was 91%. FreeNas say's: 382.42 GiB Free
The VM Disk says there is 361GB free

Bildschirmfoto 2019-09-11 um 13.13.55.png

Bildschirmfoto 2019-09-11 um 13.14.23.png


FreeNAS-11.2-U4.1
 
Last edited:
Top