Quantcast
Channel: VMware Communities: Message List - vSphere™ Storage
Viewing all articles
Browse latest Browse all 5826

Re: How to know a iscsi datastore ever mounted/unmounted on a host?

$
0
0

Hi Wood,

 

check the following article.

Unmounting a LUN or detaching a datastore/storage device from multiple VMware ESXi 5.x/6.0 hosts (2004605)

 

When the device is detached, it stays in an unmounted state even if the device is re-presented (that is, the detached state is persistent).

To bring the device back online, the device must be attached.

 

If you want the device to permanently decommission from an ESXi host, manually remove the NAA entries from the host configuration:

 

So you could use command esxcli storage core device detached list to check if the host did mount that device earlier or not.

When the device is initially presented (or was manually permanently decommissioned before), it won't appear in that list.

When the device with a VMFS was unmounted earlier and not permanently decommissioned, the naa.ID will appear in that list.

 

Regards,

Ralf


Viewing all articles
Browse latest Browse all 5826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>