Hi all,
Is there a way to implement folder quotas instead of just partition quotas?
I'm trying to limit home dirs from getting out of control.
And I did RTFM but it seems only partition/share quotas are possible :)
- aurf
On Sat, Jan 8, 2011 at 1:50 PM, aurf alien aurfalien@gmail.com wrote:
Hi all,
Is there a way to implement folder quotas instead of just partition quotas?
Check out this link: http://www.linuxquestions.org/questions/linux-server-73/directory-quota-6011...
Hi Kwan,
Thanks for fast the reply.
Funny, I was reading that when I posted to the list.
Not really a practical solution as my needs are for user home dirs which get automatically created when a user in created.
The solution in the link would mean that I would have to script in some additional code that formats the users home dir as a file system, mounts it (if I have 300 users, will I have 300 mounts?) and then exports them (will I also have 300 exports?), and then 300 mount points on each workstation?
I really really hope Centos/RHEL has some way similar to a Winblowz GPO were I can limit a users home folder in size.
- aurf
On Sat, Jan 8, 2011 at 10:53 AM, Kwan Lowe kwan.lowe@gmail.com wrote:
On Sat, Jan 8, 2011 at 1:50 PM, aurf alien aurfalien@gmail.com wrote:
Hi all,
Is there a way to implement folder quotas instead of just partition
quotas?
Check out this link:
http://www.linuxquestions.org/questions/linux-server-73/directory-quota-6011... _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hmmm, perhaps user quotas?
I can easily script that into any user creation process.
So I can taylor home size on a per user basis as my power users would need more space than my standard users.
Has any one done this?
- aurf
On Sat, Jan 8, 2011 at 11:03 AM, aurf alien aurfalien@gmail.com wrote:
Hi Kwan,
Thanks for fast the reply.
Funny, I was reading that when I posted to the list.
Not really a practical solution as my needs are for user home dirs which get automatically created when a user in created.
The solution in the link would mean that I would have to script in some additional code that formats the users home dir as a file system, mounts it (if I have 300 users, will I have 300 mounts?) and then exports them (will I also have 300 exports?), and then 300 mount points on each workstation?
I really really hope Centos/RHEL has some way similar to a Winblowz GPO were I can limit a users home folder in size.
- aurf
On Sat, Jan 8, 2011 at 10:53 AM, Kwan Lowe kwan.lowe@gmail.com wrote:
On Sat, Jan 8, 2011 at 1:50 PM, aurf alien aurfalien@gmail.com wrote:
Hi all,
Is there a way to implement folder quotas instead of just partition
quotas?
Check out this link:
http://www.linuxquestions.org/questions/linux-server-73/directory-quota-6011... _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hmmm, perhaps user quotas?
So I can taylor home size on a per user basis as my power users would need more space than my standard users.
You can create template / prototype users one for each one you want a specific quota for and then use edquota -p <prototype user> <real user> and the real user will get the same quota that the prototype user has. You might need additional options like which filesystem .. I haven't used this in forever.
Barry
2011/1/8 aurf alien aurfalien@gmail.com:
Hmmm, perhaps user quotas?
I can easily script that into any user creation process.
So I can taylor home size on a per user basis as my power users would need more space than my standard users.
Has any one done this?
Group quotas are more flexible. They provide consumption control both per home directory and per-project directory.
According to Redhat's convention - an user is created together with an unique primary group whose name equals the user's name. Home folder's space consumtion is regulated using per-group quota on user's primary group.
Usually, users participate in different projects having corresponding file-sharing folders in the file system. For each project one creates a separate group. All users participating in the project are assigned members of this group. Consumption per project folder is regulated with per-group quota on the project's group.
One should not, of course, forget to set appropriate group permitions on the folders and to activate the set-group-id bit.
I read all this 12 years ago in the RedHat's users guide.
Kind regards, Alexander
On 1/8/11 12:50 PM, aurf alien wrote:
Hi all,
Is there a way to implement folder quotas instead of just partition quotas?
I'm trying to limit home dirs from getting out of control.
And I did RTFM but it seems only partition/share quotas are possible :)
Where else on the same partition is a user going to own enough files to make a difference?
Nowhere else since there home dir on the file system is the only place they can write.
- aurf
On Sat, Jan 8, 2011 at 11:40 AM, Les Mikesell lesmikesell@gmail.com wrote:
On 1/8/11 12:50 PM, aurf alien wrote:
Hi all,
Is there a way to implement folder quotas instead of just partition
quotas?
I'm trying to limit home dirs from getting out of control.
And I did RTFM but it seems only partition/share quotas are possible :)
Where else on the same partition is a user going to own enough files to make a difference?
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos