George from the tribe composed on 2016-09-20 14:07 (UTC+0800):
Richard Brown wrote:
The title of this thread could just as easily be "my root filesystem is too small"
Yes, that is a good point. My root file system is only 20GB, and I have been thinking about making it bigger. I need to take some time to do that, and will have to partition some other drives differently than I currently have them partitioned.
I often used to wonder (before btrfs became default / filesystem), why recommended / size is as large as it is. Mine (ext4): /dev/md4 18011336 6802504 10270856 40% / On this my 24/7 dekstop/LAN server with KDE3 as the only non-essential DE, I have only /tmp, /home, /srv and /usr/local as separate standard directories located on separate filesystems. /var/log/journal* is a quite a bit of that total, 1122344 blocks. journald.conf seems to be just as it came from its rpm in June. My 64 bit test installations are mostly on 5.6G partitions with only /home, /srv and /usr/local separated.
However, as Carlos was saying earlier, having it that big apparently ends up using quite a bit of RAM un-necessarily.
A big / filesystem with a lot of unneeded packages installed takes a lot of extra time and bandwidth to install, update, backup, restore, and rpm/zypp database search. Impact on RAM I can't see. Of 16G installed, typically well under half is committed including disk cache. Right now with 6 days' uptime, 51.8% is in "use", of which 28% is disk cache.
I have always been told that 20GB should be plenty big for a root file system. It seems that the journal was the main component. I set the limit to 300M, quite a bit bigger than the example recommends, and it gave me enough room to run my kernel update.
The confusing thing now is that my journal file is quite a bit smaller - it says 345M at the moment - but when I made that change and rebooted, I cleared about a total of 4GB of use off my root system. Before I limited the size, when I ran du -d -1 -h -x on the root system, it had a total of 19G used. Now it has a total of 15G used.
# du -d 1 -h -x / | sort 1.1G /lib 1.6G /var 138M /boot 16K /lost+found 18M /lib64 22M /etc 3.2G /usr 386M /opt 4.0K /media 4.0K /mnt 4.0K /selinux 4.7M /bin 4.9M /sbin 6.5G / 95M /root # du -s -x / 6757360 / -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org