On 3/6/25 17:24, Maureen Thomas wrote:
I am running Debian 12 fulled updated. I keep getting a message saying
that my /var is almost full. What can I safely delete to make more room
for it. It is an HP Desktop Mo1-F3xxx, 8gb ram, Realtec Audio, AMD
Ryzen 5 5600G. I also have a 2TB Seagate HD plugged in for backups.
Any help will be greatly appreciated.
Moe
Short term solution:
# apt-get autoremove
# apt-get autoclean
Long term solution:
That sounds like the traditional problem of how to partition your disks
-- no matter how you do it, one partition always fills up first.
I have a SOHO network with various clients and a file server. I am the
only user on my Debian machines, so that simplifies things.
I put each Debian instance on a small, fast SSD. I use d-i to partition
manually as follows:
1 GB boot
1 GB encrypted swap
13 GB LUKS encrypted root
I keep the Debian instance small so that it fits onto a single "16 GB"
device -- HDD, SSD, USB flash drive, SD card, etc.. This expedites
image creation, expedites image restoration, and reduces image storage
requirements. Disaster recovery consists of restoring the last image,
updating the OS, and restoring the last /home backup.
I mount my file server personal directory at /samba/dpchrist and create
symlinks from /home/dpchrist/* to /samba/dpchrist/* directories as
desired. The idea is to keep terminals and Thunar responsive even if
the network or file server go down.
If you have a single computer, you could use a NAS, RAID, or HDD in
place of a file server.
David