Win7 How to use NFS sharing

Source: Internet
Author: User
Tags command line

The NFS client feature is added to Windows 7 systems to turn Windows features on and off by using the programs and features-> in Control Panel-> "NFS Services"

To open, of course, the Telnet client is also invalid by default, or it can 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 sharing.

C:>showmount/?

Usage: SHOWMOUNT-E [Server]

showmount-a [Server]

showmount-d [Server]

C:>mount/?

Usage: Mount [-O options] [-u:username] [P:] <computernamesharename>

-O rsize=size sets the size, in kilobytes, of the read buffer.

-O wsize=size sets the size, in kilobytes, of the write buffer.

-O Timeout=time Sets the timeout value (in seconds) for the RPC call.

-O Retry=number sets the number of retries for a 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 used for file and directory names.

-o fileaccess=mode Specifies the permission mode for the file.

These patterns are used to create on server for NFS

New file. Specified using the UNIX style mode bit.

The-o anon is loaded as an anonymous user.

-O nolock disables locking.

-O casesensitive=yes|no specifies that case-sensitive file lookups are performed on the server.

-O sec=sys|krb5|krb5i

A simple example:

C:windowssuabin>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_serv1volvol0 Z:

Z: Now successfully connected to Nfs_serv1volvol0

Note that mount point is different from Linux and UNIX, instead of using a directory as a mount, instead of using an unused letter letter.

For example, in the previous example, "Z:". This allows you to access your share through the Z: Disk. Very convenient. Faster than the CIFS way.

When you are finished using, you can uninstall the share with the Umount command.

C:usersleiz>umount

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

-A Remove all NFS network mount points

-F Force Delete NFS Network mount point

C:usersleiz>umount Z:

Disconnecting z:nfs_serv1volvol0

There are open files and/or incomplete directory searches on the connection.

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

The command has completed successfully.

C:usersleiz>mount

Local Remote properties

-------------------------------------------------------------------------------

Z:10.128.132.175volvol0 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

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.