New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Reclaim ext4 reserved disk space to save some capacity
Hi, while testing my new VPS I remember something that maybe some of you guys still don't know so I want to share here.
By default the ext4 filesystem will reserve 5% of disk capacity for root user. For a 100TB disk we'll lose 5TB for this functionality which we don't really need.
But we can run tune2fs -m 0 [ext4 partition] to turn the reserved space to 0% and reclaim the capacity.
It's not recommended to do if the partition if your root partition.
Thanked by 1xxsl