How to mount a share of Windows using mount

Source: Internet
Author: User
Tags linux

1, shared Windows folder

2,linux mount Windows share

[Root@test2 ~]# Mkdir/mnt/cifs

[Root@test2 ~]# mount-t cifs-o username=administrator,password=123//192.168.137.107/linux/mnt/cifs

3, note

Using CIFS (commoninternetfilesystemcifs), which means that the system will immediately mount Windows sharing directly using the Mount plus parameter CIFS

Be sure to set Windows username and password when hanging in

Otherwise, there will be the following error

Mounterror5=input/outputerror

Refertothemount.cifs (8) manualpage (E.G.MANMOUNT.CIFS)

Of course, we can also share our windows partitions, but must be English

[root@test2~] #umount/mnt/cifs/

[root@test2~] #mount-tcifs-ousername=administrator,password=123//192.168.137.107/e/mnt/cifs

[root@test2~] #cd/mnt/cifs/

360rec/oracle/

linux/$RECYCLE. bin/

MySQL Series training Video/systemvolumeinformation/

This article from the "Live Well" blog, please be sure to keep this source http://wolfword.blog.51cto.com/4892126/1290531

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/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.