(there's already a thread for this, but it's 2 years old so I can't post to it, and there was no answer)
Getting these messages from multiple servers every night:
I've already run /scripts/fixquotas -- that isn't the problem. I know why this is happening: cPanel is installed in a virtual machine, where /tmp is a ramdisk provided by the host machine:
I've turned off quota alerts in WHM/cPanel Tweak Settings, but it seems I can't turn off quota-checking, so I'm still getting those superfluous warning messages sent to my pager in the middle of the night, waking me up.
I can't change the mount options for /dev/simfs aka /tmp , because my servers are VMs. So how do I get cPanel to stop checking devices they can't check, or stop checking for quotas at all? It's tempting to replace /sbin/quotacheck with a null "exit(0)" program, since I don't use quotas at all (all I need is overall disk use alerts).
Getting these messages from multiple servers every night:
Code:
repquota: Cannot stat() mounted device /dev/simfs: No such file or directory
Code:
# mount # or cat /etc/mtab
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
/dev/simfs on /tmp type simfs (rw,nosuid,nodev,noexec,relatime,usrquota,grpquota)
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,mode=600,ptmxmode=000)
I can't change the mount options for /dev/simfs aka /tmp , because my servers are VMs. So how do I get cPanel to stop checking devices they can't check, or stop checking for quotas at all? It's tempting to replace /sbin/quotacheck with a null "exit(0)" program, since I don't use quotas at all (all I need is overall disk use alerts).