Restricting Hard Drive Space Usage
Does anyone know if there is a way to restrict the amount of space avaliable to users on a hard drive?
Here's an example. We have users who like to fill up our server with files. I would like to put a hard limit of say if there is 200 gigabytes free it will stop allowing anyone to write to the system. At this point we could then contact the users and tell them to start cleaning the drive and we could then set the limit to 100 gigabytes to give them some breathing room while we continue to clean up the drive.
Another thing that would be of use is there a way to have an email sent when we hit a space limit?
Everything I've found so far is restricting via user quotas but I want the space limit to be disk centric and not user centric.
Webinar: 8 Signs You’re Beyond Cron
On Demand NOW
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.View Now!
|My Humble Little Game Collection||May 28, 2015|
|New Linux Based OS Brings Internet of Things Closer to Reality||May 27, 2015|
|Non-Linux FOSS: All the Bitcoin, None of the Bloat||May 26, 2015|
|Dr Hjkl on the Command Line||May 21, 2015|
|Initializing and Managing Services in Linux: Past, Present and Future||May 20, 2015|
|Goodbye, Pi. Hello, C.H.I.P.||May 18, 2015|
- My Humble Little Game Collection
- New Linux Based OS Brings Internet of Things Closer to Reality
- Initializing and Managing Services in Linux: Past, Present and Future
- Dr Hjkl on the Command Line
- Using Hiera with Puppet
- Non-Linux FOSS: All the Bitcoin, None of the Bloat
- Infinite BusyBox with systemd
- Gartner Dubs DivvyCloud Cool Cloud Management Vendor
- Goodbye, Pi. Hello, C.H.I.P.
- It's Easier to Ask Forgiveness...