Ancestors

Toot

Written by Ben Pettis on 2025-01-20 at 02:59

Putting this out into the world because it helped me solve my own "Mystery of Where All The Disk Space Went" and maybe it will help someone else:

Make your mountpoint directories immutable to prevent processes from writing to it if the drive/network/whatever device is ever disconnected:

chattr +i /mnt/mountpoint

(With the device unmounted)

[#]selfhosting #selfhosted #linux

=> More informations about this toot | More toots from bpettis@benpettis.ninja

Descendants

Written by Ben Pettis on 2025-01-20 at 03:00

If you don't do this, when your NAS disconnects and the filesystem unmounts, your web app may write to the /mnt/mountpoint directory on your root drive and then fill up all the remaining space.

Ask me how I know this. 🙃

=> More informations about this toot | More toots from bpettis@benpettis.ninja

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113858443467217523
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
243.537601 milliseconds
Gemini-to-HTML Time
0.490992 milliseconds

This content has been proxied by September (3851b).