Hi Andy,
On Tue, Jan 31, 2012 at 11:16:10PM +0000, Andy Bennett wrote:
Please note
that we can't update the measurement of how much space
you're using very often. Backup directories contain hundreds of
millions of files, many of which are copies of each other, but
it's not possible to tell without looking. Adding it all up takes
quite a long time and stresses disk IO quite badly. So we only
update quotas every day at best at the moment.
Are you familiar with project quotas on XFS? They allow you to place a
quota on a subdirectory tree without phaffing with user or group ownerships.
No I wasn't. This looks interesting. Do you happen to know if it
works for multiple directory trees?
e.g. given
/srv/backups/hourly.0/1.2.3.4/
/srv/backups/hourly.1/1.2.3.4/
can a quota be enforced for the total of
/srv/backups/hourly.0/1.2.3.4/ and /srv/backups/hourly.1/1.2.3.4/?
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting