1851092 Members
2567 Online
104056 Solutions
New Discussion

Re: DiskQuota setings

 
Ivan Efimenko
Contributor

DiskQuota setings

We have some network - 1 server and several workstations. We are using NFS and would like to use DiskQuota for quotting /Home directory. What are we need to do to turn on quotting and how we can deploy this on our system?
What changes we need to do on server and on workstations?
Thank you in advance.
1 REPLY 1
Steven Sim Kok Leong
Honored Contributor

Re: DiskQuota setings

Hi,

On the NFS server:

# touch /home/quotas
# umount /home
# vi /etc/fstab
/dev/vg00/lvol11 /home hfs rw,suid,nolargefiles,quota 0 2
# mount /home
# edquota username # Modify quota for each user

As the quotaon command only modifies the /etc/mnttab and not /etc/fstab, its use is usually discouraged.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com