On Mon, 1 Jul 2002 23:40:55 -0500 (CDT), Anand Kumar Kalyanasundaram <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to enable userquota on my /home partition. I > added the following script to a file in /etc/rc.d/rc5.d > directory: > > # Check quota and then turn quota on. > if [ -x /usr/sbin/quotacheck ] > then > echo "Checking quotas. This may take some time." > /usr/sbin/quotacheck -avug > echo " Done." > fi > > if [ -x /usr/sbin/quotaon ] > then > echo "Turning on quota." > /usr/sbin/quotaon -avug > fi > > I get the following error: > > Jul 1 23:10:49 localhost quotaon: quotaon: using > /home/aquota.user on /dev/hda6: Invalid argument > Jul 1 23:10:49 localhost rc.sysinit: Enabling local > filesystem quotas: failed Jul 1 23:10:50 localhost > quotaon: quotaon: using /home/aquota.user on /dev/hda6: > Invalid argument > > I get this "Invalid argument" error even when I try to > enable userquotas using webmin. > > Can someone tell me what I am doing wrong here ?
Is your /home partition ReiserFS? ReiserFS needs to be patched to support quotas. -- Sridhar Dhanapalan We are Linux. Resistance is measured in Ohms.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com