1080
you are viewing a single comment's thread
view the rest of the comments
[-] Semi-Hemi-Demigod@kbin.social 175 points 1 year ago

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.

[-] dx1@lemmy.world 54 points 1 year ago

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.

[-] Lem453@lemmy.ca 31 points 1 year ago* (last edited 1 year ago)

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

[-] Semi-Hemi-Demigod@kbin.social 21 points 1 year ago

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

[-] gazter@aussie.zone 4 points 1 year ago

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

[-] bug@lemmy.one 3 points 1 year ago

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

[-] Maximilious@kbin.social 28 points 1 year ago* (last edited 1 year ago)

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

[-] Semi-Hemi-Demigod@kbin.social 28 points 1 year ago

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.

[-] GhostlyPixel@lemmy.world 29 points 1 year ago

It’s all fun and games until tab autocomplete stops working because of disk space

[-] TrenchcoatFullofBats@belfry.rip 11 points 1 year ago

The real apocalypse

[-] model_tar_gz@lemmy.world 2 points 1 year ago

Tab complete in vim go lolllllooolol NO

[-] idunnololz@lemmy.world 11 points 1 year ago

It's nothing for my homework folder.

[-] mohammed_alibi@lemmy.world 3 points 1 year ago

That's an incredible collection of homework!

[-] mkhopper@lemmy.world 8 points 1 year ago
[-] z00s@lemmy.world 8 points 1 year ago

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

this post was submitted on 06 Sep 2023
1080 points (99.4% liked)

Technology

59670 readers
1539 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS