Symptoms
今天客户自己安装Nagios监控软件时,报了一个错误,如下:
NOTE: The command "/sbin/mount" exited with a status code of "1".
The following is the output from the command:
mount: /dev/test/test: No such file or directory
mount: /dev/vgoradate/oradate: No such file or directory
NOTE: End of command output. Non-zero exit status may or may not be
a failure. Look for additional messages.
ERROR: Entry for filesystem "/dev/vgdate/date" in "/etc/fstab"
could not be mounted. If you do not want this file system
mounted, comment it out of the "/etc/fstab" file, or set the
"mount_all_filesystems" option to "false".
ERROR: Cannot continue the Analysis Phase until the previous errors
are corrected.
Cause
对于这个错误,主要是因为swinstall的时候会检查/etc/fstab中相关的fs mount了没有
Solution
规避这个问题,可以:
1、将/etc/fstab里面的fs都mount上去
2、将/etc/fstab里面不需要mount的fs注释掉