Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure logrotate on hypervisors to compress logs #3661

Open
praiskup opened this issue Mar 10, 2025 · 3 comments
Open

Configure logrotate on hypervisors to compress logs #3661

praiskup opened this issue Mar 10, 2025 · 3 comments

Comments

@praiskup
Copy link
Member

We need to cleanup logs.

@praiskup
Copy link
Member Author

/dev/mapper/vg_server-LogVol00 32G 26G 4.1G 87% /

@praiskup
Copy link
Member Author

Cleanup qemu:

find /var/log/libvirt/qemu -mtime +90 -delete

But still:

19G ./log

1.7G    ./libvirt
3.2G    ./journal
19G     .
[root@vmhost-x86-copr01 log][PROD]# ls -lah | grep G
total 14G
-rw-rw-r--.  1 root   utmp            407G Mar 10 08:02 lastlog
-rw-------.  1 root   root            1.2G Mar 10 08:10 messages
-rw-------.  1 root   root            3.5G Feb 23 04:03 messages-20250223
-rw-------.  1 root   root            7.0G Mar  9 04:06 messages-20250309

Removing messages ^^^.

@praiskup
Copy link
Member Author

I just xz messages-20250223 messages-20250309 but we should re-configure logrotate.

@praiskup praiskup changed the title vmhost-x86-copr01.rdu-cc.fedoraproject.org root disk Configure logrotate on hypervisors to compress logs Mar 10, 2025
@nikromen nikromen moved this from Needs triage to In 3 months in CPT Kanban Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In 3 months
Development

No branches or pull requests

1 participant