Earlier quoted context omitted.
Not all environments require a stringent SLA. I have some servers that don't have a stringent SLA and aren't worth being woken up at night over if their disk is filling up fast.
Okay, so you wake up with a full disk. What did the spacer accomplish?
All my servers have an 8 GB empty file on disk
431–440 of 715 posts
Re: All my servers have an 8 GB empty file on disk
#432How is this better than sounding alarms when free disk space drops below 8GB? If you’re going to ignore the alarms, then you’re going to have the same problem after you remove your spacer file and the disk fills up again!
Re: All my servers have an 8 GB empty file on disk
#433Earlier quoted context omitted.
Email quotas aren’t just a cost thing. It forces deletion of files/communications that aren’t relevant anymore. The last thing the legal department wants is some executive’s laptop with 10 years of undeleted email to make it’s way to discovery.
Unfortunately, those goals are rarely communicated and accepted by the people they're imposed on. My first full-time job had an unexplained email expiry policy. After being frustrated several times at losing some explanation on how/why, I started forwarding all my emails to gmail. In retrospect, that's probably a worse result to whoever imposed the expiration. Fortunately, these days people are better about consolida…
The excuse of resource contention provides plausible deniability
Re: All my servers have an 8 GB empty file on disk
#434The better solution is simple monitoring. Alert when limit is passed. Increase limit to 16gb disk space remaining if paranoid.
Re: All my servers have an 8 GB empty file on disk
#435Earlier quoted context omitted.
Then why not just tell Exchange to delete any emails older than 5 years (or whatever your lawyers tell you to put)?
I knew a place where Exchange was configured to delete all mails after 6 months. Soon after I discovered that people started to form circles in which they would forward older mails from internal mailing lists to each other to retain them longer than that.
Imagine getting sued and having the entire paper trail in your email going back 3+ years. I expire all email after 1 year.
Re: All my servers have an 8 GB empty file on disk
#436Earlier quoted context omitted.
Not sure about their reasoning.. but if you don't have root ssh enabled, sudo can break if there is no free disk space. I do something similar where I write a 500mb file to /tmp and chmod 777 it so anyone can free it up without needing sudo.
I've experienced far more full disks than I'd want to admit, on many different hardware and software configurations, and I've never seen sudo break. Is this something you've experienced recently? I definitely agree with your advice and will go double check all my servers if /filler is 777 (not in /tmp since it's sometimes mounted tmpfs), but if sudo does break in that situation, that sounds like a pretty severe and m…
Re: All my servers have an 8 GB empty file on disk
#437Re: All my servers have an 8 GB empty file on disk
#438Been doing this since the UFS days
Re: All my servers have an 8 GB empty file on disk
#439My understanding is this is why one should partition a drive. If you have a data partition, a swap partition, and an OS partition, you can get around issues where a server’s lack of disk space hoses the whole system.
Re: All my servers have an 8 GB empty file on disk
#440Earlier quoted context omitted.
Not sure about their reasoning.. but if you don't have root ssh enabled, sudo can break if there is no free disk space. I do something similar where I write a 500mb file to /tmp and chmod 777 it so anyone can free it up without needing sudo.
In that case, use "su".