Can't read quota structure issue

2002-04-22
2002-07-22
  • Jim Janovich
    Jim Janovich
    2002-04-22

    Hello all,
    Anyone make sense of this?

    We are running RedHat 7.1.

    Apr 14 09:47:53 ls-001 useradd[2306]: new user: name=admin79, uid=581,
    gid=581, home=/home/virtual, shell=/bin/false
    Apr 14 09:47:53 ls-001 [2305]: add_virtual_domain site79
    Apr 14 09:47:54 ls-001 kernel: VFS: Quota for id 581 referenced but not
    present.
    Apr 14 09:47:54 ls-001 kernel: VFS: Can't read quota structure for id 581.

    Now, at closer look I found this error at server bootup:

    Apr 14 18:25:44 ls-001 : virtualhosting: [warning] /sbin/quotaon -au failed
    Apr 14 18:25:45 ls-001 : virtualhosting: [warning] /sbin/quotaon -ag failed

    Maybe this will help. Doing a "uname -a" I get:
    Linux ls-001.softerweb.net 2.4.9-31 #1 Tue Feb 26 07:11:02 EST 2002 i686 unknown

    rpm -q quota gives:

    quota-3.01pre9-0.7.1

    Thanks
    Jim

     
    • Jan Kara
      Jan Kara
      2002-07-22

      It seems like a corrupted quota file. Try running quotacheck.
      It the problem apperars again it might be a bug in a kernel (2.4.9 is a bit old) - try upgrading it (you'll need RH kernel for new quota format support).

      Honza