Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Help Center/ Scalable File Service Turbo/ Troubleshooting/ Error Message "wrong fs type, bad option" Was Displayed During File System Mounting

Error Message "wrong fs type, bad option" Was Displayed During File System Mounting

Updated on 2025-01-09 GMT+08:00

Symptom

The message "wrong fs type, bad option" was displayed when you run the mount command to mount a file system to a Linux ECS.

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

  1. Log in to the ECS and run the following command to check whether the nfs-utils package is installed. If no command output is returned, the package is not installed.

    rpm -qa|grep nfs
    Figure 1 Checking whether the software package has been installed

  2. Install the nfs-utils software package.

    yum -y install nfs-utils
    Figure 2 Executing the installation command
    Figure 3 Successful installation

  3. Run the mount command again to mount the file system to the ECS.

    mount -t nfs -o vers=3,timeo=600,noresvport,nolock,tcp <Shared path> <Local path>

  4. View the mounted file system.

    mount -l

    If the command output contains the following information, the file system has been mounted:
    example.com:/share-xxx on /local_path type nfs (rw,vers=3,timeo=600,nolock,addr=)

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback