LMI_VGStorageSetting

Class reference

Subclass of LMI_StorageSetting

This class defines characteristics of LMI_VGStoragePool which is created or modified by CreateOrModifyStoragePool method in the LMI_StorageConfigurationService.

Currently only ExtentSize property is supported.

Key properties

Local properties

uint64 ExtentSize

Size of extents of the Volume Group. The default is 4 MiB and it must be at least 1 MiB and a power of 2. Once this value has been set, it is difficult to change it without recreating the volume group which would involve backing up and restoring data on any logical volumes.

If the volume group metadata uses lvm1 format, extents can vary in size from 8KB to 16GB and there is a limit of 65534 extents in each logical volume. The default of 4 MiB leads to a maximum logical volume size of around 256GiB.

If the volume group metadata uses lvm2 format those restrictions do not apply, but having a large number of extents will slow down the tools but have no impact on I/O performance to the logical volume. The smallest PE is 1KiB.

Local methods

None

Inherited methods