Boot drive full..9.10.2-U2 seems huge

Status
Not open for further replies.

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
I am trying to clear room after getting
CRITICAL: May 27, 2017, 7:55 a.m. - The capacity for the volume 'freenas-boot' is currently at 94%, while the recommended value is below 80%.

I have looked around the forums for help and see one strange thing.
Code:
[root@freenas] /# zfs list -r freenas-boot
NAME  USED  AVAIL  REFER  MOUNTPOINT
freenas-boot  70.7G  1.52G  31K  none
freenas-boot/ROOT  70.6G  1.52G  25K  none
freenas-boot/ROOT/9.10.2-U1  10.8M  1.52G  647M  /
freenas-boot/ROOT/9.10.2-U2  70.6G  1.52G  70.0G  /
freenas-boot/ROOT/Pre-9.10-STABLE-201605021851-893932  1K  1.52G  481M  legacy
freenas-boot/grub  25.3M  1.52G  6.34M  legacy


Why is 9.10.2-U2 so HUGE next to 9.10.2-U1?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
70GB? Yeah, something is on the boot device that should definitely not be there.
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
Simple enough fix, save the config, then clean install. See @Ericloewe's post below
 
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
The config could be the source of the problem, though. FTP stuff ending up on the boot device is surprisingly common.
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
@Ericloewe I didn't realize that... is there a way to mitigate that prior to it occurring?
 

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
So s fresh install is best? Or backing out to U1 then deleting U2 and install the latest?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
So s fresh install is best? Or backing out to U1 then deleting U2 and install the latest?
None of that. Figure out what exactly is taking up so much space, fix that and go on your merry way.

We can probably help once you've identified the storage hog.

@Ericloewe I didn't realize that... is there a way to mitigate that prior to it occurring?
The question is too vague to be answered. As I said above, this needs to be examined before action is taken.
 

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
None of that. Figure out what exactly is taking up so much space, fix that and go on your merry way.

We can probably help once you've identified the storage hog.


The question is too vague to be answered. As I said above, this needs to be examined before action is taken.

I am used to Ubuntu a little and thought /boot/ only held the OS.
Where do I go to dig down to see what is taking the space? This server is set up to feed a large move and TV shows collection using the Plex plugin.

I do have 3 volumes each made up of 2 mirrored 3t drives.

Where do I start digging to find the issue?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I am used to Ubuntu a little and thought /boot/ only held the OS.
It's supposed to, but if you put something else there it can fill up. What's the output of du -sh /*?
 

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
The config could be the source of the problem, though. FTP stuff ending up on the boot device is surprisingly common.

I was going to respond to you that I did not have FTP services running when I thought I would make sure before just saying it and low and behold FTP IS turned on! I do not use it so turning it off will not effect me at all (in fact it is a bit scary to have it opened. I did firewall SSH but never thought FTP was even on)
Where is the FTP logs,files, ect saved by default so I can delete them and turn it off?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Turning it off is easy; just turn off the switch in the web GUI. Logs are stored in /var/log, which is on your .system dataset, which isn't a problem if you have sensible system settings (i.e., your .system dataset is not on your boot device). Any files received via FTP will be in wherever the FTP path is--go to Services in the web GUI and click on the wrench next to FTP to see what that's set to.
 

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
It's supposed to, but if you put something else there it can fill up. What's the output of du -sh /*?
This is what is shows
Code:
[root@freenas] ~# du -sh /*
4.0K  /COPYRIGHT
 69G  /TV
723K  /bin
 55M  /boot
5.0K  /compat
 11M  /conf
 11M  /data
4.0K  /dev
4.5K  /entropy
8.8M  /etc
5.3M  /lib
101K  /libexec
3.0K  /media

 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
There's your problem; you've put the TV folder on your boot device. It should go on your pool. But this is strange, because your output isn't showing anything for /mnt, which is where your pool would be. What's the output of zfs list?
 

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
There's your problem; you've put the TV folder on your boot device. It should go on your pool. But this is strange, because your output isn't showing anything for /mnt, which is where your pool would be. What's the output of zfs list?

Code:
[root@freenas] /boot# zfs list
NAME  USED  AVAIL  REFER  MOUNTPOINT
Raid2  2.25T  388G  96K  /mnt/Raid2
Raid2/Plex2  2.25T  388G  2.25T  /mnt/Raid2/Plex2
TV  2.61T  23.5G  2.61T  /mnt/TV
freenas-boot  70.7G  1.51G  31K  none
freenas-boot/ROOT  70.6G  1.51G  25K  none
freenas-boot/ROOT/9.10.2-U1  10.8M  1.51G  647M  /
freenas-boot/ROOT/9.10.2-U2  70.6G  1.51G  70.0G  /
freenas-boot/ROOT/Pre-9.10-STABLE-201605021851-893932  1K  1.51G  481M  legacy
freenas-boot/grub  25.3M  1.51G  6.34M  legacy
movies  2.18T  470G  104K  /mnt/movies
movies/.system  477M  470G  402M  legacy
movies/.system/configs-65c46198b16246019b37105eb1e1e307  36.4M  470G  36.4M  legacy
movies/.system/cores  32.9M  470G  32.9M  legacy
movies/.system/rrd-65c46198b16246019b37105eb1e1e307  96K  470G  96K  legacy
movies/.system/samba4  428K  470G  428K  legacy
movies/.system/syslog-65c46198b16246019b37105eb1e1e307  4.20M  470G  4.20M  legacy
movies/PlexMovies  2.06T  470G  2.06T  /mnt/movies/PlexMovies
movies/PlexTV  96K  470G  96K  /mnt/movies/PlexTV
movies/jails  113G  470G  132K  /mnt/movies/jails
movies/jails/.warden-template-pluginjail  469M  470G  469M  /mnt/movies/jails/.warden-template-pluginjail
movies/jails/.warden-template-standard  1.60G  470G  1.60G  /mnt/movies/jails/.warden-template-standard
movies/jails/plexmediaserver_1  111G  470G  111G  /mnt/movies/jails/plexmediaserver_1
[root@freenas] /boot#
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
OK, looks like it was doing the same thing mine is doing: taking a long time to calculate the usage for /mnt, so you only showed the output through /media. Your answer is simple: move /TV (or its contents) somewhere else--looks like /mnt/movies/PlexTV would be the place. mv /TV/* /mnt/movies/PlexTV.

And then figure out why you were putting things in /TV, and change that process to put them in /mnt/movies/PlexTV.

Edit: I see you have a separate pool called TV, and another called RAID2. I'm not sure what your intent is in this regard, but I think you can probably adjust the above command appropriately. But seeing that you have a pool called TV makes it easier to understand what happened--you meant to put stuff in /mnt/TV, but put it in /TV instead.
 

Penbrock

Dabbler
Joined
May 27, 2017
Messages
26
Not sure how but thanks, I do see that one of my series was placed in that /TV folder. deleting the files now as they are also in the normal pools
 
Status
Not open for further replies.
Top