The NFS version in centos and Debian is incompatible.

Source: Internet
Author: User

Debian version

View CAT/etc/debian_version

Debian supports vers = 4 by default, but earlier centos versions support vers = 3 by default. Therefore, the following message is displayed when NFS is mounted:

NFS: Bad mount option value specified: vers = 4
Mount. NFS: an incorrect mount option was specifiedt

Solution:

This is because Linux and solaris10 use different versions of NFS. By default, solaris10 uses nfs4, which causes compatibility between Solaris NFS and Linux NFS, you can add the "-O vers = 3", nfsvers = 3, and vers = 3 parameters.

For example, running on the client:

# Mount-T nfs192.168.0.100:/nfsroot/mnt-O vers = 3

Note:

1.192.168.0.100 is the Server IP adress

OK

2. exportfs-R: Reload the NFS configuration file (/etc/exports)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.