As of mid-day Saturday, Oct. 26, here is what '/' filesystem space use
looks like on this work station:
===============
bash.2[/]: df -hP
Filesystem Size Used Avail Use% Mounted on
tmpfs 7.8G 1.7M 7.8G 1% /run
/dev/sda6 50G 24G 23G 52% /
/dev/sda7 904G 7.6G 851G 1% /home
/dev/sda3 477M 237M 211M 53% /boot
[6 others, each using < 1M]
-----
bash.3[/]: du -hx -d1 /
6.1G /var
17G /usr
51M /etc
1.4G /root
238M /opt
[7 others, each using < 1M]
24G /
bash.4[/]:
-----
bash.7[/]: du -hx -d1 /var
3.7G /var/cache
847M /var/spool
565M /var/lib
1.1G /var/log
[16 others, each using < 1M]
6.1G /var
bash.8[/]:
-----
bash.8[/]: du -hx -d1 /var/cache
8.0K /var/cache/abrt-di (left in to show results)
144M /var/cache/PackageKit
44M /var/cache/cups
2.9G /var/cache/system-upgrade
6.7M /var/cache/man
501M /var/cache/dnf
60M /var/cache/akmods
2.2M /var/cache/app-info
[15 others, each using < 1M]
3.7G /var/cache
bash.9[/]:
-----
bash.9[/]: du -hx -d1 /var/log
1.8M /var/log/anaconda
2.8M /var/log/ConsoleKit
873M /var/log/journal
1.2M /var/log/gdm
20M /var/log/rkhunter
40M /var/log/audit
9.7M /var/log/upgrade.journal
2.3M /var/log/boot-sav
[17 others, each using < 1M]
1.1G /var/log
bash.10[/]:
-----
Question 1:
/var/cache/system-upgrade/updates/packages/ takes up 1.6G and appears to
be full of rpm's (1083 of them), each dated 2015 (various months). I do
not know the fine details of dnf and rpm. Can I safely delete them, or
might that break future patching and upgrading, and other dnf/rmp commands?
Question 2:
/var/log/ has 193 files that are not sub-directories, and are not stored
in sub-directories. 134 are from prior years. Curious: all 134 are from
2016 or earlier; this directory has no files from 2017 or 2018. The
files called "messages-[date]" are huge: each over 10M. Can I delete
files older than this year safely, or are they needed for something?
Question 3:
/var/log/rkhunter/ has 184 files, most are from prior years. Am I
correct in assuming that I can delete the files from prior years?
Question 4:
Is there already available some automated deletion of /var/log/ logs
(and its sub-directories other than "journal")?
Question 5:
Are there any other parts of the '/' filesystem that I should clean out
and are worth the trouble?
thanks,
Bill.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx