Replacement of CPU causing mount errors
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 and why the replacement of a CPU would cause it ??
# /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
# 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
-
what's the output from the following command cat /etc/mtab
You'll need to run that inside of SSH edit: missed that fstab was already posted, just need mtab ;)0 -
what's the output from the following command
cat /etc/mtab
Thank you for replying. Here is the results from the mtab:# cat /etc/mtab rootfs / rootfs rw 0 0 /dev/root / ext3 rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback,jqfmt=vfsv0,usrjquota=quota.user 0 0 devtmpfs /dev devtmpfs rw,relatime,size=16419704k,nr_inodes=4104926,mode=755 0 0 none /proc proc rw,relatime 0 0 none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 devpts /dev/pts devpts rw,relatime,mode=600 0 0 /dev/md3 /home ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=writeback,jqfmt=vfsv0,usrjquota=quota.user 0 0 tmpfs /dev/shm tmpfs rw,relatime 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0 /dev/root /var/tmp ext3 rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback,jqfmt=vfsv0,usrjquota=quota.user 0 00 -
/dev/root / ext3 rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=writeback,jqfmt=vfsv0,usrjquota=quota.user 0 0
There's the bugger right there edit /etc/mtab, remove that, reboot and you should be home free0 -
Thanks for the reply. I will give that a try later when I am in a position to reboot. Also, I had tried linking to "/dev/xvda" using the command: ln -s /dev/xvda /dev/root How would I reverse this change I made ? Any idea why the replacement of a CPU would cause that ? Thanks in advance 0 -
It won't let me save the changes after doing a pico -w on that file and removing that line - not sure why. Any ideas ? 0 -
what's the output of lsattr /etc/mtab are you trying to edit this as root? 0 -
what's the output of lsattr /etc/mtab are you trying to edit this as root?
I get the following. Yes, I'm trying to edit it as root: root@server [~]# lsattr /etc/mtab lsattr: Operation not supported While reading flags on /etc/mtab0 -
and ls -la /etc/mtab? It shouldn't be a symlink, but this might be the answer. If it is, that needs to be fixed 0 -
and ls -la /etc/mtab? It shouldn't be a symlink, but this might be the answer. If it is, that needs to be fixed
lrwxrwxrwx 1 root root 12 Mar 22 2014 /etc/mtab -> /proc/mounts0 -
So edit /proc/mounts and remove the line mentioned earlier. 0 -
you really should be having your server admin do this, not relying on forum help. 0 -
So edit /proc/mounts and remove the line mentioned earlier.
Unable to save changes again. When I try to save the file after the changes I get the message "Error writing /proc/mounts: Invalid argument" from pico.0 -
You're getting into dangerous territory here. Contact your systems admin. Seriously, you need to find one to do this. 0 -
Hello, I suggest reporting this issue to your data center or a qualified system administrator so they can take a closer look. Manipulating your partitions is not recommended if you have no experience with those configuration files. There's a similar thread at: /dev/root missing Thank you. 0 -
Thanks for the replies. Can anyone work out how replacing a hardware component could have caused this though ? 0 -
Can anyone work out how replacing a hardware component could have caused this though ?
This question is better asked to a qualified system administrator or your hosting provider/data center, as it's not a common occurrence I've seen happen before in relation to the cPanel software. Thank you.0
Please sign in to leave a comment.
Comments
16 comments