Strange problem on web user quota

Discussion in 'General' started by themark, Jun 28, 2011.

  1. themark

    themark Member

    Hi,

    as you can see on the attachment we have a strange problem on web quota calcuation.

    Well, the domains quota hosted on the first server was correctly calculated, therefore the domains hosted on the second are none.

    This two server look use the same configuration.

    Someone can provide us information on what we can control in order to debug this problem?

    Thank you.
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use on the first server and which on the second server?
     
  3. themark

    themark Member

    same versione fot both server.

    The ISPCONFIG is:

    define('ISPC_APP_VERSION', '3.0.3.3');
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Are bot servers "single" server setups or does the second server belong to the first server in a multiserver setup?

    Have both servers the same partitioning scheme (please check with e.g. "df -h" command) and is the repquota command installed and working (check with "repquota -avug").
     
  5. themark

    themark Member

    ok...thank you probably we have found the problem...
    if I try the command - repquota -avug on the server where the quota is not calculated I receive the response:

    [~]# repquota -avug
    repquota: Cannot stat() mounted device /dev/root: No such file or directory
    repquota: Cannot stat() mounted device /dev/root: No such file or directory

    while if i try the same command on the server that work.. i receive the correct answer....


    what can i do to solve the problem before?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of the /etc/fstab file of the affected server and the output of:

    ls -la /dev/root
     
  7. themark

    themark Member

    the fstab

    """""""""""""""""""""""""""""""""""""
    [~]# cat /etc/fstab
    proc /proc proc defaults 0 0
    /dev/xvda / ext3 noatime,errors=remount-ro,defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1
    /dev/xvdb none swap sw 0 0
    junglediskwg /home/jdisk/drive fuse defaults
    """""""""""""""""""""""""""""""""""""

    while /dev/root not exists

    """""""""""""""""""""""""""""""""""""
    [~]# ls -la /dev/root
    ls: cannot access /dev/root: No such file or directory
    """""""""""""""""""""""""""""""""""""

    (/dev/root not exists also in the working server....)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try this:

    ln -s /root /dev/root

    and then run the repquota command again.
     
  9. themark

    themark Member

    mmmh....look strange and more strange....

    [ ~]# ln -s /root /dev/root
    [ ~]# repquota -avug
    repquota: Device (/dev/root) filesystem is mounted on unsupported device type. Skipping.
    repquota: Device (/dev/root) filesystem is mounted on unsupported device type. Skipping.

    what's up?
    thank you for your support!
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Do you use Xen on both systems?
     
  11. themark

    themark Member

    yes, the virtualization it's made with xen on both servers...
     
  12. falko

    falko Super Moderator Howtoforge Staff

    And do you use identical Xen setups on both systems?
     
  13. themark

    themark Member

    yes, the setup, the xen image, the version of ispconfig are the same..(base on fedora core 13 - 64bit...):confused:
     
  14. themark

    themark Member


    mmmh.....no other ideas??


    thank you
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Unfortunately not... :(
     
  16. erosbk

    erosbk New Member

    Compare fstab in both servers. Turn off quotas in both servers, turn on again step by step.
     
  17. themark

    themark Member


    thank you erosbk! can you give me istruction on how can turn off quotas?
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Try
    Code:
    quotaoff -avug
     
  19. MaamuT

    MaamuT Member

    Hi all,

    Same issue in my web server…
     

Share This Page