Main disk out of space

goldenmedal

Dabbler
Joined
Jan 29, 2023
Messages
10
Ive being trying to invetigate and get to the bottom of what is going on, but i cannot, may i get some help?

here is the results:

```
209612165 /root
149642 /var
1 /packages
1 /opt
73547 /boot
1 /srv
1 /mnt
28 /conf
181 /data
1 /media
7934 /etc
2457889 /usr
1 /home
127 /otp
212301530 /
```
 

goldenmedal

Dabbler
Joined
Jan 29, 2023
Messages
10
Ive being trying to invetigate and get to the bottom of what is going on, but i cannot, may i get some help?

here is the results:

```
209612165 /root
149642 /var
1 /packages
1 /opt
73547 /boot
1 /srv
1 /mnt
28 /conf
181 /data
1 /media
7934 /etc
2457889 /usr
1 /home
127 /otp
212301530 /
```
I also keep getting:

Space usage for pool "boot-pool" is 96%. Optimal pool performance requires used space remain below 80%.​

 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Which are you using, Core or SCALE?
What version of TrueNAS?
How large is your boot-pool device?
What units are those number above?

It is recommended to have something like 16GB as a minimum, though some people have gotten away with 8GBs.

One thing TrueNAS users, (both Core & SCALE), have to do, is manage the alternate boot environments. Every upgrade creates a new alternate boot environment as a back out plan. After a while, they start to waste space. Generally keeping 3 or 4 is fine. But, if you have more, you remove the oldest(s) to free up space. The exact place this is done might be different between TrueNAS Core and SCALE, so back to the above questions.
 

goldenmedal

Dabbler
Joined
Jan 29, 2023
Messages
10
I don`t remember if i setup anything like that, probably must be the default, is there a way to change it?
TrueNAS-SCALE-22.02.2.1

How do i get the size of boot-pool?

Those numbers are a du -d 1 -x / on shell from the web ui.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
The alternate boot environments are automatically created upon updates, giving you the ability to back out an update that you find does not work for you. If you have not updated very much, then they should not take up much space.

You can get the size of your boot-pool using:
zpool list boot-pool

If I am reading these numbers right, "209,612,165 /root", you have something like a 240GB / 256GB boot drive, and have accidentally put 209GBs into the home folder of the user "root". This is a mistake. You probably intended the files to go on to your data pool. This should help you find the files and determine whether to keep them, and move them to the data pool. Or remove them.
ls -lah /root
 
Top