All of Japan's Toyota Assembly Plants Shut Down for a Day Because Their Server Ran Out of Disk Space

Flying Squid@lemmy.world to Technology@lemmy.world – 993 points –
Toyota says plant shutdown last week due to server malfunction
reuters.com
104

You are viewing a single comment

Sysadmin pro tip: Keep a 1-10GB file of random data named DELETEME on your data drives. Then if this happens you can get some quick breathing room to fix things.

Also, set up alerts for disk space.

The real pro tip is to segregate the core system and anything on your system that eats up disk space into separate partitions, along with alerting, log rotation, etc. And also to not have a single point of failure in general. Hard to say exact what went wrong w/ Toyota but they probably could have planned better for it in a general way.

Even better, cron job every 5 mins and if total remaining space falls to 5% auto delete the file and send a message to sys admin

Sends a message and gets the services ready for potential shutdown. Or implements a rate limit to keep the service available but degraded.

Also, if space starts decreasing much more rapidly than normal.

At that point just set the limit a few gig higher and don't have the decoy file at all

10GB is nothing in an enterprise datastore housing PBs of data. 10GB is nothing for my 80TB homelab!

It not going to bring the service online, but it will prevent a full disk from letting you do other things. In some cases SSH won’t work with a full disk.

Or make the file a little larger and wait until you're up for a promotion..

17 more...