Manage storage pools

ARM hosts do not support local file directory (high speed) storage pools.

 

A storage pool is used to store storage volume files. You can configure multiple storage pools for a host.

After a host is added to CVM, it has two local file directories named defaultpool and isopool by default. Storage pool defaultpool stores disk image files of VMs. Storage pool isopool stores castools.iso and Virtio driver files of OSs. Operators can add storage pools of other types as needed.

Storage pool type

A host supports the following types of storage pools:

Storage pool access modes

VMs access storage pools through the following objects:

For LVM logical storage volume, iSCSI network storage, FC network storage, and RBD, VMs use their storage resources as block devices.

For local file directory, shared file system, and network file system, VMs use their storage resources as files.

For Windows system shared directory, VMs can perform only read operations. As a best practice, use storage pools of this type to store OS installation images. VMs can mount the ISO installation files in the storage pools to install an OS instead of copying the files to the local storage.

 

Storage medium

A storage medium stores disaster recovery backup data. A storage pool can be used as the destination storage pool for disk backup-based disaster recovery only after it is configured as a storage medium. A storage node will go offline and then come online after you configure its storage pool as a storage medium.

Restrictions and guidelines

iSCSI network storage and an iSCSI shared file system cannot share the LUN of an iSCSI storage device.

To ensure the availability of the storage pools, make sure user mapping mode configured on the NFS server is no_root_squash and the system has the root access.

The FC storage devices of some vendors do not support automatic LUN scanning. If you cannot find any LUNs for an FC SAN shared file system after adding it on a host, you must reboot the host.

After you suspend a storage pool of the FC network storage or local file directory type, VMs using the storage pool can still start correctly. After you suspend a local file directory (high speed) storage pool, VMs using the storage pool cannot be started.

When you add a storage pool on a host, for the storage pool to support automatic VM migration, make sure the following requirements are met:

Hosts or clusters in the security zone cannot use the same shared storage as hosts or clusters not in the security zone.

The I/O throughput, IOPS, and disk I/O delay areas on the path details page display information about only active paths.

Only shared file system storage pools can be used as storage media.

If a data pool has been specified as an RBD storage pool, storage volumes in the data pool cannot be configured as iSCSI LUNs.

Local file directory (high speed) storage pools require hardware support. In the current software version, local file directory (high speed) storage pools can be implemented on the Intel AEP memory. You can configure local file directory (high speed) storage pools for a host if valid Intel AEP settings exist in the system or the high-speed memory storage feature is configurable.

Add a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click Add.

  1. Configure the parameters as described in "Parameters."

  1. Click OK.

Modify the alias of a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the 2.png icon for a storage pool.

  1. Enter an alias, and then click OK.

Start a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the 5.png icon for the target storage pool.

  1. In the dialog box that opens, click OK.

Suspend a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the 7.png icon for the target shared storage.

  1. In the dialog box that opens, click OK.

Configure a storage pool as a storage medium

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the  icon for the storage pool, and then click OK in the dialog box that opens.

Remove the storage medium role of a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the  icon for the storage pool, and then click OK in the dialog box that opens.

Refresh a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the 6.png icon for a storage pool.

Display detailed information about a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the 1.png icon for a storage pool.

Delete a storage pool

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the 10.png icon for the target shared storage.

  1. In the dialog box that opens, click OK.

Display path details

  1. From the left navigation pane, select Resources > Host Pool Name > Host Name or Resources > Host Pool Name > Cluster Name > Host Name.

  1. Click the Storage tab.

  1. Click the  icon for a shared file system storage pool.

Parameters

Add a logical storage volume:

Add an iSCSI network storage:

Add an FC network storage:

Add a local file directory:

Add an NFS:

Add a shared file system:

Add a Windows shared directory:

Display storage pools and storage pool details:

If the storage pool is an iSCSI network storage pool that has multiple LUNs, the size of the storage pool is the total size of all LUNs of the target, including LUNs used as shared file systems and template pools.

If the storage pool is an RBD storage pool, the size of the storage pool is calculated as follows:

Suppose that the block storage data pool corresponding to the RBD storage pool is Pool A.

The raw capacity of a storage pool is the capacity sum of all normal disks in the pool. The actual size of an RBD storage pool might be smaller than the calculated size because of metadata cost. If the distributed storage system uses metadata separate deployment, the raw capacity of a storage pool is the raw capacity of its metadata pool. For example, in ONEStor, the disk pool of a storage pool is the metadata pool of the storage pool, so the raw capacity of the storage pool is the raw capacity of its disk pool.

Display path details: