Wednesday, 9 September 2015

"Cannot stat() mounted device /dev/simfs" error

After cPanel's latest update (11.46.0 Build 12) many people have been receiving notifications or emails containing similar messages:

======================================================
repquota: Cannot stat() mounted device /dev/simfs: No such file or directory
repquota: Cannot stat() mounted device /dev/simfs: No such file or directory
repquota: Cannot stat() mounted device /dev/simfs: No such file or directory
repquota: Cannot stat() mounted device /dev/simfs: No such file or directory
repquota: Cannot stat() mounted device /dev/simfs: No such file or directory
======================================================

This is a normal error in our virtualization environment, and in almost all cases it can safely be ignored. It's actually a result of security hardening.

We can stop this warning email by creating a symlink.

ln -s /dev/vzfs /dev/simfs

==============================
[~]# ll /dev/vzfs
brw-r--r-- 1 root root 0, 22 Sep  3 02:14 /dev/vzfs
 [~]# 
==============================

Also add a cronjob on the server. 

@reboot ln -s /dev/vzfs /dev/simfs

This will help to make this change after the server reboot too. 

No comments:

Post a Comment