Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by alanbernstein on Wednesday September 06, 2023 @09:01AM
(#37404487)
On my MacBook, I like to keep a few giant blank files that I can delete in a disk space emergency.
[ Parent
| on HN ]
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by CamJN on Wednesday September 06, 2023 @09:15AM
(#37404663)
Since apfs, “large” empty files can also take only the 4K or so for the fs entry on disk, gotta make sure it’s not a sparse file, and doing so is a bit tricky, better to fill it with junk that doesn’t compress well.
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by JackFr on Wednesday September 06, 2023 @10:26AM
(#37405637)
And my mother sets all her clocks ahead 10 minutes so she's never late.
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by 0cf8612b2e1e on Wednesday September 06, 2023 @10:43AM
(#37405894)
It is not an entirely unreasonable idea. If a system runs out of disk space, an unexpectedly large number of operations will fail. Which can make recovery more problematic than you would assume. If you can immediately recover some disk space and have breathing room, it could make the difference in restoring service.
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by SAI_Peregrinus on Wednesday September 06, 2023 @01:35PM
(#37408295)
Keeping a bit of disk reserved for recovery is extremely common with copy-on-write filesystems like ZFS & BTRFS. Even deletion takes some extra space, so without a reservation it's effectively impossible to delete any files from a full disk.
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by ilyt on Thursday September 07, 2023 @08:23AM
(#37417903)
Or, you know, have alert on disk space like adults.
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by alanbernstein on Saturday September 09, 2023 @01:39PM
(#37447938)
This is an alert that must be fixed immediately, with an escape hatch to fix it quickly in case you truly don’t have time to manage your actual files.
It is also trivial to set up, and does not require me to figure out how to set up an OS alert, or trust that whatever alert process is running. So it is an essentially fail proof alert that works the same on any OS.
What’s a good argument against it?
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by PeterStuer on Thursday September 07, 2023 @02:11AM
(#37415322)
In my experience this makes the problem worse. People either compensate for it, or stop trusting clocks at all. Usually a mix of both of those resulting in even less punctuality.
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by syndicatedjelly on Wednesday September 06, 2023 @11:55AM
(#37406959)
How about a cron job that checks disk usage once per day and prints the top 3 culprits by file type if du exceeds 90%
Re:Toyota blames factory shutdown in Japan on ‘insufficient ...
by PeterStuer on Thursday September 07, 2023 @02:09AM
(#37415308)
Can't you set up overprovisioning so the storage controller can do something usefull with it while you don't need the space?