This topic describes how to access a gateway from a client that runs the Windows operating system.

Prerequisites

You have created an SMB share. For more information, see Create a share.

Background information

To access a gateway from a client that runs the Windows operating system, you must mount the share as a local network drive first. After you mount the share, network mapping is established between the local directory and the share. You can perform operations on the remote share in the same way as managing local directories.
Note
  • You can mount up to 16 SMB shares. The maximum number of SMB shares supported by different types of gateways varies depending on the CPU and memory. For more information, see Specifications.
  • The capacity of the mounted share equals the OSS bucket capacity. The displayed capacity 256 TB is the maximum capacity of the file system. Currently, the capacities of OSS buckets are not limited.
  • Beginning version 1.0.35, if you do not add an SMB user, the client accesses the SMB share as a public user. If you have added an SMB user, you need to grant read and write or read-only permissions to the user to access the SMB share.
  • After you change the SMB user permissions, you must clear the user information stored on the client when you mount the SMB share. You can run the net use /delete < share path > command to clear the client information in the Windows operating system. This command does not require you to restart the client.

Procedure

  1. Log on to the ECS console.
  2. Open the This PC window and select Map network drive.
  3. Select a drive and enter the mount point into the Folder field.

    The mount point includes the IP address of the gateway and the name of the SMB share. Replace them with the actual IP address and share name. To query the mount point, navigate to the Share page of the gateway in the Cloud Storage Gateway console.

  4. Click OK and enter the CIFS username and password.

    If you have joined an Active Directory (AD) domain, add the domain before the username. The format is: <domain><username>.

  5. After you mount the SMB share, verify the result.

    If the following or similar information appears, it indicates that the SMB share is mounted to the local directory.

    Verify the result
  6. Access the SMB share.

    After the SMB share is mounted to the local directory, you can perform operations on the remote share in the same way as managing the local directory. If you have the write permission, you can write data to the SMB share. If you have the read-only permission, then you can only read data from the SMB share.

    Note Shares are synchronized with the associated OSS buckets. Operations performed on shares are synchronized to the associated OSS buckets.