Remove file on Full Disk

If one of your Linux volumes is 100% full you may end up having to deal with a scenario where you can’t even remove files from it anymore.

For instance the rm command fails with the following message:

rm: cannot remove X: No space left on device

To work around this, instead of deleting the file, overwrite it as follows:

true > somefilethatyouwanttodelete.bin

Leave a Reply

Your email address will not be published.