LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Quota on / partition (https://www.linuxquestions.org/questions/linux-server-73/quota-on-partition-622516/)

SlacUser 02-20-2008 10:17 AM

Quota on / partition
 
I've installed quota on my server, but I cannot initialize it. I did the following:

touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotacheck -avugm
quotaon -avug

and I get this error when I try to turn on quota:
quotaon: using //aquota.group on /dev/sda1 [/]: Invalid Argument
quotaon: Maybe create new quota files with quotacheck(8)?
quotaon: using //aquota.user on /dev/sda1 [/]: Invalid Argument
quotaon: Maybe create new quota files with quotacheck(8)?

I tried to create new quota files with quotacheck and the -n parameter but it's still not working.

This is my fstab file

Code:

/dev/sda1              /                      ext3    defaults,usrquota,grpquota        1 1
LABEL=/opt1            /opt                    ext3    defaults        1 2
LABEL=/tmp1            /tmp                    ext3    defaults        1 2
LABEL=/boot1            /boot                  ext3    defaults        1 2
tmpfs                  /dev/shm                tmpfs  defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                  /sys                    sysfs  defaults        0 0
proc                    /proc                  proc    defaults        0 0
LABEL=SWAP-sda2        swap                    swap    defaults        0 0


Any clue??

Deleriux 02-20-2008 10:25 AM

Try rerunning quotacheck

Remove the old files. Dont recreate them.

quotacheck -vugmc /

quotaon /

SlacUser 02-28-2008 11:44 AM

Not working
 
Quote:

Originally Posted by Deleriux (Post 3063809)
Try rerunning quotacheck

Remove the old files. Dont recreate them.

quotacheck -vugmc /

quotaon /

I've removed aquota.user and aquota.group.
Rerunned quotacheck, and the problem remains.


All times are GMT -5. The time now is 11:45 AM.