Quota configuration error/ suse 9.3

Discussion in 'Installation/Configuration' started by gimhan90, Jan 25, 2006.

  1. gimhan90

    gimhan90 New Member

    Hi floks,
    I got following error when i tried to configure quota,

    touch /aquota.user /aquota.group -->ok
    chmod 600 /aquota.* -->ok
    mount -o remount / -->ok
    quotacheck -avugm

    quotacheck: Checked 5265 directories and 68531 files
    su93254144:/etc # quotaon -avug
    quotaon: using //aquota.group on /dev/sda2 [/]: No such process
    quotaon: Quota format not supported in kernel.
    quotaon: using //aquota.user on /dev/sda2 [/]: No such process
    quotaon: Quota format not supported in kernel.

    NOTE:
    my fstab would looks like,

    /dev/sda2 / ext3 acl,user_xattr,usrquota,grpquota 1 1
    /dev/sda1 /boot ext3 acl,user_xattr 1 2
    /dev/sda6 /home ext3 acl,user_xattr 1 2
    /dev/sda3 /var ext3 acl,user_xattr 1 2
    /dev/sda5 swap swap pri=42 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    proc /proc proc defaults 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    sysfs /sys sysfs noauto 0 0

    thx,
    gimhan
     
    Last edited: Jan 25, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This means that your linux kernel does not support quota.
    Is this a real or a vServer?
     
  3. gimhan90

    gimhan90 New Member


    It is a real server .
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    And you are sure you run this command:

    apt-get install quota

    to install quota? Did you follow the howto exactly? It looks like your kernel is compiled without quota support.
     
  5. gimhan90

    gimhan90 New Member


    since apt-get wasn't worked , i used yast -i quota command to install quota .

    su93254144:/etc # whereis quota
    quota: /usr/bin/quota /usr/share/man/man1/quota.1.gz
    ( refere : http://www.howtoforge.com/forums/showthread.php?t=2222

    You can follw the tutorial even without installing and using debian. If you get a line like:

    apt-get install package1 package2 package3

    replace it with:

    yast -i package1 package2 package3

    The SuSe 10 perfect setup howto I've written uses this approach.
    )

    thx,
    gimhan
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. gimhan90

    gimhan90 New Member

    After edit the /etc/fstab , Do i need to reboot the server to capture the configurations?
    I didn't reboot the server ? ( caz I access my server through ssh , server is located in separate place , I feel afraid to reboot the server :) caz server is located in a remote place )

    Thx very much for u r comments abt that also ( server rebooting thing?)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont have to reboot your server after modifying the fstab, because you remounted the harddisk. Have you inserted the quota modules as described in the thread i posted?
     
  9. gimhan90

    gimhan90 New Member

    Comrade Till,
    Now the time to go me, Shall i reply the results tomorow .

    Thx,
    gimhan
     
  10. falko

    falko Super Moderator Howtoforge Staff

    If you put
    Code:
    quota_v1
    quota_v2
    at the end of /etc/modules, you must either reboot your server or run
    Code:
    modprobe quota_v1
    modprobe quota_v2
    If modprobe doesn't work, you can try
    Code:
    insmod quota_v1
    insmod quota_v2
    instead.
    Afterwards, run the steps described in the tutorial for quota.
     
  11. gimhan90

    gimhan90 New Member


    Im my machine there is no "/etc/modules" . Do i need to install " module-init-tools" get that ("/etc/modules") ?
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Yes, try that. The name of the package might differ on SuSE.
     
  13. gimhan90

    gimhan90 New Member

    I tried with installing "module-init-tools".
    But was unable to find the "/etc/modules" or similar. :(
    Thx for any help .
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to insert the modules manually without inserting them in /etc/modules:


    modprobe quota_v1
    modprobe quota_v2

    If modprobe doesn't work, you can try

    insmod quota_v1
    insmod quota_v2

    Afterwards, run the steps described in the tutorial for quota.
     
  15. gimhan90

    gimhan90 New Member

    Does it mean , we don't care about existency about the /etc/modules ?
    and run the

    modprobe quota_v1
    modprobe quota_v2

    OR

    insmod quota_v1
    insmod quota_v2

    before continue the tutorial .
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    /etc/modules is for storing the information which kernel modules to load on boot. If you can insert the modules manually, we can continue with the howto. I guess SuSe uses another mechanism then /etc/modules to store which kernel modules to load. We can try to find that out while you can continue with the howto.
     
  17. gimhan90

    gimhan90 New Member

    Results


    modprobe quota_v1
    FATAL: Could not load /lib/modules/2.6.11.4-21.9-smp/modules.dep: No such file or directory

    insmod quota_v1
    insmod: can't read 'quota_v1': No such file or directory
     
  18. falko

    falko Super Moderator Howtoforge Staff

    What about quota_v2?
     
  19. gimhan90

    gimhan90 New Member

    :( :(

    Results

    modprobe quota_v2
    FATAL: Could not load /lib/modules/2.6.11.4-21.9-smp/modules.dep: No such file or directory

    insmod quota_v2
    insmod: can't read 'quota_v1': No such file or directory
     
  20. falko

    falko Super Moderator Howtoforge Staff

    Seems as if your kernel doesn't support quota. Either install another kernel, or compile a new one manually.
     

Share This Page