LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-06-2005, 02:33 AM   #1
xemous
Member
 
Registered: Jun 2004
Posts: 80

Rep: Reputation: 15
redhat7.3 and disk quota issues


the error
Code:
[root@localhost root]# edquota -u user1
edquota: Can't initialize quota on /dev/sda1: No such process
No filesystems with quota detected.
the fstab file
Code:
/dev/sda1               /                       ext3    defaults,usrquota,grpquota       1 1
none                    /dev/pts                devpts  gid=5,mode=620                   0 0
none                    /proc                   proc    defaults                         0 0
none                    /dev/shm                tmpfs   defaults                         0 0
/dev/sda2               swap                    swap    defaults                         0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro            0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu               0 0
my rc.local
Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

# Check quota and then turn quote 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
these files are in the / partition

Code:
ls /
aquota.group  aquota.user
i tried this with

Code:
ls /
quota.group  quota.user
as well but still i get the same error

and the permissions
Code:
-rw-------    1 root     root            0 Jan  4 20:20 aquota.group
-rw-------    1 root     root            0 Jan  4 20:20 aquota.user

anyone know whats up?

Last edited by xemous; 01-06-2005 at 02:36 AM.
 
Old 01-06-2005, 07:12 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Is quote even enabled in the kernel?
 
Old 01-06-2005, 08:07 AM   #3
xemous
Member
 
Registered: Jun 2004
Posts: 80

Original Poster
Rep: Reputation: 15
The kernel is a stock build from RH7.3 I hav'nt recompiled it. This is just a test system i'm running through vmware. Do you know that in RH7.3 case that a recompile is required to enable quote?. Is there a way I can check if my current kernel has quote enabled? Thanks for that advice I'll check it out regardless.

Last edited by xemous; 01-06-2005 at 09:27 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Quota mdk3 Linux - Software 2 04-12-2005 06:44 PM
Disk quota jcb_dreamvsat Linux - Security 4 07-13-2003 08:37 PM
how to make Redhat7.3 a bootable disk jeffy240 Linux - Newbie 2 10-16-2002 09:30 PM
Disk Quota mallikarjun Linux - General 1 05-17-2002 01:50 AM
disk quota iquadri1 Linux - Networking 1 09-29-2001 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:28 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