All Products
Search
Document Center

Cloud Storage Gateway:Add disks

Last Updated:Aug 29, 2024

This topic describes how to add disks as the cache of an on-premises file gateway on the virtualization platform.

Background information

To deploy an on-premises file gateway in cache mode, you must add a disk to the gateway deployment platform, such as VMware vSphere and Hyper-V. After the disk is added, you can configure a cache disk for the gateway in the Cloud Storage Gateway (CSG) console or the on-premises file gateway console.

Note

The minimum cache size for a file gateway is 40 GB. Therefore, the first disk added to a file gateway cannot be smaller than 40 GB in size. If the first disk is smaller than 40 GB, the file gateway cannot detect the added disk.

Add disks to VMware vSphere

  1. Log on to the VMware vSphere virtualization platform.

  2. On the Configure tab, choose Settings > VM Hardware. Click Edit.

    VMWare vSphere端添加磁盘

  3. On the Virtual Hardware tab, select New Hard Disk from the New device drop-down menu and click Add.

    After the disk is added, a New Hard disk item appears.

    添加新硬盘

  4. Set the size of the new hard disk.

    We recommend that you use thick provisioning to deploy the disk. Expand New Hard disk. Set the Type parameter to Thick Provision Lazy Zeroed or Thick Provision Eager Zeroed to achieve better I/O performance.

    设置硬盘大小

Note

In this example, only one hard disk is added. You can add multiple disks based on your needs.

Add disks to Hyper-V

The host must be restarted if you add disks by using an IDE controller. However, you do not need to restart the host if you add disks by using a SCSI controller. We recommend that you use a SCSI controller to add disks.

  1. Log on to the Hyper-V virtualization platform.

  2. Choose Hardware > SCSI Controller, select Hard Drive, and click Add.

    SCSI控制器

  3. On the Hard Drive tab, select Virtual hard disk in the Media section, and click New.

    创建虚拟硬盘

  4. Follow the new virtual hard disk wizard to add the hard disk.

    Take note of the following steps:

    • In the Choose Disk Type step, select Dynamically expanding.

    • In the Configure Disk step, select Create a new blank virtual hard disk, and set the disk size.

      We recommend that you set the size of a single cache disk to be larger than 40 GB for better performance. For more information about how to configure the cache, see File gateways.

      设置虚拟硬盘大小

  5. Return to the Hard Drive tab, and click Apply.

Note

In this example, only one hard disk is added. You can add multiple disks based on your needs.

Add disks to KVM

  1. Log on to the Kernel-based Virtual Machine (KVM) virtualization platform.

  2. In the KVM terminal, run the virt-manager command to launch the Virtual Machine Manager application.

  3. Select the deployed gateway and click Open.image

  4. Click View and select the Details option. 2024-08-29_17-46-43.png

  5. Click Add Hardware. 2024-08-29_17-49-24.png

  6. Select Storage. Then, select the Create a disk image for the virtual machine option and set the disk size. Select Disk device for Device type. For Bus type, we recommend that you select SCSI. Click Finish.image

    Note

    In this example, only one hard disk is added. You can add multiple disks based on your needs.