Skip to main content

Openvz whm quota on 2nd mount

Comments

7 comments

  • SysSachin
    Hello, Are you getting any error with /scripts/fixquotas command ?
    0
  • zambara
    Hello, Here is the output: root@cpanel [/]# /scripts/fixquotas Installing Default Quota Databases......Done journaled quota support: not available with vzaquota (disabled) Warning virtual file systems are mounted. Quotas may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds! jailshell: no process killed ... Reading package FH - Personal Advanced HDD Resetting quota for polo to 11000 M ... No errors
    0
  • cPanelMichael
    Hello, Please post the output from the following commands:
    mount cat /etc/fstab
    Thank you.
    0
  • zambara
    Hello Michael,
    root@cpanel [~]# mount /dev/simfs on / type simfs (rw,relatime,usrquota,grpquota) /dev/simfs on /backup type simfs (rw,relatime) /dev/simfs on /home2 type simfs (rw,relatime) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) none on /dev type devtmpfs (rw,relatime,mode=755) none on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) none on /dev/shm type tmpfs (rw,relatime) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)

    root@cpanel [~]# cat /etc/fstab none /dev/pts devpts rw,gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0
    Hope it helps,
    0
  • cPanelMichael
    /dev/simfs on /home2 type simfs (rw,relatime)

    This shows that quota isn't enabled on the /home2 partition. You should add the usrquota and grpquota options the same way it's listed for the "/" partition. I recommend contacting your VPS hosting provider for assistance with this if you are not comfortable modifying the /etc/fstab file on your system. Thank you.
    0
  • zambara
    For mounting the provider uses the command line:
    mount -n -t simfs /storage2/ /vz/root/501/home2/ -o /storage2/
    Can I add something to this line to mount with rw,relatime,usrquota,grpquota ?
    0
  • cPanelMichael
    Hello, You would need to use the usrquota and grpquota options after the "-o" flag: -o usrquota,grpquota Thank you.
    0

Please sign in to leave a comment.