Backup partition (ext4) running out of space? tune2fs to the rescue!

Written by - 0 comments

Published on - Listed in Linux

A partition, uniquely reserved for backups, was running out of space. To immediately free some space, I decided to remove the 5% reserved disk allocation (that's the ext4 default) and set it to 0%.

df before:

/dev/mapper/vgdata2-backup  ext4   906G  856G  3.7G 100% /backup


tune2fs -m 0 /dev/mapper/vgdata2-backup

df afterwards:

/dev/mapper/vgdata2-backup  ext4   906G  856G   50G  95% /backup

Fast and easy.

Side note: Never do this on your system partition!

Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.