OVH Community, your new community space.

Message since CPU Replacement - repquota: Cannot stat() mounted device /dev/root:


happyman
13-06-2016, 12:02
# quotacheck -a
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory


# tail /etc/fstab
#
/dev/md2 / ext3 errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0 0 1
/dev/md3 /home ext3 usrjquota=quota.user,jqfmt=vfsv0 1 2
/dev/sda4 swap swap defaults 0 0
/dev/sdb4 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0

24x7servermanag
13-06-2016, 11:44
What is the output after running quotacheck -a command. Also show me your /etc/fstab entries.

happyman
13-06-2016, 10:56
This is what I get:

root@server [~]# ln -s /dev/xvda /dev/root
root@server [~]# /scripts/fixquotas
Installing Default Quota Databases......Done
journaled quota support: kernel supports, user space tools supports (available)
checking out /backup
checking out /backup
Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
/dev/md2 (already configured quotas = 1).
/dev/md3 (already configured quotas = 1).
Updating Quota Files......
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
quotacheck: Scanning /dev/md3

happyman
13-06-2016, 09:13
Thank you - I will give that a go.

I'm just not sure how the replacement of the CPU would cause these sort of issues ? - Any ideas ?

24x7servermanag
13-06-2016, 06:49
First, you should check to see if "/dev/root" exists:

If it does not exist, try linking "/dev/xvda" to it via:

ln -s /dev/xvda /dev/root
Then, run the following command:

# /scripts/fixquotas

If you continue to receive the "quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file." message, then it may be wise to consult with a system administrator (rather than forcing the check) to ensure you do not damage your file system

happyman
12-06-2016, 11:38
Since a failed CPU was replaced in my server I've been getting the following error message (notification by e-mail each day).

Output from your job 869
repquota: Cannot stat() mounted device /dev/root: No such file or directory
repquota: Cannot stat() mounted device /dev/root: No such file or directory

Any idea what this means and why replacing a component would cause this message ?

Thanks in advance