On 2015-05-15 22:19, Ted Byers wrote:
On Thu, May 14, 2015 at 9:12 PM, Felix Miata <> wrote:
Carlos E. R. composed on 2015-05-15 02:48 (UTC+0200):
Well, I got rid of some old RPM files, and that freed some space.
It looks like I now have about 15 MB on /, rather than 0 MB. But, that doesn't seem enough.
Certainly. You should have about 5 GiB free for the system to work nicely.
I am appending a list of the contents of /var/log. Is there a quick way to get rid of those logs that are, say, more than a month old - or perhaps a log management tool that can get rid of old logs and shrink current ones? I am curious as to why some of the logs (firewall and y2log esp.) for which the current log is HUGE, substantially greater than the previous files.
It is done by logrotate. Up to 13.1 it is a cron job, on 13.2 it is a systemd timer which is not clever enough to run if the system was powered off at the precise time. Your y2log file is tiny. Just 10 megs.
I note, above, that /home has lots of space. It has been suggested that I move /usr/share, so could I copy it there and mount it from there. But the question is, how would I do that, and how much space would that free on /.
How much space: du -hs /usr/share Copy (run as root): rsync --archive --acls --xattrs --hard-links \ --del --stats --human-readable \ /usr/share /home/_usr_share Once copied, boot from a live system, and do this: mv /usr/share /usr/share.old ln -s /home/_usr_share /usr/share Then reboot your system in text mode, verify that it works so far. Then you can remove "/usr/share.old"
I guess I could copy the contents of /home to one of my other machines, and completely reinstall everything (as a last resort). I believe the file systems are ext4. Can they be resized (make /home smaller and then make / bigger)?
Resize as bigger is certainly possible. Smaller, I'm unsure. You would need a gparted live cd. If you had 'mc' installed (Midnight Commander), one of its functionalities is list directory sizes. You can use that to find what directory is that huge, if any. Otherwise, try: du -hsx --exclude=/proc --exclude=/sys --exclude=/run --exclude=/dev /* That will tell you the sizes of all your directories sprouting from the root (not all possible mounts, though: for that, remove the 'x'). -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)