How to detach a LUN from existing datastore

In case if you want to detach a LUN fro ma datastore, please follow.
In my case i have a datastore created using multiple LUNs and need to remove one particular LUN.


1.Find out the LUN id or NAA ID of the lun to be removed.
  if you remember lun ID that can be used or use UUI/NAA ID from below commands.
  esxcli storage vmfs extent list


2. make sure you power off all the VMs and unmount datastore [if you get device busy,unregister VM from inventory]


3.Now go to ESXI host-> Storage view under Configure > Storage Devices: 
    Select the LUN ID and do "Detatch"



4.Now go to existing datastore ->Select->Mount the datastores.
  Power on /Register VM from inventory.

No comments:

Post a Comment

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...