rodgoslin wrote:To my mind the root partition is a place where user files are never, never put. But now, I find that as a matter of course, user files find their way in via /run/, a very dubious idea to my mind.
df -P /run
Filesystem 1024-blocks Used Available Capacity Mounted on
tmpfs 16444888 1316 16443572 1% /run
rodgoslin wrote:In earlier Windows days, I had a utility, Tree Size Pro which graphically showed where the stuff was and how much of the available space it used. I've not found anything in Linux to match it.
du
du -smx /*|sort -rn
du -mx /|sort -rn|head
[root@down tmp]# du -smx /*|sort -rn
du: cannot access ‘/proc/16605/task/16605/fd/3’: No such file or directory
du: cannot access ‘/proc/16605/task/16605/fdinfo/3’: No such file or directory
du: cannot access ‘/proc/16605/fd/3’: No such file or directory
du: cannot access ‘/proc/16605/fdinfo/3’: No such file or directory
3314372 /home4
1835368 /home3
1610622 /home
10838 /usr
2753 /var
502 /root
195 /opt
125 /boot
36 /etc
1 /tmp
1 /srv
1 /run
1 /mnt
1 /media
1 /lost+found
1 /initrd
1 /home2
0 /sys
0 /sbin
0 /proc
0 /lib64
0 /lib
0 /dev
0 /bin
[root@down tmp]#
rodgoslin wrote:One snag, with looking at the root system, is that practically everything else is mounted in it, so obscuring what I'm looking for.
df -Pm /
du -mx /|sort -rn|head -35
[root@down tmp]# df -Pm /
Filesystem 1048576-blocks Used Available Capacity Mounted on
/dev/sda1 15437 14630 0 100% /
[root@down tmp]# du -mx /|sort -rn|head -35
14447 /
10838 /usr
4604 /usr/src
2753 /var
2221 /usr/lib64
1955 /usr/share
1607 /var/log
1545 /var/log/journal/d2989e3c112e47ce81f33a44bfaf036f
1545 /var/log/journal
1323 /usr/lib
612 /usr/bin
584 /var/tmp
579 /usr/src/kernel-4.1.8-1.mga5
579 /usr/src/kernel-4.1.15-2.mga5
579 /usr/src/kernel-4.1.15-1.mga5
579 /usr/src/kernel-4.1.13-2.mga5
579 /usr/src/kernel-4.1.12-1.mga5
573 /usr/src/kernel-3.19.8-3.mga5
573 /usr/src/kernel-3.19.8-2.mga5
571 /var/tmp/kdecache-rod
569 /usr/src/kernel-3.19.4-2.mga5
502 /root
497 /root/.local/share/Trash/files/BEAN_MOVIE_G52/BDMV
497 /root/.local/share/Trash/files/BEAN_MOVIE_G52
497 /root/.local/share/Trash/files
497 /root/.local/share/Trash
497 /root/.local/share
497 /root/.local
494 /root/.local/share/Trash/files/BEAN_MOVIE_G52/BDMV/STREAM
441 /usr/lib/modules
333 /usr/src/kernel-4.1.8-1.mga5/drivers
333 /usr/src/kernel-4.1.15-2.mga5/drivers
333 /usr/src/kernel-4.1.15-1.mga5/drivers
333 /usr/src/kernel-4.1.13-2.mga5/drivers
333 /usr/src/kernel-4.1.12-1.mga5/drivers
[root@down tmp]#
rodgoslin wrote:
- Code: Select all
4604 /usr/src
571 /var/tmp/kdecache-rod
497 /root/.local/share/Trash/files/BEAN_MOVIE_G52/BDMV
rodgoslin wrote:I did note, after running the du -mx command, that the old kernel files were still there, and a possible source of the problem. But then, I still thought that the kernel files were held in the /boot directory, and that was still small.. I also , perhaps naively, that issuing the command 'remove' in the boot setup function of the the Control Centre, would actually remove the unwanted kernel structures.
rodgoslin wrote:Thanks for the assist in this. I'll keep in mind the necessity to separately delete the kernel source packages, in future.
Users browsing this forum: Baidu [Spider] and 1 guest