Run out of disk space and not sure how to fix

I’m running DietPi v8.22.3 on a small factor PC.
I have a 128GB SSD and somehow something has used up all the disk space and I don’t really have the Linux command line skills to fix it so any help would be appreciated.

My investigation attempts seem to point to /dev/sda2/ taking up all the space but I’m not sure what else to do from here?

image

I think it might be something to do with backups…

1 Like

Yes, your backups filled your SSD.
In dietpi-backup you can set an amount how many backups will be saved.

1 Like

Yeah 7 times 15 GB. :wink: you should reduce to something like 5 or 4 backups

Yeah took me a while to figure out the right commands to determine what was using up the space.
And have now figured out how to reduce the number of backups.
Ideally I’d backup to my NAS but it doesn’t like CIFS drives…
So possibly just a USB drive… But at least I’m back up and running now :slight_smile:

Yes because Samba don’t support Unix file system permissions. Therefore you would need to use NFS if you like to backup to a NAS system.

A local system backup to a storage which might crash (e.g. SD card complete defect) should not be done.
Backing up to a physically different storage is much better.

1 Like

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.