Error Message "wrong fs type, bad option" Is Displayed During File System Mounting
Symptom
The message "wrong fs type, bad option" is displayed when you run the mount command to mount a file system to an ECS running Linux.
Possible Causes
An NFS client is not installed on the Linux ECS. That is, the nfs-utils software package is not installed before you execute the mount command.
Fault Diagnosis
Install the required nfs-utils software package.
Solution
- Log in to the ECS and check whether the nfs-utils package is installed. Run the following command. If no command output is displayed, the package is not installed.
rpm -qa|grep nfs
Figure 1 Checking whether the software package has been installed
- Run the following command to install the nfs-utils software package:
yum -y install nfs-utils
Figure 2 Executing the installation command
Figure 3 Successful installation
- Run the mount command again to mount the file system to the ECS.
mount -t nfs -o vers=3,timeo=600,noresvport,nolock Mount point Local path
- Run the following command to view the mounted file system:
mount -l
If the command output contains the following information, the file system is mounted successfully.example.com:/share-xxx on /local_path type nfs (rw,vers=3,timeo=600,nolock,addr=)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot