NFS shared files for Windows 7 Mount Linux

Source: Internet
Author: User

NFS client features are included in Windows 7 and can be turned on and off with Windows features, "programs and Features" in Control Panel, "Services for NFS"
To open, of course, the default Telnet client is also invalid, can also be opened here. Once the installation is complete, you can use the mount in the Windows command-line window
and the Showmount command uses NFS for sharing.

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 (KB).
-O Timeout=time Sets the timeout value (in seconds) for the RPC call.
-O Retry=number sets the number of retries for the soft mount.
-O Mtype=soft|hard sets the mount type.
-O Lang=euc-jp|euc-tw|euc-kr|shift-jis|big5|ksc5601|gb2312-80|ansi
Specifies the encoding to use for file and directory names.
-o fileaccess=mode Specifies the permission mode for the file.
These modes are used to create an NFS server on the
New file. Specified using UNIX style mode bits.
-o anon is loaded as an anonymous user.
-O nolock disables locking.
-O casesensitive=yes|no Specifies that a case-sensitive file lookup is performed on the server.
-O sec=sys|krb5|krb5i

A 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 \\nfs_serv1\vol\vol0 Z:
Z: Now successfully connected to \\nfs_serv1\vol\vol0

It is important to note that mount point differs from Linux and Unix in that it does not use a directory as a mount, but instead uses an unused drive letter.
For example, "Z:" in the example above. This allows you to access your share through the Z: Disk. Very convenient. It's quicker than the CIFS approach.

Once you're done, you can uninstall the share using the Umount command.
C:\users\leiz>umount

Usage: [-f] <-a | Drive_letters | Network_mounts>

-A Remove all NFS network mount points
-F Force removal of NFS network mount points

C:\users\leiz>umount Z:

Disconnecting Z: \\nfs_serv1\vol\vol0
There are open files and/or incomplete directory searches on the connection.

Do you want to continue this operation? (y/n) [N]:y

The command was successfully completed.

C:\users\leiz>mount

Local Remote properties
-------------------------------------------------------------------------------
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

NFS shared files for Windows 7 Mount Linux

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.