To resolve this issue, when configuring a System Image Cache disk, use these arguments to define the disk for the cache:
- esx – The first disk detected containing a valid installation of ESXi
- local – The first local disk detected by ESXi after boot
- device model
- device vendor
- vmkernel device driver name
For more information, see the
Configure a Host Profile to Use Stateless Caching section in the
Set Up Stateless Hosts to Use Auto Deploy with Caching Guide.
For example, to configure a device as a System Image Cache using the device vendor tag:
- Open a console to the ESXI host logging in as the root.
- Run this command to list the detected storage devices:
esxcli storage core device list
- Locate the disk in which you want to configure as the System Image Cache and make note of the Vendor value.
In this example, the Vendor value is Kingston:
mpx.vmhba32:C0:T0:L0
Display Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L0)
Has Settable Display Name: false
Size: 14883
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0
Vendor: Kingston
- Log in to vCenter Server using the vSphere Client.
- Navigate to Home > Management > Host Profiles.
- Right-click the host profile and click Edit Profile.
- Expand System Image Cache Configuration.
- Under Arguments for the first disk field, add the vendor tag identified in Step 3.
Note: You can use the Arguments for first disk field to specify a comma-separated list of disks to use, in the order of preference.
- Click Finish to complete the host profile configuration.
- Apply the host profile to update the configuration.