mkmetadatavdisk

Use the mkmetadatavdisk command to create a metadata volume for use with VMware Virtual Volumes (vVols).

Syntax

Read syntax diagramSkip visual syntax diagram mkmetadatavdisk -mdiskgrp mdiskgrp_idmdiskgrp_name -version1-version2-migrate

Parameters

-mdiskgrp mdiskgrp_id | mdiskgrp_name
(Required) Specifies the storage pool in which to create the metadata volume.
Note: Ensure that the storage pool is a parent pool.
-version1
Specifies that the new metadata volume must be created with the version 1 format.
Note: The -version1 parameter is required to create a metadata volume for use with IBM Spectrum® Connect as an external VASA Provider.
-version2
Specifies that the new metadata volume must be created with the version 2 format.
Note: If either the -version1 or -version2 parameter is not specified, then the metadata volume is created with the default format of -version2, unless the system does not support the embedded VASA Provider.
-migrate
Specifies the new metadata volume must be created with the version 2 format and the metadata on the existing metadata volume with version 1 format must be migrated to the new metadata volume. When the migration is completed, the existing metadata volume is removed.

Description

This command creates a metadata volume for use with VMware Virtual Volumes (vVols).

An invocation example

mkmetadatavdisk -mdiskgrp pool_a

The resulting output:

Virtual Disk, id [2], successfully created

An invocation example

mkmetadatavdisk -mdiskgrp 0 -version1

The resulting output:

Virtual Disk, id [2], successfully created

An invocation example

mkmetadatavdisk -mdiskgrp 0 -migrate

The resulting output:

Virtual Disk, id [2], successfully created