Ensure that all disks in the system intended for vSAN use are tagged as local.

About this task

Note:

This procedure shows a system where only the vSAN disks are listed. Filter out extraneous devices, such as internal SD cards or a separate boot disk, as needed.

Procedure

  1. Make note of a disk device that is marked as a boot volume so that the device can be avoided in subsequent steps.

    The command might not produce output.

    [root@esxi-01:~] esxcli --formatter=csv --format-param=fields="Devfs Path,Is Boot Device,Size" storage core device list | grep true

    /vmfs/devices/disks/naa.5000c500894625f3,true,286102,

  2. Check for disk devices that are not tagged as local, making sure to remove boot volumes from the list that were identified in 1.

    [root@esxi-01:~] esxcli --formatter=csv --format-param=fields="Devfs Path,Is Local,Size" storage core device list | grep disks | grep false | grep -v naa.5000c500894625f3

    /vmfs/devices/disks/naa.5000c5008f366e43,false,1144641,
    /vmfs/devices/disks/naa.5001e820028799a0,false,381554,
    /vmfs/devices/disks/naa.5000c5008f3581f3,false,1144641,
    /vmfs/devices/disks/naa.5000c5008f35e103,false,1144641,
    /vmfs/devices/disks/naa.5000c5008f38e367,false,1144641,
    /vmfs/devices/disks/naa.5000c5008f355c33,false,1144641,
    /vmfs/devices/disks/naa.5001e82002879c68,false,381554,
    /vmfs/devices/disks/naa.5000c5008f353f7b,false,1144641,
    
  3. Manually mark each device, one at a time, to set the value of the Is Local parameter to true.

    [root@esxi-01:~] esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --option "enable_local" -d naa.5000c5008f366e43

    [root@esxi-01:~] esxcli storage core claiming unclaim --type device --device naa.5000c5008f366e43

    [root@esxi-01:~] esxcli storage core claimrule load

    [root@esxi-01:~] esxcli storage core claimrule run

  4. Verify that the disk devices are all tagged as local, again avoiding any boot volumes that were identified.

    [root@esxi-01:~] esxcli --formatter=csv --format-param=fields= "Devfs Path,Is Local,Size" storage core device list | grep disks | grep false | grep -v naa.5000c500894625f3