This topic describes how to access a local gateway from a client that is running Windows.

Prerequisites

You have created an Server Message Block (SMB) share. For more information, see Create an SMB share.

Background information

To access a local gateway from a client that is running Windows, you must map the share as a network drive first. After you map the share, a network mapping is established between the local directory and the share. You can access the remote share in the same way as you access a local directory.
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 Object Storage Service (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.
  • For version 1.0.35 and later, if you have not added any users, you can access the SMB share directory as a public user by default. However, if you have added users, you must grant the read/write or read-only permission to a user before the user can access the SMB share directory.
  • After each time you change SMB user permissions, you need to clear the user information saved on the client when you mount the share. You can use the net use/delete < share path > command to clear client information in Windows. You do not need to restart the client computer.

Procedure

  1. Log on to the Windows operating system of a local computer.
  2. Open This PC and select Map network drive.
  3. Select a drive letter from the drop-down list 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 Common Internet File System (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 access the remote share in the same way as you access a 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.