Unsolved
1 Rookie
•
61 Posts
0
87
May 19th, 2025 14:25
Best Practice to Remove VMDK datastore access from ESXi hosts
We have many VMDK datastores created in Unity and then presented to our Vcenter and subsequent ESXi hosts.
We need to now unpresent several of these vmdk datastores.
What is the best practice in Unisphere to do so - at the Host level or at the storage level?
meaning is it best to Storage-VMware-Datastores - open properties of vmdk datastore - Host Access tab - select esxi hosts we want to remove datastore access from and click the Trash Can icon to remove access?
OR to go to each ESXi host (Access-VMware-ESXi Hosts), select datastores and click the Trash Can icon to unpresent (remove access) from datastores (in the LUNs tab)?
Thank you!
No Events found!
Origin3k
4 Operator
•
2.3K Posts
0
May 20th, 2025 00:00
Short Answer:
With the help of the storage plugin like AMS/VSM(EqualLogic), CITV(Compellent), VSI(PowerStore) or what ever the Unity version was named.
Long Answer:
It depends a little bit of the type if Datastore(iSCSI vs. FC) and for sure you have to start always on the Host level and than go backwards. In the good old times it was VMware KB 2004605.
There is deep water when this datastore was also used as a cache device, store core dumps or was the scratch partition.
Regards,
Joerg
kmbay
1 Rookie
•
61 Posts
0
May 20th, 2025 14:02
@Origin3k it is FC and the SAN is DellEMC Unity 550f. We do not have a storage plugin on vSphere for Unity. We have always presented/attached vmdk datastores to esxi hosts from the Array UI.
So it sounds like it's best to just remove vmdk datastores from the Host level (Access-VMware-ESXi Hosts), one host at a time?
Origin3k
4 Operator
•
2.3K Posts
0
May 20th, 2025 23:05
https://knowledge.broadcom.com/external/article/323128/how-to-detach-a-lun-device-from-esxi-hos.html
kmbay
1 Rookie
•
61 Posts
0
May 23rd, 2025 15:15
For a more summarized process I think correct steps would be in vSphere Unmount and Detach then in SAN remove host access from LUN
using the following Steps:
vSphere - Hosts and Clusters - Unmount and Detach
Select the ESXi host → Datastores → Right-click on the datastore and Unmount
Detach it via Configure → Storage Devices → click on the LUN I just unmounted and click "DETACH"
Then in Unisphere (SAN array UI) go to the LUN - Host Access tab and remove the ESXi host
That sound correct?
again I've only ever removed host access from the Unisphere SAN array UI which then rescans the esxi host in vSphere and removes access there.
Origin3k
4 Operator
•
2.3K Posts
0
June 6th, 2025 15:40
You may have
It all need to be undone befor you can umount a Datastore on a ESXi Hosts.
Regards,
Joerg