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

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


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: not available
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.bin 


More information about the CentOS mailing list