Regular maintenance helps keep your Zirconium system healthy and ensures optimal performance. Most maintenance tasks are automated, but understanding them helps you manage your system effectively.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/zirconium-dev/zirconium/llms.txt
Use this file to discover all available pages before exploring further.
System maintenance overview
Zirconium handles most maintenance automatically:- Flatpak updates: Managed by
uupd(Universal Update) service - Container storage: Automatically cleaned up by systemd timers
- Deployment cleanup: Old bootc deployments are removed to save space
- System logs: Rotated automatically by journald
Container storage management
If you use Podman or Docker for containers, storage can accumulate over time.Checking container storage usage
View storage used by containers:- Images: Container images you’ve pulled or built
- Containers: Stopped and running containers
- Volumes: Persistent data volumes
- Build cache: Cached layers from image builds
Cleaning up container storage
Remove unused images
Remove dangling images (untagged images no longer used):To remove all unused images (not just dangling ones):
Flatpak management
Zirconium includes automatic Flatpak management services.Understanding Flatpak services
Zirconium includes these systemd services for Flatpak:flatpak-add-flathub-repos.service: Adds Flathub repository on first bootflatpak-preinstall.service: Installs pre-configured Flatpaks on first bootuupd.timer: Regularly updates Flatpaks and system packages
Manual Flatpak updates
While updates are automatic, you can manually update Flatpaks:Cleaning up Flatpak storage
Remove unused Flatpak runtimes and extensions:Checking Flatpak storage usage
View storage used by Flatpaks:Cleaning up old deployments
bootc keeps previous deployments for rollback, but you may want to clean up old ones to save space.Checking deployment usage
View all deployments and their storage:/sysroot/ostree/deploy/default/deploy/.
Manual deployment cleanup
bootc automatically keeps a limited number of deployments. To manually clean up:- Current deployment (the one you’re running)
- Previous deployment (for rollback)
- Staged deployment (pending update)
You cannot remove the currently booted deployment or the staged deployment.
Managing system logs
Checking log storage usage
View space used by system logs:Cleaning up old logs
Limit logs to the last 7 days:Persistent log configuration
To permanently limit log storage, edit/etc/systemd/journald.conf:
Disk space overview
Get a complete overview of disk usage:Automated maintenance tasks
Zirconium runs these maintenance tasks automatically:Universal Update (uupd)
Universal Update (uupd)
Runs regularly via Note: uupd is configured with
uupd.timer to update Flatpaks and check for system updates. Check status:--disable-module-distrobox as set in /usr/lib/systemd/system/uupd.service.bootc automatic updates
bootc automatic updates
Checks for system updates weekly via
bootc-fetch-apply-updates.timer. Updates are staged but not applied until you reboot. Check status:systemd-tmpfiles cleanup
systemd-tmpfiles cleanup
Automatically cleans up temporary files in
/tmp and /var/tmp. Check configuration: