View the NFS version under RedHat

Source: Internet
Author: User
All operations on the Client # df-hFilesystemSizeUsedAvailUse % Mountedon/dev/sda3 & nbs

All operations on the client

 
 
  1. # df -h 
  2. Filesystem            Size  Used Avail Use% Mounted on 
  3. /dev/sda3              77G   21G   53G  28% / 
  4. tmpfs                 3.8G  284K  3.8G   1% /dev/shm 
  5. /dev/sda1             485M   35M  426M   8% /boot 
  6. /dev/sda2              97G   85G  7.2G  93% /var 
  7. /dev/sda6              99G   26G   69G  27% /win7 
  8. 10.10.60.89:/home/nfs 
  9.                       858G  210M  814G   1% /mnt 

 

Run the nfsstat-m command on the client end mounted to the nfs server to obtain that the nfs version of the nfs server is 4.

: View vers = 4 to get

 
 
  1. # nfsstat -m 
  2. /mnt from 10.10.60.89:/home/nfs 
  3.  Flags:    rw,relatime,vers=4,rsize=1048576,wsize=1048576, 
  4.  
  5. namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys, 
  6.  
  7. clientaddr=10.10.60.98,minorversion=0,addr=10.10.60.89 
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.