This topic describes how to access an SMB share directory by using a Cloud Storage Gateway (CSG) agent on an Elastic Compute Service (ECS) instance that runs Windows.
Prerequisites
Note
- You can mount a maximum of 16 SMB share directories. The maximum number of SMB shares supported by different types of gateways varies depending on the CPU and memory. For more information, see Specifications.
- After a share directory is mounted, the maximum capacity of file systems varies depending on the specifications of gateways. For more information, see the "Specifications of cloud file gateways" section of the Table 1 topic.
- For gateways V1.0.35 and later, if you have not created a user, you can access SMB share directories as a public user by default. However, if you have added users, you must grant read and write or read-only permissions to a user before the user can access SMB share directories. For more information, see Configure an SMB share.
- After you change SMB user permissions, you must clear user information saved on your CSG agent. You can run the net use/delete < share path > command to clear user information in Windows. You do not need to restart the agent.