[CentOS] sum and limit quota for multiple filesystems/mountpoints

Tue Oct 20 08:00:37 UTC 2009
Peter Kjellstrom <cap at nsc.liu.se>

On Tuesday 20 October 2009, Götz Reinicke - IT-Koordinator wrote:
> Hi,
>
> is there any way to sum and limit quotas for one user across multiple
> filesystems?
>
> E.g. I'd like to use different mountpoints on a mailserver for /var/mail
> and /home but the user should have only a total of 1GB.

There is no such functionality in quota. What you could do is to update the 
2nd filesystems quota setting, on a regular basis, to something like TOTAL 
minus currently used on the 1st fs.

This surely qualifies as a "duct tape solution".

/Peter

> or on a samba server the windows profile files should be on an other
> filesystem as other files for that user.
>
>
> Regards,
>
> 	Götz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20091020/453bb172/attachment-0005.sig>