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. "->-> ; "NFS service" to enable, of course, the Telnet client is also invalid by default, it can also be opened here. After the installation is complete, you can use the NFS share with 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| Krb5i simple example: C:\\Windows\\SUA\\bin>showmount -enfs_serv1 Export 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 Successfully connected to \\\ fs_serv1\\vol\\vol0 It is important to note that the mount point differs from Linux and UNIX in that instead of using a directory as a mount point, an unused drive letter is used. 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 There are open files and /on the connection Or an incomplete directory search. Do you want to continue this operation? (Y/N) The [N]:y command has completed successfully. C:\\Users\\leiz>mount local remote property --------------------------------------- ---------------------------------------- Z: \\\\10.128.132.175\\vol\\ Vol0 UID=-2, GID=-2 rsize=32768, wsize=32768 mount=soft, timeout=1.6 retry=1, locking=yes fileaccess=755, lang=GB2312-80 casesensitive=no sec=sys

Copyright © Windows knowledge All Rights Reserved