Run the vsan.host_claim_disks_differently RVC command to mark storage devices as flash, capacity flash, or magnetic disk (HDD).
About this task
You can use the RVC tool to tag flash devices as capacity devices either individually, or in a batch by specifying the model of the device. When you want to tag flash devices as capacity devices you can include them in all-flash disk groups.
The vsan.host_claim_disks_differently command does not check the device type before tagging them. The command tags any device that you append with the capacity_flash command option, including the magnetic disks and devices that are already in use. Make sure you verify the device status before tagging.
For information about the RVC commands for Virtual SAN management, see the RVC Command Reference Guide.
Verify that you are using Virtual SAN version 6.0 or later.
Verify that SSH is enabled on the vCenter Server Appliance.
- Open an SSH connection to the vCenter Server Appliance.
- Log into the appliance by using a local account that has administrator privilege.
- Start the RVC by running the following command.
For example, to use the same vCenter Server Appliance to mark flash devices for capacity as a user root, run the following command:
- Enter the password for the user name.
- Navigate to the vcenter_server/data_center/computers/cluster/hosts directory in the vSphere infrastructure.
- Run the vsan.host_claim_disks_differently command with the --claim-type capacity_flash --model model_name options to mark all flash devices of the same model as capacity on all hosts in the cluster.
vsan.host_claim_disks_differently --claim-type capacity_flash --model model_name *
What to do next
Enable Virtual SAN on the cluster and claim capacity devices.