All Products
Search
Document Center

Access an SMB share from a client

Last Updated: Jun 27, 2019

To access a gateway from a client that runs the Windows operating system, you must add the share to the local mapped network drive first. After you add the share to the network drive, network mapping is established between the local directory and the share. You can perform operations on the remote share by managing the local directory.

Notes:

1.You can create up to 16 SMB shares under each gateway. The upper limit varies depending on the gateway specification due to the CPU and memory capacities. For more information, see Specifications of different types of Alibaba Cloud CSG gateways.

2.After an SMB share is mounted to a client, the file system capacity equals the OSS bucket capacity. The displayed capacity 256 TB is the maximum capacity of the file system. Currently, the capacity of OSS buckets is unlimited.

3.Each time you change the SMB user permissions, you must clear the user information stored on the client before you mount an SMB share to a client. You can run the net use /delete command to clear user information on a Windows client. This command does not require you to restart the client.

4.Version 1.0.35 and later allow clients to access an SMB share without authentication if no users are created under the share. If an SMB user is created under the share, you must grant read and read permissions or read-only permissions for the SMB user before you mount the SMB share to a client by using the SMB user.

Open the This PC window, choose Computer > Map network drive, as shown in the following figure:

5-22

2.Select a drive and a dialog box appears. Enter the path of the share in the Folder box in this format:

\\ the IP address that connects the file gateway to the client\ the share name.

Click OK and then enter the SMB username and password, as shown in the following figure:

Note: If you have joined an AD domain, add the domain name before the username. Format: <domain name>\<username>.

5-23

3.The following figure shows the client accessing the SMB share after the share is mounted to the Windows client:

5-24