A problem with an NFS mount error was encountered today with the following error message:
Mount:wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img,
Missing codepage or helper program, or other error
(for several filesystems (e.g. NFS, CIFS) you might
Need a/sbin/mount.<type> Helper Program)
In some cases useful info are found in Syslog-try
DMESG | Tail or so
According to the error prompts, see/sbin/mount.<type> file, did not find/sbin/mount.nfs file, install nfs-utils can
Workaround:
The code is as follows |
Copy Code |
Apt-get Install Nfs-common Or Yum Install Nfs-utils |
After installation, there are two more mount files under/sbin/, Mount.nfs and MOUNT.NFS4 respectively:
code is as follows |
copy code |
[Root@web data]# ll/sbin/mount* -rwsr-xr-x. 1 root 123776 November 2013/sbin/mount.nfs lrwxrwxrwx. 1 root ROOT&NBSP;&NB sp; 9 June 9 13:41/sbin/mount.nfs4-> mount.nfs -rwxr-xr-x. 1 root root 13 38 February 2013/SBIN/MOUNT.TMPFS |