Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Backup partition (ext4) running out of space? tune2fs to the rescue!
Thursday - Jan 14th 2016 - by - (0 comments)

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

command:

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.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6939 Days
until Death of Computers
Why?