LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-20-2008, 10:17 AM   #1
SlacUser
Member
 
Registered: Apr 2007
Location: México
Distribution: Slackware, Fedora
Posts: 61

Rep: Reputation: 15
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??
 
Old 02-20-2008, 10:25 AM   #2
Deleriux
Member
 
Registered: Nov 2003
Posts: 89

Rep: Reputation: 17
Try rerunning quotacheck

Remove the old files. Dont recreate them.

quotacheck -vugmc /

quotaon /
 
Old 02-28-2008, 11:44 AM   #3
SlacUser
Member
 
Registered: Apr 2007
Location: México
Distribution: Slackware, Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
Not working

Quote:
Originally Posted by Deleriux View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail+quota+bounch mail+but no quota full msg to receipent mickyman Linux - General 3 03-02-2006 03:32 AM
Enable quota in a used partition guideweb Linux - Security 1 03-12-2005 12:46 AM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 11:13 AM
How to enable quota in 2 different partition visu Linux - Newbie 0 02-11-2004 06:48 AM
disk quota root partition fosky Linux - Newbie 0 06-23-2002 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration