We are running Samba right now to provide user home directories to Windows users. We are using basic user quotas on the /home partition to limit disk usage. But, soon we will be adding additional directories, user, and groups to allow data sharing among 'workgroups'. We will still need to limit disk usage, but doing this via the rather crude group quota system won't do. Has anyone seen or used a tool to manage quotas on Linux on a per-directory basis? It can be open source, or proprietary, or whatever. Or is there anyway in Samba to manage the size of share somehow? The NT guys absolutely are beating me over the head about this, as several 3rd party tools exist to do this on NT. -- Richard ---------------------+-------------------------- Richard R. Morgan / richard@northerncrown.com Systems Engineer / http://www.tux.org/~rmorgan NOVALUG Webmaster / http://novalug.tux.org -----------------+------------------------------ It's a tricky business, as you may have discovered...
Richard R Moorage asked: | Has anyone seen or used a tool to manage quotas on Linux on a | per directory basis? It can be open source, or proprietary, or | whatever. I can think of a couple of ways to do per **share** quotas: 1) with force user, make all files in specific shares be under the control of Unix quotas 2) with root preface, refuse to allow connections to overeat shares 3) with root post exec, nag users if they overfill a share 4) with root post exec, make the directory non-writable when it gets overfilled and so on... Send me mail and tell me what the expected requirements are and how the NT guys would do it, maybe we can design something elegant... --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com