The capacity for the volume 'freenas-boot' is currently at 96%, while the recommended value is below

Status
Not open for further replies.

Vince Claude

Cadet
Joined
Nov 17, 2015
Messages
5
I have 2 Free NAS servers running. Only difference in the two is size of the RAID drives.

One just (May 4) got "critical error" "The capacity for the volume 'freenas-boot' is currently at 96%, while the recommended value is below 80%.".

While one is running comfortable at 9% of USB boot fob, the other is at 96%. I have deleted a couple of old boot files and run boot scrub on the 96% fob but no change is the usage ... still 96%.

Would it be safe to say I have a FOB failure?

Vince
 

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
I recall there have been other threads on this topic where somehow users have managed to configure some service to cause files pile up at the FreeNAS bootdrive. I don't recall how or why. Try a search. You are definitely not alone.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Check the System - System Dataset tab - it's possible that Syslog and reporting database are on "freenas-boot" - change them there to be stored on your pool.
 
Last edited:

Dice

Wizard
Joined
Dec 11, 2015
Messages
1,410
Check the System - System Dataset tab - it's possible that Syslog and reporting database are on "Freenas-boot" - change them there to be stored on your pool.
Is there a way to move these specifically without moving the entire system data set to the pool?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
This is almost always the result of someone carelessly setting their FTP root folder to the boot device.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
I'm imagining that there must be a way to script that outcome but it's outside my pay grade today ...
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
This is almost always the result of someone carelessly setting their FTP root folder to the boot device.
Boy, that would do it.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

Vince Claude

Cadet
Joined
Nov 17, 2015
Messages
5
Thanks for the advice everyone.

Looks like there is 26 GB in /root (see below).
How do I clean it out?
How do I prevent it from happening again (could it be FTP root folder mentioned above).

Build FreeNAS-9.10.2 (a476f16)
Platform Intel(R) Pentium(R) CPU G3258 @ 3.20GHz
Memory 7839MB
System Time Mon Jun 05 07:38:54 MST 2017
Uptime 7:38AM up 4 mins, 0 users
Load Average 0.08, 0.20, 0.10
FreeNAS® © 2016 iXsystems, Inc. Shell

[root@freenas2 ~]# ls -l /
total 118
-rw-r--r-- 1 root wheel 898 Dec 9 03:42 .cshrc
-rw-r--r-- 1 root wheel 188 Dec 9 03:42 .profile
-rw------- 1 root wheel 1024 Jan 23 2016 .rnd
-r--r--r-- 1 root wheel 6142 Dec 9 03:42 COPYRIGHT
drwxr-xr-x 2 root wheel 47 Dec 21 05:19 bin
drwxr-xr-x 10 root wheel 56 Dec 21 05:21 boot
drwxr-xr-x 3 root wheel 3 Dec 9 03:42 compat
drwxr-xr-x 4 root wheel 4 Nov 19 2015 conf
drwxr-xr-x 7 www www 14 Jun 5 07:35 data
dr-xr-xr-x 10 root wheel 512 Jun 5 07:34 dev
-rw------- 1 root wheel 4096 Jun 5 07:35 entropy
drwxr-xr-x 28 root wheel 7744 Jun 5 07:35 etc
drwxr-xr-x 3 root wheel 51 Dec 21 05:19 lib
drwxr-xr-x 3 root wheel 4 Dec 21 05:19 libexec
drwxr-xr-x 2 root wheel 2 Dec 9 03:45 media
drwxr-xr-x 3 root wheel 128 Jun 5 07:35 mnt
drwxr-xr-x 2 vince vince 10 Apr 4 2016 nonexistent
dr-xr-xr-x 2 root wheel 2 Dec 9 03:45 proc
drwxr-xr-x 2 root wheel 143 Dec 21 05:19 rescue
drwxr-xr-x 5 root wheel 15 Apr 19 13:07 root
drwxr-xr-x 2 root wheel 128 Dec 21 05:19 sbin
lrwxr-xr-x 1 root wheel 11 Dec 9 03:42 sys -> usr/src/sys
lrwxr-xr-x 1 root wheel 8 Dec 9 03:42 tmp -> /var/tmp
drwxr-xr-x 16 root wheel 16 Dec 9 03:45 usr
drwxr-xr-x 30 root wheel 1920 Jun 5 07:35 var

[root@freenas2 ~]# du -sh /*
4.0K /COPYRIGHT
723K /bin
54M /boot
5.0K /compat
11M /conf
12M /data
4.5K /dev
4.5K /entropy
8.7M /etc
5.3M /lib
101K /libexec
1.5K /media
6.2T /mnt
11K /nonexistent
1.5K /proc
4.9M /rescue
26G /root
3.7M /sbin
512B /sys
512B /tmp
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Looks like there is 26 GB in /root (see below).
Yep, there's your problem. Move it somewhere onto the pool. And if you're using FTP, check its configuration to make sure its root path isn't / or /root.
 

Vince Claude

Cadet
Joined
Nov 17, 2015
Messages
5
Excuse my ignorance. I'm looking at /root and I don't see any 26 GB (below). Are they hidden?
Shell
[root@freenas2 ~]# cd /root
[root@freenas2 ~]# ls -al
total 55
drwxr-xr-x 5 root wheel 15 Apr 19 13:07 .
drwxr-xr-x 20 root wheel 27 Jun 5 07:35 ..
-rw------- 1 root wheel 1476 Jun 5 07:46 .bash_history
-rw-r--r-- 1 root wheel 1128 Dec 9 03:42 .bashrc
-rw-r--r-- 1 root wheel 1229 Dec 9 03:42 .cshrc
-rw-r--r-- 1 root wheel 97 Dec 9 03:42 .gdbinit
-rw------- 1 root wheel 11393 Apr 19 12:01 .history
-rw-r--r-- 1 root wheel 80 Dec 9 03:42 .k5login
-rw-r--r-- 1 root wheel 82 Dec 9 03:42 .login
-rw-r--r-- 1 root wheel 559 Dec 21 05:19 .profile
-rw-r--r-- 1 root wheel 1128 Dec 9 03:42 .shrc
drwxr-xr-x 2 root wheel 2 Nov 19 2015 .ssh
drwxr-xr-x 2 root wheel 7 Sep 8 2016 bin
drwxrwxr-x 3 root wheel 3 Apr 19 13:07 media
-rw------- 1 root wheel 430080 Oct 10 2016 secrets.tdb
[root@freenas2 ~]# pwd
/root
 

Vince Claude

Cadet
Joined
Nov 17, 2015
Messages
5
Found it ... in /root/media/Data1/Work (see below).

Remnants of a WGET from Jan 20 2016 ( I think WGET is an FTP function). I looked at FTP service and it's path points to /mnt/NAS2 which I believe is the RAID Zpool not the boot FOB.

Can I just delete all of the files form 2016 in /root/media/Data1/Work?

[root@freenas2 ~/media]# ls -al
total 9
drwxrwxr-x 3 root wheel 3 Apr 19 13:07 .
drwxr-xr-x 5 root wheel 15 Apr 19 13:07 ..
drwxrwxr-x 3 root wheel 3 Apr 19 13:07 Data1

[root@freenas2 ~/media]# cd Data1
[root@freenas2 ~/media/Data1]# ls -al
total 9
drwxrwxr-x 3 root wheel 3 Apr 19 13:07 .
drwxrwxr-x 3 root wheel 3 Apr 19 13:07 ..
drwxrwxr-x 2 root wheel 7 Apr 19 13:34 Work
[root@freenas2 ~/media/Data1]# cd Work
[root@freenas2 ~/media/Data1/Work]# ls -al
total 54341302
drwxrwxr-x 2 root wheel 7 Apr 19 13:34 .
drwxrwxr-x 3 root wheel 3 Apr 19 13:07 ..
-rw-rw-r-- 1 root wheel 27805475328 Jan 20 2016 100GB-ETC
-rw-rw-r-- 1 root wheel 42 Jan 27 2016 100GB-ETC 01-19-2017@0800.txt
-rw-rw-r-- 1 root wheel 165 Jan 11 14:23 150GB-ALL 04-18-2017@1804.txt
-rw-rw-r-- 1 root wheel 42 Jan 27 2016 150GB-PIX 01-04-2017@1400.txt
-rw-rw-r-- 1 root wheel 1228 Apr 19 12:37 WGET Synch NAS2 to NAS1.txt
[root@freenas2 ~/media/Data1/Work]#
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Can I just delete all of the files form 2016 in /root/media/Data1/Work?
You could, but the simplest thing to do would be to delete /root/media in its entirety. You shouldn't ordinarily be storing anything significant in /root/.
 

Vince Claude

Cadet
Joined
Nov 17, 2015
Messages
5
You could, but the simplest thing to do would be to delete /root/media in its entirety. You shouldn't ordinarily be storing anything significant in /root/.
Perfect! I removed /root/media and I am at 8% now instead of 96%.
Thanks so much for the help.
 
Status
Not open for further replies.
Top