All Products
Search
Document Center

Cloud Storage Gateway:Manage cache disks

Last Updated:Jan 15, 2025

In Cloud Storage Gateway (CSG), each share is associated with a cache disk. This topic describes how to manage cache disks in the on-premises gateway console, including how to add cache disks, delete cache disks, and test the cache disk speed.

Prerequisites

  1. An on-premises file gateway is deployed. For more information, see Deploy an on-premises console for a file gateway.

  2. A disk has been added. For more information, see Add disks.

Background information

Each share of an on-premises file gateway has a unique cache disk. To create multiple shares, you must create the same number of cache disks for the shares. You can transmit data in a share to Object Storage Service (OSS) or use a cache disk to synchronize data from OSS to an on-premises device.

Add a cache disk

  1. Open your browser, enter https://<IP address of the file gateway> in the address bar, and then press Enter.

  2. In the dialog box that appears, enter your username and password, and then click OK.

  3. In the left-side navigation pane, click Caches. On the Caches page, click Create.

  4. In the Create Cache dialog box, set the following parameters:

    • Disk: Click Select, and then select an available disk in the Select disk dialog box.

      Disks are available only after you add the disks on the deployment platform. For more information, see Add disks.

    • File System: This parameter is optional. If you want to reuse data on the cache disk, select this check box. If you delete a share by accident, you can recreate the share and use this feature to restore data.

      Note

      If you select the File System check box but no file system exists on the cache disk, the cache disk fails to be created.

  5. Click OK.

Related operations

On the Caches page, you can also perform the following operations.

Operation

Procedure

Delete a cache disk

Find the cache disk, and then click Delete to delete the cache disk.

Test a cache disk

Find the cache disk, and then click Speed to test the performance of the cache disk, including sequential I/O tests with 1 MB and 4 KB block sizes.

What to do next