Implementation of NFS share in Win7

  
Windows 7 has added the NFS client function, you can open and close the Windows function through the "Programs and Features" in the Control Panel. "--"Opening and Closing Windows Features”-> " NFS service " to open, of course, the Telnet client is also invalid by default, you can also open it here. After the installation is complete, you can use NFS sharing through the mount and showmount commands in the Windows command line window. C:\\>showmount /? Usage: showmount -e [server]showmount -a [server]showmount -d [server]C:\\>mount /? Usage: mount [-o options] [-u:username] [-p:] <\\\\computername\\sharename>-o rsize=size Sets the size of the read buffer in kilobytes. -o wsize=size Sets the size of the write buffer in kilobytes. -o timeout=time Sets the timeout value (in seconds) for RPC calls. -o retry=number Sets the number of retries for the soft load. -o mtype=soft| Hard Set the load type. -o lang=euc-jp| Euc-tw| Euc-kr| Shift-jis| Big5| Ksc5601| Gb2312-80| Ansi specifies the encoding used for file and directory names. -o fileaccess=mode Specifies the permission mode of the file. These modes are for new files created on the NFS server. Specified using UNIX style mode bits. -o anon is loaded as an anonymous user. -o nolock Disables locking. -o casesensitive=yes| No Specifies to perform a case-sensitive file lookup on the server. -o sec=sys| Krb5| A simple example of krb5i: C:\\Windows\\SUA\\bin>showmount -enfs_serv1export list in nfs_serv1:/vol/volz all computers/vol/volx all computers/vol/Do_NOT_Delete all computers/vol/vol7 all computers/vol/vol0 Nfs_cli1/vol/vol0/home All computers/vol/isan All computers/vol/vsc All computers/vol/nfs_smvi nfs_cli1/vol/vol_t1 All computers C:\\>mount \\\ fs_serv1\\vol\\vol0 Z:Z: Now You have successfully connected to \\\ fs_serv1\\vol\\vol0. Note that mount point is different from Linux and UNIX. Instead of using a directory as a mount point, you use an unused drive letter. For example, "Z:" in the above example. This will allow you to access your share via the Z: drive. Very convenient. It's faster than CIFS. After use, you can use the umount command to unmount the share. C:\\Users\\leiz>umount usage: [-f] <-a |  Drive_letters |  Network_mounts>-a Remove all NFS network mount points -f Force delete NFS network mount points C:\\Users\\leiz>umount Z: Disconnecting Z: \\\ fs_serv1\\vol\\vol0 exists on open files and /Or an incomplete directory search. Do you want to continue this operation? (Y/N) [N]: The y command has completed successfully. C:\\Users\\leiz>mount local remote property --------------------------------------- ----------------------------------------Z: \\\\10.128.132.175\\vol\\ Vol0 UID=-2, GID=-2rsize=32768, wsize=32768mount=soft, timeout=1.6retry=1, locking=yesfileaccess=755, lang=GB2312-80casesensitive=nosec=sys
Copyright © Windows knowledge All Rights Reserved