3 ms·
> So log in as root and fix the issue. Simple. "just fix the issue" often takes longer than 'rm spacer.img', which allows non-root processes to begin working i
by cellularmitosis 6y ago
> So log in as root and fix the issue. Simple.
"just fix the issue" often takes longer than 'rm spacer.img', which allows non-root processes to begin working immediately.
In practice, the 5% root reserve is not really an effective substitute for OP's technique.
- herpderperator 6y agoRunning `tune2fs -m 0 /dev/sdaX` as root instantly makes the reserved blocks available. You could even just lower it by 1% which would be more than sufficient in the meantime: `tune2fs -m 4 /dev/sdaX`. When you've fixed the issue and freed up space, you can increase it to 5% again. So why would you bother making a blank file? :)
- cellularmitosis 6y agobecause 6 months from now I won't have 'tune2fs -m 0 /dev/sdaX' memorized, especially in a panic'ed state. but I'll absolutely have 'rm spacer.img' memorized. (edit: also, if you truly set -m to zero, and you fill up again, now you can't even ssh in as root...)