Clean up Permanent Device Loss (PDL) entries in ESXi 5.1



1. All running virtual machines from the datastore must be powered off and unregistered from the vCenter Server.

2. From the vSphere Client, go to the Configuration tab of the ESXi host, and click Storage.

3. Right-click the datastore being removed, and click Unmount.

The 
Confirm Datastore Unmount window displays. When the prerequisite criteria have been passed, the OK button appears.

If you see this error when unmounting the LUN:

Call datastore refresh for object <name_of_LUN> on vCenter server <name_of_vCenter> failed

You may have a snapshot LUN presented. To resolve this issue, remove that snapshot LUN on the array side.
4. Perform a rescan on all of the ESXi hosts that had visibility to the LUN.

Note: If there are active references to the device or pending I/O, the ESXi host still lists the device after the rescan. Check for virtual machines, templates, ISO images, floppy images, and raw device mappings which may still have an active reference to the device or datastore.

5. If the LUN is still being used and available again, go to each host, right-click the LUN, and click Mount.

Note: One possible cause for an unplanned PDL is that the LUN ran out space causing it to become inaccessible.

No comments:

Post a Comment