ESXi - 6.7 esxcli storage core device setconfig

From Da Nerd Mage Wiki
Jump to navigation Jump to search
--detached=<bool>     Mark device as detached.
 -d|--device=<str>     The device upon which to operate. This can be any of the
                       UIDs that a device reports. (required)
 --perennially-reserved=<bool>
                       Mark device as perennially reserved.
 --shared-clusterwide=<bool>
                       Mark device as not shared clusterwide.

Examples:

Mark device naa.1234 as persistently detached

  • esxcli storage core device setconfig -d naa.1234 --detached=true

Mark device naa.1234 as perennially reserved. This is used in cluster environments to stop retrying IOs to quorum disks which are perennially reserved by another host, thereby speeding up boot times for ESX hosts that share the disk

  • esxcli storage core device setconfig -d naa.1234 --perennially-reserved=true

Mark device naa.1234 as not shared clusterwide. This is used in cluster environments using storage host profiles to mark devices not detected as local as "virtually" local

  • esxcli storage core device setconfig -d naa.1234 --shared-clusterwide=false