Disk/LUN not available showing in Storage Wizard

Posted on 9:19 AM by Bharathvn

No available Disk/LUNs showing in Add Storage Wizard

No available Disk/LUNs showing in Add Storage Wizard

Details

When attempting to create a new datastore, no disks or LUNs are showing in the Add Storage Wizard.

Solution

Follow the steps below to pinpoint and resolve the problem.
  1. Rescan the host to ensure storage information is up to date.
    1. Select the appropriate host in the vSphere/VMware Infrastructure Client.
    2. Click the Configuration tab.
    3. Click Storage Adapters.
    4. Click Rescan.
  2. Verify the targets are visible.
    1. Click the HBA that should be able to see the LUNs.
    2. Look in the bottom half of the screen for the presentation information.
    3. Verify targets are accessible.
    4. Verify the LUNs are accessible.

  3. If the LUNs are accessible, complete the Add Storage wizard, otherwise continue to step 4.
  4. Ensure the HBAs are zoned correctly. The following command will show you which ports the HBAs are logged in to.
    • QLogic HBAs:
      # cat /proc/scsi/qla*/* | grep -A16 "FC Port Information"
    • Emulex HBAs:
      # cat /proc/scsi/lpfc/* | grep "DID"
    • If the HBA is not logged into a port on the array, verify physical connectivity and switch zoning.

  5. If you are using Qlogic HBAs, you can view the presented LUNs directly from the HBA with the following command:
    #cat /proc/scsi/qla*/* | grep -A2560 "SCSI LUN Information"


    Otherwise, search the VMkernel log for the LUN(s). Replace x with the LUN number in question:
    1. Rescan the host to ensure updated information is in the VMkernel log
      #egrep "vmhba[0-9]*:C[0-9]*:T[0-9]*:Lx" /var/log/vmkernel

    2. Verify the LUN is detected, and is reporting VPD pages. You see hex output similar to:
      vmkernel: VMWARE SCSI Id: Supported VPD pages for vmhba2:C0:T0:L4 : 0x0 0x80 0x83 0xc0 0xb0 0xc1
      vmkernel: VMWARE SCSI Id: Device id info for vmhba2:C0:T0:L4: 0x1 0x3 0x0 0x10 0x60 0x8 0x5 0xf3 0x0 0x12 0x4a 0x90 0x6 0xd5 0xbb 0xde 0xb0 0x8b 0x0 0x2a 0x1 0x0 0x0 0x4 0x0 0x0 0x0 0x0 0x2 0x3 0x0 0x20 0x36 0x30 0x30 0x38 0x30 0x35 0x46 0x33 0x30 0x30 0x31 0x32 0x34

  6. Confirm the LUN number is between 0 and 255.
    • If you see output similar to the above, the LUN is detected. Go through the Add Storage Wizard. If you do not see any output above, the LUN is not presented correctly.
    • Work with your storage team to have the LUN presented correctly. If the LUN is still not detected, please contact your switch and/or array vendor for assistance with zoning or presentation (as appropriate based on the output from steps 4 and 6.
    • If the LUN is showing as presented in step 6, but is not accessible in the Add Storage Wizard, contact file a support request.