Quotacheck doubled quota in Virtualhost with chroot jail

Hi,

I've noticed that the Virtualhost quota is doubled after a quotacheck via the Virtualmin tool. In this way a lot of Virtualhosts are overquota but the effective homedir size is half the quota indicated by Virtualmin!

In these Virtualhosts i have enabled the chroot jail.

In Virtualhosts where chroot jail is not enabled, the quota count match the homedir size.

Status: 
Active

Comments

Can you post a screenshot showing the page on which the quota is doubled?

Also, what does the mount command output on your system?

Hi Jamie, sorry for the delay...

this is the output of mount command

sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=16443100k,nr_inodes=4110775,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=3291240k,mode=755)
/dev/md2 on / type ext4 (rw,relatime,discard,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=38,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1277)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/md3 on /home type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md1 on /boot type ext4 (rw,relatime,discard,errors=remount-ro,data=ordered)
tmpfs on /run/user/117 type tmpfs (rw,nosuid,nodev,relatime,size=3291236k,mode=700,uid=117,gid=121)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/123456789012345/home/cdqformazione type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
tmpfs on /run/user/1050 type tmpfs (rw,nosuid,nodev,relatime,size=3291236k,mode=700,uid=1050,gid=1049)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
/dev/md3 on /home/chroot/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx type ext4 (rw,relatime,discard,quota,usrquota,grpquota,data=ordered)

The rows with x are different users

Screenshot of Disk Usage section
Screenshot of the file manager with the home size

Thank you for your reply.

.nicola