Setting disk quota in LINUX
Hello Friends,
I have a doubt related to Setting Disk Quota in Linux. I could not understand the inital step of configuring /etc/fstab file. By default /home is the home directory. What device file name should i give in the fstab file for the /home directory. What i should type at the place of ? that i have entered below. ? /home default user,group 1,1. I tried with LABEL=/home /home default user,group 1,1. But system showed error that label could not find and hence could not mount /home. Could you help me please. Thanking you, Sudhir Rao |
You only need to put /home in your /etc/fstab if you need to mount it. This means that the contents of /home are on a different disk than the contents of your /. If they're on the same disk, then there's no need to mount them.
Maybe you need a separately mounted /home in order to use quotas. But haven't used those myself, so I can't help you with that. |
hello,
your /home is the directory in which your partition is mounted . it could be anything like /dev/sdax where x could be any number. now in /etc/fstab write /dev/sdax /home defaults,usrquota 0 0 now mount -av then set the quota by the command like quotacheck -mcvu /home quotaon /home setquoua -u x x x x /home username pls try these and see if it helps |
All times are GMT -5. The time now is 07:34 AM. |