1836372 Members
2297 Online
110100 Solutions
New Discussion

quota

 
Antonino Lundari
New Member

quota

How can I to assign 20MB of disks space for a group of accounts on their home directory?

Thanks, Antonino
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: quota

Hi:

See man quota (5), mount (1M), edquota (1M) and quotaon (1M) for a starting point.

Quota limits and utilization statistics are maintained by the operating system for each file system for which quotas have been enabled (see mount(1M) and quotaon(1M)).
Disk quotas are established independently for each user and each file system via the edquota command (see edquota(1M)).

...JRF...

Re: quota

Antonio,

Very simple

edquota -g group_name

Remember that the size is given in Kb, 20Mb = 20 x 1024Kb = 20480KB and that is what you have to put.

Re: quota

Hi,

After setting the quota option on the FS, you have to set quota one by one for all the user in the same FS. you can use the following for setting quota for all the users.
/etc/edquota -p user1 user2 user3

Also see the man pages of quota.

Thanks