1830026 Members
11452 Online
109998 Solutions
New Discussion

Turning on DiskQuota

 
Ivan Efimenko
Contributor

Turning on DiskQuota

We have really working server with NFS exported /home for clients, and we would like to turn ON DiskQuota for /home for these users.
I think, we need to do:
touch /home/quotas
umount /home (Is it possible to do only in Single-User mode?)
vi /etc/fstab
/dev/vg00/lvolXX /home vxfs rw,suid,delaylog,quota 0 2
mount /home

edquota username -> modify user quota
Is it right?
Thank you in advance.
1 REPLY 1
Philip Chan_1
Respected Contributor

Re: Turning on DiskQuota

Hi,

Your steps are pretty much correct. One additional step I could think of is to run the quotacheck command after the /home fs was mounted. That way the usage information stored in the quotas file will sure to match actual usage at that moment.

Rgds,
Philip