Quota Error Squeeze

Discussion in 'Installation/Configuration' started by DarthRaymond, Feb 11, 2011.

  1. DarthRaymond

    DarthRaymond New Member

    Hello All,

    I am very excited to install ISPConfig on Debian Squeeze, but while following the tutorial I came across an issue with Quotas. I installed Quotas and edited /etc/fstab per the instructions. I then remounted the drive but I receive the following errors:


    Code:
    debian:~# quotacheck -avugm
    quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
    quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
    
    debian:~# quotaon -avug
    quotaon: Cannot stat() mounted device /dev/root: No such file or directory
    Here is my /etc/fstab:

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    /dev/xvda       /               ext3    noatime,errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0       1
    /dev/xvdb       none            swap    sw              0       0
    A good Google search doesn't seem to be solving this one. Does anyone have any ideas? Thank you!
     
    Last edited: Feb 11, 2011
  2. cubells

    cubells Member HowtoForge Supporter

     
  3. DarthRaymond

    DarthRaymond New Member

    Here's a readout of my drives if it may be of any help.

    Code:
    zeus:~# fdisk -l
    
    Disk /dev/xvda: 16.9 GB, 16911433728 bytes
    255 heads, 63 sectors/track, 2056 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/xvda doesn't contain a valid partition table
    
    Disk /dev/xvdb: 268 MB, 268435456 bytes
    255 heads, 63 sectors/track, 32 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/xvdb doesn't contain a valid partition table
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Have you tried to reboot?
     
  5. DarthRaymond

    DarthRaymond New Member

    I sure have. Same issue.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Is this a physical system or a virtual machine?
     
  7. DarthRaymond

    DarthRaymond New Member

    It's virtual. I've got a virtual Lenny instance running quota with no issues though.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    What virtualization technique do you use? Xen? OpenVZ? KVM? ...
     
  9. DarthRaymond

    DarthRaymond New Member


    It's Xen Virtualization. I believe the reason it doesn't work is because the kernel was compiled without Journal support.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    That might be a possible cause. Your fstab looks fine...
     
  11. technoid

    technoid New Member

    I am also having this problem, using a XEN based VPS at Linode. I contacted support and was assured that the kernel I am using have journaling compiled in.

    I also have a Lenny install, so I compared quotaon --version on both

    Lenny (working quotas):
    Quota utilities version 3.16.
    Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT HOST_ACCESS ALT_FORMAT RPC RPC_SETQUOTA BSD_BEHAVIOUR
    Bugs to [email protected]

    Squeeze (broken quotas):
    Quota utilities version 4.00-pre1.
    Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT HOSTS_ACCESS ALT_FORMAT RPC RPC_SETQUOTA BSD_BEHAVIOUR
    Bugs to [email protected]


    Could someone who has quotas working on Squeeze please let us know what your version output looks like?

    Hopefully this might help get to the bottom of this.

    Thank you,
    Scott Blaydes
     
  12. falko

    falko Super Moderator Howtoforge Staff

    That's what I get on Squeeze:

    Code:
    root@server1:~# quotaon --version
    Quota utilities version 4.00-pre1.
    Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT HOSTS_ACCESS ALT_FORMAT RPC RPC_SETQUOTA BSD_BEHAVIOUR
    Bugs to [email protected]
    root@server1:~#
     
  13. technoid

    technoid New Member

    Okay, another set of emails to my VPS support staff and I was told the kernel doesn't have journaling for journaled quotas compiled in. It was suggested to use normal quotas (usrquota and grpquota), but will this still work for ISPconfig, or will it break anything?

    Thank you,
    Scott Blaydes
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig will work with normal quotas as well.
     
  15. vahid4134

    vahid4134 New Member

    you can create link
    Code:
    ln /dev/root /dev/xvda
    
     
  16. peri0603

    peri0603 New Member

    I had the same problem and this is the solution: (My Server is Virtual Machine running on XEN)

    Run the following command:
    Code:
    ln -s /dev/xvda /dev/root
    In my case /dev/xvda is the root partition
    Greetings
     

Share This Page