Folders linked to Disk Usage analysis app following OS upgrade
-
- Posts: 72
- Joined: 2020/01/29 07:42:36
Re: Folders linked to Disk Usage analysis app following OS upgrade
And to add to the injury, the root folder is now locked out and the system is stating that it is near full.
-
- Posts: 72
- Joined: 2020/01/29 07:42:36
Re: Folders linked to Disk Usage analysis app following OS upgrade
Code: Select all
ABRT has detected 49 problem(s). For more info run: abrt-cli list --since 1615976906
[root@centoslowdell admin]# abrt-cli list
id 1158cae043f131585ea914b91c97abecdd0db557
time: Sun 18 Apr 2021 14:15:05 CEST
uid: 0 (root)
count: 1
Directory: /var/spool/abrt/vmcore-127.0.0.1-2020-11-28-18:18:38
Code: Select all
[root@centoslowdell /]# ls -al
total 324
dr-xr-xr-x. 18 root root 267 Apr 19 07:25 .
dr-xr-xr-x. 18 root root 267 Apr 19 07:25 ..
drwxr-xr-x. 2 root root 6 Jan 18 21:46 adobe
lrwxrwxrwx. 1 root root 7 Nov 22 00:21 bin -> usr/bin
dr-xr-xr-x. 6 root root 4096 Apr 18 12:05 boot
drwxr-xr-x. 24 root root 4000 Apr 19 07:26 dev
drwxr-xr-x. 172 root root 12288 Apr 19 07:25 etc
drwxr-xr-x. 3 root root 19 Nov 22 15:11 home
lrwxrwxrwx. 1 root root 7 Nov 22 00:21 lib -> usr/lib
lrwxrwxrwx. 1 root root 9 Nov 22 00:21 lib64 -> usr/lib64
drwxr-xr-x. 2 root root 6 Apr 18 07:50 media
drwxr-xr-x. 3 root root 21 Nov 22 23:37 mnt
drwxr-xr-x. 11 root root 209 Apr 17 11:27 opt
dr-xr-xr-x. 355 root root 0 Apr 19 07:24 proc
-rw-r--r--. 1 root root 275408 Apr 19 07:25 .readahead
dr-xr-x---. 19 root root 4096 Apr 19 07:58 root
drwxr-xr-x. 49 root root 1540 Apr 19 07:54 run
lrwxrwxrwx. 1 root root 8 Nov 22 00:21 sbin -> usr/sbin
lrwxrwxrwx. 1 root root 19 Nov 22 22:52 snap -> /var/lib/snapd/snap
drwxr-xr-x. 2 root root 6 Apr 11 2018 srv
dr-xr-xr-x. 13 root root 0 Apr 19 07:25 sys
drwxrwxrwt. 72 root root 16384 Apr 19 08:00 tmp
drwxr-xr-x. 14 root root 166 Mar 2 10:07 usr
drwxr-xr-x. 24 root root 4096 Nov 22 22:52 var
-
- Posts: 72
- Joined: 2020/01/29 07:42:36
Re: Folders linked to Disk Usage analysis app following OS upgrade
When I login with KDE, dolphin opens the folders properly and the wastebasket works. But I would prefer to get GNOME back
Re: Folders linked to Disk Usage analysis app following OS upgrade
What's the output of df?
Don't know if it will work, when using KDE, try to rename .gnome and .mozilla in your home directory.
Don't know if it will work, when using KDE, try to rename .gnome and .mozilla in your home directory.
-
- Posts: 72
- Joined: 2020/01/29 07:42:36
Re: Folders linked to Disk Usage analysis app following OS upgrade
Code: Select all
[admin@centoslowdell ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 16287276 0 16287276 0% /dev
tmpfs 16303668 246368 16057300 2% /dev/shm
tmpfs 16303668 10084 16293584 1% /run
tmpfs 16303668 0 16303668 0% /sys/fs/cgroup
/dev/sda4 51175000 50731252 443748 100% /
/dev/loop7 223232 223232 0 100% /var/lib/snapd/snap/gnome-3-34-1804/60
/dev/loop1 188544 188544 0 100% /var/lib/snapd/snap/blender/65
/dev/loop2 100352 100352 0 100% /var/lib/snapd/snap/core/10583
/dev/loop8 191616 191616 0 100% /var/lib/snapd/snap/blender/111
/dev/loop4 52352 52352 0 100% /var/lib/snapd/snap/snap-store/518
/dev/loop0 56832 56832 0 100% /var/lib/snapd/snap/core18/1944
/dev/loop3 56832 56832 0 100% /var/lib/snapd/snap/core18/1997
/dev/loop9 66432 66432 0 100% /var/lib/snapd/snap/gtk-common-themes/1514
/dev/loop5 101632 101632 0 100% /var/lib/snapd/snap/core/10958
/dev/loop6 224256 224256 0 100% /var/lib/snapd/snap/gnome-3-34-1804/66
/dev/sda2 1038336 383348 654988 37% /boot
/dev/sda1 1046516 11624 1034892 2% /boot/efi
/dev/mapper/centos-home 838447108 502083236 336363872 60% /home
tmpfs 3260736 48 3260688 1% /run/user/1000
Many thanks for help.
Re: Folders linked to Disk Usage analysis app following OS upgrade
Your root file system is (almost) full:
/dev/sda4 51175000 50731252 443748 100% /
Look at this thread on how to find out what's using disk space:
viewtopic.php?f=54&t=77441
/dev/sda4 51175000 50731252 443748 100% /
Look at this thread on how to find out what's using disk space:
viewtopic.php?f=54&t=77441
Re: Folders linked to Disk Usage analysis app following OS upgrade
Yes. I don't think that there is .gnome directory. I think that most user settings are in .configchlowden007 wrote: ↑2021/04/19 11:55:28Is the goal of renaming .gnome and .mozilla to force the machine to create new default configs?
Profiles of Firefox are in .mozilla but there is no need to recreate them unless they too have issues.
The (file) icons that you see on desktop are in directory Desktop
However, your more urgent issue is that filesystem / is full.
The home directories of regular users are in /home and that is not full.
The first thing is to find out where in / there are lot of files:
Code: Select all
sudo du -d 1 -mx / | sort -n
Code: Select all
$ sudo du -d 1 -mx / | sort -n
1 /media
1 /mnt
1 /srv
48 /etc
291 /root
1001 /var
1808 /opt
10351 /usr
13497 /
Code: Select all
$ sudo du -d 1 -mx /usr | sort -n
1 /usr/etc
1 /usr/games
68 /usr/sbin
92 /usr/include
138 /usr/src
275 /usr/libexec
404 /usr/bin
1440 /usr/lib
2067 /usr/share
2861 /usr/lib64
3009 /usr/local
10351 /usr
Now it is your turn to study your system to find where and what you have.
You can immediately free some space with:
Code: Select all
sudo yum --enablerepo=* clean all
sudo package-cleanup --oldkernels
It will not touch the currently running kernel and leaves two latest kernels installed too.
You can also sudo yum remove kernel-3.10.0-1160.6.1.el7.x86_64 but that does not remove all packages related to the 3.10.0-1160.6.1.
PS. The list of packages that were updated was actually quite short. Point updates are much bigger (but CentOS 7 will not get any more of those).
-
- Posts: 72
- Joined: 2020/01/29 07:42:36
Re: Folders linked to Disk Usage analysis app following OS upgrade
Code: Select all
0 /adobe
0 /media
0 /mnt
0 /srv
51 /etc
4587 /root
8130 /opt
9626 /usr
12115 /var
14747 /tmp
49255 /
Code: Select all
sudo rm -R /tmp/
As for /var
Code: Select all
[admin@centoslowdell ~]$ sudo du -d 1 -mx /var | sort -n
[sudo] password for admin:
0 /var/account
0 /var/adm
0 /var/empty
0 /var/games
0 /var/gopher
0 /var/kerberos
0 /var/local
0 /var/nis
0 /var/opt
0 /var/preserve
0 /var/target
0 /var/www
0 /var/yp
1 /var/BlackmagicDesign
1 /var/db
1 /var/snap
73 /var/cache
145 /var/log
186 /var/tmp
1017 /var/spool
1127 /var/crash
9265 /var/lib
11812 /var
I have a feeling the 2 app suppliers below are filling up the drive
1693 /var/lib/snapd
6628 /var/lib/flatpak
but I cannot see much on the web on how to clean / manage this.
Thank you
Re: Folders linked to Disk Usage analysis app following OS upgrade
There is systemd-tmpfiles-clean.service that runs daily.
From /usr/lib/tmpfiles.d/tmp.conf one gets impression that removing all from /tmp is not nice:
You should look more carefully what /tmp contains.
rpm -qd flatpak shows lot of documentation.
flatpak list should show what flatpaks you have installed.
flatpak uninstall is probably the command that removes something.
snapd: "Snappy is a modern, cross-distribution, transactional package manager designed for working with self-contained, immutable packages."
It must have documentation.
Home directory of superuser (/root), has 4GB. I would check that. The 51 MB in configs (/etc) feels lot too (but is a "small fish").
Code: Select all
man tmpfiles.d
man systemd-tmpfiles
Code: Select all
# Clear tmp directories separately, to make them easier to override
v /tmp 1777 root root 10d
v /var/tmp 1777 root root 30d
# Exclude namespace mountpoints created with PrivateTmp=yes
x /tmp/systemd-private-%b-*
X /tmp/systemd-private-%b-*/tmp
x /var/tmp/systemd-private-%b-*
X /var/tmp/systemd-private-%b-*/tmp
rpm -qd flatpak shows lot of documentation.
flatpak list should show what flatpaks you have installed.
flatpak uninstall is probably the command that removes something.
snapd: "Snappy is a modern, cross-distribution, transactional package manager designed for working with self-contained, immutable packages."
It must have documentation.
Home directory of superuser (/root), has 4GB. I would check that. The 51 MB in configs (/etc) feels lot too (but is a "small fish").
Re: Folders linked to Disk Usage analysis app following OS upgrade
Also, the default config is to have /tmp as a tmpfs filesystem so to get that on a physical disk means that you have specifically enabled it. If it was tmpfs it would disappear at every reboot, if it's not then you have to clean it up.
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
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