Re: too-nearly-full filesystem '/'. (was upgrade problem: space on '/' filesystem.)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/22/19 9:50 AM, home user wrote:
(responding to Samuel and Ed; regarding journald mamagement)

Since:
1. I shut down every night, and power up every morning;
2, I patch once every week;
3. when I patch, the system keeps the last two patches;
4. half of my one 2TB hard drive "belongs" to windows-7;
So I'm thinkin this would be good:
* cut space for journals back to 3GB or 6% of '/' (which is 50GB);
* a separate log file per day, with logging switching to a new file overnight; and
* keep journal files for a max of 25 days.

So after backing up "/etc/systemd/journald.conf", I would edit it so:
SystemMaxUse=6%
SystemMaxFiles=25
MaxFileSec=1day

Did I miss something in the journald.conf man page, or is there no way to make the switch to new journal files happen overnight (local time)?

After those three edits, I can save and reboot, or did I miss something?



I would just make this observation.  But, first, I had not changed any defaults on my system and my journals had grown to their max 4GB.  It is now 3GB since I wanted to test some commands.  That being said....

My "work" system is up 24/7.  I run "dnf upgrade" whenever I feel like.  I reboot when new kernels are installed
and when "tracer" indicates a reboot is reccommended after the upgrade.

--list-boots shows 81 with the earliest being  2019-04-07

This tells me that if you're going to keep only 25 days of journal data you'll never come close to using
the 3GB you're allocating.  So, it seems to me, you'll certainly meet your prime objective of having the
journal use less disk space.




--
The key to getting good answers is to ask good questions.
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux