[solved] Low filesystem root message

General support questions
User avatar
trevor14smith
Posts: 34
Joined: 2017/02/25 16:51:35
Contact:

[solved] Low filesystem root message

Post by trevor14smith » 2020/06/30 10:58:09

Started getting a volume "filesystem root" warning message.
I have recently installed snapd to allow me to access hey email
here is df -Th
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 7.7G 0 7.7G 0% /dev
tmpfs tmpfs 7.8G 79M 7.7G 1% /dev/shm
tmpfs tmpfs 7.8G 11M 7.8G 1% /run
tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/centosVG-root ext4 9.1G 8.6G 50M 100% /
/dev/sda2 ext4 453M 376M 50M 89% /boot
/dev/sda1 vfat 476M 12M 465M 3% /boot/efi
/dev/mapper/centosVG-var ext4 9.1G 2.4G 6.2G 28% /var
/dev/mapper/centosVG-home ext4 92G 70G 18G 81% /home
/dev/loop1 squashfs 63M 63M 0 100% /var/lib/snapd/snap/hey-mail/3
/dev/loop2 squashfs 55M 55M 0 100% /var/lib/snapd/snap/core18/1754
/dev/loop5 squashfs 162M 162M 0 100% /var/lib/snapd/snap/gnome-3-28-1804/128
/dev/loop4 squashfs 30M 30M 0 100% /var/lib/snapd/snap/snapd/8140
/dev/loop6 squashfs 58M 58M 0 100% /var/lib/snapd/snap/hey-mail/2
/dev/loop0 squashfs 44M 44M 0 100% /var/lib/snapd/snap/snap-store/415
/dev/loop3 squashfs 63M 63M 0 100% /var/lib/snapd/snap/gtk-common-themes/1506
tmpfs tmpfs 1.6G 56K 1.6G 1% /run/user/1000
/dev/sdc1 ext2 459G 214G 222G 50% /run/media/trevor/FEDORA

Did I allocate enough root space when installing?
Do I need to resize root?
Any other suggestions?

Thanks..
Last edited by trevor14smith on 2020/07/04 13:42:34, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Low filesystem root message

Post by TrevorH » 2020/06/30 11:04:40

/dev/mapper/centosVG-root ext4 9.1G 8.6G 50M 100% /
Not just low, full.

Start by running du -m -x -d 1 / to discover the top level directory that contains all your space. Run that, pick the one that uses the most space and then repeat the same command for that directory instead of /. Keep repeating that until you get to the bottom of the directory tree where all your space is used then check if those files are there intentionally, whether they are required or if they are just junk.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Low filesystem root message

Post by tunk » 2020/06/30 11:36:02

A relatively standard installation with GUI is around 6-7GB, so 9.1GB is on the small side.

User avatar
trevor14smith
Posts: 34
Joined: 2017/02/25 16:51:35
Contact:

Re: Low filesystem root message

Post by trevor14smith » 2020/06/30 11:45:29

There is a lot in /usr - I find that strange..

du -m -x -d 1 /
1 /srv
1187 /tmp
1 /lost+found
53 /etc
1 /media
38 /root
46 /opt
1 /mnt
7251 /usr
8680 /

du -m -x -d 1 /usr
84 /usr/sbin
218 /usr/libexec
1 /usr/games
2162 /usr/share
1 /usr/etc
1502 /usr/lib
368 /usr/bin
2614 /usr/lib64
46 /usr/include
124 /usr/local
139 /usr/src
7251 /usr

after digging into lib64..Firefox, thunderbird and libreoffice are large.
/usr/lib64/libreoffice/program is the largest..
Any thoughts?
Should I reinstall libreoffice?

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Low filesystem root message

Post by tunk » 2020/06/30 11:51:52

That looks pretty normal to me.
See if you can delete something in /tmp.

User avatar
trevor14smith
Posts: 34
Joined: 2017/02/25 16:51:35
Contact:

Re: Low filesystem root message

Post by trevor14smith » 2020/06/30 12:00:51

There is this large file in /tmp
-rw-rw-r--. 1 trevor trevor 1243623424 Jun 28 13:40 magick-21652uBHJaQsEFs9B.pam
Do you think I can delete it?
Do not know what these files are doing..

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Low filesystem root message

Post by TrevorH » 2020/06/30 12:27:35

I've got no idea whether you can delete that safely or not.. I suspect you can. However it is "only" 1.2GB so is not going to fix the space problem for a long time. The real problem is that 9GB is a bit too small. Do you have any freespace reported in the output from the vgs command?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
trevor14smith
Posts: 34
Joined: 2017/02/25 16:51:35
Contact:

Re: Low filesystem root message

Post by trevor14smith » 2020/06/30 12:36:14

Not really..
vgs
VG #PV #LV #SN Attr VSize VFree
centosVG 1 4 0 wz--n- 119.21g 4.00m

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Low filesystem root message

Post by TrevorH » 2020/06/30 13:18:34

You only seem to have 120GB available to play with and you don't have that much spare on any filesystem.

Removing that file will likely help you in the short term. A longer term solution probably involves adding more disk space.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Low filesystem root message

Post by tunk » 2020/06/30 13:28:12

What do you use the box for? E.g. is it a (critical) server or is it a desktop?
If the latter, one big "/" is more flexible.

Post Reply