0% found this document useful (0 votes)
137 views4 pages

LUN Detattach - VMware

1. Before unmounting a datastore, all virtual machines and objects on the datastore must be moved to another datastore using storage vMotion, and the datastore cannot be used for vSphere HA heartbeat, Storage DRS, or as a diagnostic core dump partition. 2. To unmount a datastore, select the ESXi host and datastore, confirm all pre-checks pass, and wait for the datastore to show as unmounted. 3. Match the naa ID of the unmounted datastore to a device on the ESXi host, detach the device, repeat for all ESXi hosts, and inform storage administration to physically unpresent the LUN.

Uploaded by

Kishore Chowdary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
137 views4 pages

LUN Detattach - VMware

1. Before unmounting a datastore, all virtual machines and objects on the datastore must be moved to another datastore using storage vMotion, and the datastore cannot be used for vSphere HA heartbeat, Storage DRS, or as a diagnostic core dump partition. 2. To unmount a datastore, select the ESXi host and datastore, confirm all pre-checks pass, and wait for the datastore to show as unmounted. 3. Match the naa ID of the unmounted datastore to a device on the ESXi host, detach the device, repeat for all ESXi hosts, and inform storage administration to physically unpresent the LUN.

Uploaded by

Kishore Chowdary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Pre-Checks before unmounting the Datastore:

1.If the LUN is being used as a VMFS datastore, all objects (such as virtual machines,
snapshots, and templates) stored on the VMFS datastore are unregistered or moved
to another datastore using storage vMotion. You can Browse the datastore and
verify no objects are placed on the datatsore.

2. Ensure the Datastore is not used for vSphere HA heartbeat.

3. Ensure the Datastore is not part of a Datastore cluster and not managed by
Storage DRS.

4. Datastore should not be used as a Diagnostic coredump partition.

5. Storage I/O control should be disabled for the datastore.

6. No third-party scripts or utilities are accessing the datastore.

7. If the LUN is being used as an RDM, remove the RDM from the virtual machine.
Click Edit Settings, highlight the RDM hard disk, and click Remove. Select Delete
from disk if it is not selected, and click OK. Note: This destroys the mapping file, but
not the LUN content.

Procedure to Remove Datastore or LUN from ESXi 5.X hosts:

1. Ensure you have reviewed all the pre-checks as mentioned above for the datastore
,which you are going to unmount.

2. Select the ESXi host-> Configuration-> Storage-> Datastores. Note down the
naa id for that datastore. Which starts something like
naa.XXXXXXXXXXXXXXXXXXXXX.

Image thanks to shabiryusuf.wordpress.com

3.Right-click the Datatsore, which you want to unmount and Select Unmount.
Image thanks to shabiryusuf.wordpress.com

4. Confirm Datastore unmount pre-check is all marked with Green Check mark and
click on OK. Monitor the recent tasks and Wait till the VMFS volume shows as
unmounted.
Image
thanks to shabiryusuf.wordpress.com

5.Select the ESXi host-> Configuration-> Storage-> Devices. Match the devices
with the naa.id (naa.XXXXXXXX) which you have noted down in step 2 with the
Identifier. Select the device which has same naa.id as the unmounted
datastore. Right-click the device and Detach. Verify all the Green checks and click
on Ok to detach the LUN

Image thanks to shabiryusuf.wordpress.com


6. Repeat the same steps for all ESXi hosts, where you want to unpresent this
datastore.

7. Inform your storage administrator to physically unpresent the LUN from the ESXi
host using the appropriate array tools. You can even share naa.id of the LUN with
your storage administrator to easily identify from the storage end.

8. Rescan the ESXi host and verify detached LUNs are disappeared from the ESXi
host.

Thats it. I hope this post helps you understand the detailed procedure to properly
remove the Datastore or LUN from your ESXi host. Thanks for Reading!!!. Be Social
and Share it in Social media. if you feel worth sharing it.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy