freenas-boot capacity warning - How to free up space???

Status
Not open for further replies.

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
Hi,

I am running on FreeNAS 9.10 stable release on a mirrored 16GB USB Stick(s) and get the capacity warnings so I wiped all boot environments except the last two.

Still I have 84% occupied!? How can I free up the space manually or wipe the USB boot images? Just started a scrub process but not sure if that helps...
freenas-boot.png
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0h5m with 0 errors on Sun May 15 13:43:49 2016
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da0p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0

errors: No known data errors
 
D

dlavigne

Guest
My bad (need more coffee). Meant to ask for output of zfs list freenas-boot .
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
# zfs list freenas-boot
NAME USED AVAIL REFER MOUNTPOINT
freenas-boot 12.0G 1.90G 31K none

P.S.: I deleted the last boot Image but still 83% full
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
The output of zfs list -r freenas-boot eventually gives some more bits of information.
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
# zfs list -r freenas-boot
NAME USED AVAIL REFER MOUNTPOINT
freenas-boot 12.0G 1.90G 31K none
freenas-boot/ROOT 12.0G 1.90G 25K none
freenas-boot/ROOT/9.10-STABLE-201605021851 12.0G 1.90G 12.0G /
freenas-boot/grub
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
For whatever reason your current boot environment takes up very much space.

For comparison:
Code:
NAME                                                USED  AVAIL  REFER  MOUNTPOINT
freenas-boot                                       3.94G  9.98G    31K  none
freenas-boot/ROOT                                  3.39G  9.98G    31K  none
freenas-boot/ROOT/9.10-STABLE-201604140622         9.95M  9.98G  1010M  /
freenas-boot/ROOT/9.10-STABLE-201604181743         10.8M  9.98G   943M  /
freenas-boot/ROOT/9.10-STABLE-201604261518         9.81M  9.98G   954M  /
freenas-boot/ROOT/9.10-STABLE-201605021851         3.35G  9.98G  1001M  /
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201602031011  8.31M  9.98G  1.01G  /
freenas-boot/grub                                   550M  9.98G  10.3M  legacy
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
This is odd.... How can I investigate further on and fix this?
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
I'm not sure, maybe a process that writes tons of logs is causing this. The system dataset seems to be not on the boot media, correct?
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
I'm not sure, maybe a process that writes tons of logs is causing this. The system dataset seems to be not on the boot media, correct?
Nope... it's not on the boot device
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
du -d 1 -x / should help to see where all those data reside.

Code:
# du -d 1 -x /
8       /etc
864066  /usr
1234    /bin
5896    /sbin
10397   /lib
7961    /rescue
19011   /conf
24639   /data
2       /media
83329   /boot
155     /libexec
4       /mnt
3       /compat
4       /var
563     /root
2       /proc
1       /dev
1017290 /
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
# du -d 1 -x /
3 /proc
120 /root
8 /mnt
91938 /boot
1 /dev
8 /var
9652 /rescue
20366 /conf
24079533 /nonexistent
16 /etc
33697 /data
7232 /sbin
850349 /usr
1446 /bin
3 /media
10810 /lib
6 /compat
198 /libexec
25105416 /
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
Thanks buddy! That fixed the issue for me as obviously a faulty ftp setup saved data into /nonexistent and filled up the USB flash drive.
I was yesterday attaching 2x CCcams via ftp and obviously provided a wrong ftp server+dir which ended up in uploading the video and snapshots into the root folder of the FreeNAS environment (mounted on /).
I deleted this data now with "rm -rf /nonexistent" and disabled the ftp server for now as I need to make sure it's all uploaded into a dataset used solely for ftp...

Now it looks much better and only 3% used up ;-)
 

hikurakx

Dabbler
Joined
Dec 20, 2015
Messages
19
Hi, I'm having a similar issues and still not sure what is filling it up, please help.
upload_2016-5-17_10-7-43.png


ran zpool list freenas-boot:
upload_2016-5-17_10-10-15.png


then: zfs list -r freenas-boot:
upload_2016-5-17_10-12-19.png


then: du -d 1 -x /:
upload_2016-5-17_10-13-28.png



Can someone please help? Thank you!!!
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
Check what exactly is in your /nonexistent directory... That might give you some more background as you could probably identify the files...

After wipe that folder if you are sure that you don't need this data anymore...otherwise copy it off to /mnt/poolXYZ or somewhere else first before you wipe with "rm -Rf /nonexistent"
 

Gessi

Dabbler
Joined
Feb 1, 2016
Messages
35
Then obviously some process is saving data in there...you need to findout what process and what data...
 
Status
Not open for further replies.
Top