I am trying to implement a quota system for a filesystem. I need to know some things
I have users' home directories in a filesystem /vol (/vol/home/<username>)
The mails for a user are stored in /vol/var/spool/mail/<username>
The /vol filesystem is getting filled due to mails . So I want to implement a quota of 8 MB for each user
As of now the mail files are v v big.. So before implementing a quota of 8MB do I need to reduce the size of
each and every existing file in /vol to less than 8 MB ???? . Will implementing quota on /vol help in this case
Thanks in advance for all the help
I don't think that you have to shrink the files in order to implement the quota. However, you or the users will need to do that in order to be able to allocate any new blocks on the filesystem. The quota system naturally won't do it for you, but it will probably help, as it will force the users to shrink the files themselves.