VMWare Datastores Help

Posted on 2012-03-13
Last Modified: 2012-08-13
It seems our VMWare and Datastores is broken.

2 ESXi vSphere 5 hosts
1 Starwind SAN

On ESX1, all datastores look fine and visible.

On ESX2, it can only see local storage.

- If you go to "Add Storage" it can see the SAN Datastores, but the only option is to Format the store, not to keep existing signature.

- Under Storage Adapters, all the paths are there and mounted (all showing same LUN values - same as ESX1)

- If you try to add a datastore which is NOT on ESX1, Keep Existing Signatures is valid but the operation fails with error "Cannot change the host configuration"

Prior to this everything was working fine - both hosts could connect to the datastores (clustered mode on Starwind is enabled).

ESX servers have been rebooted several times as has vCentre VM (Linux version)

The only difference is that the vCentre was moved to a different host - from ESX1 SAN Storage to ESX2 Local Storage so we could reboot the host and keep vCentre up.

Of course now we cant move it back because we cant add in the datatstores...

Any ideas?
Question by:hongedit
  • 7
  • 5
LVL 118

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37714233
do the following at the console or remote via SSH

~ # esxcfg-volume -l
VMFS3 UUID/label: 4cc89503-f054d0d4-2865-00221958e471/nas3-vmfs
Can mount: Yes
Can resignature: No (the volume is being actively used)
Extent name: naa.600140588e9bab7d2b7ed4b53dadc1de:1     range: 0 - 1048319 (MB)

and then using UUID or friendly datastore label

esxcfg-volume -m 4cc89503-f054d0d4-2865-00221958e471


esxcfg-volume -m nas3-vmfs

Author Comment

ID: 37714284
Before I do that - is running vCentre on local storage supported? I.E how does it see/manage the other ESX servers if its not on SAN storage?
LVL 118
ID: 37714300
Yes, vCenter could be running on a standalone physical server with NO access to the SAN. Its the hosts that are configured and connected to shared storage.
LVL 118
ID: 37714306
it manages them via the network via 443 TCP.

Author Comment

ID: 37714357
That worked.

So now on ESX2 the VM's are showing, but a lot of them have red !'s on them?
LVL 118
ID: 37714382
what does the alert state for the VM?

Do you have a Cluster and use HA?
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Author Comment

ID: 37714405
No HA.

Thats the thing - I see this Red ! but under alarms its empty.
LVL 118
ID: 37714412
Phantom Alert Bug in vSphere 5.0.

Author Comment

ID: 37714423

So why did this happen, and will we need to do this everytime we reboot etc?
LVL 118
ID: 37714449
this can happen on vSphere, the servers forget or do no mount correctly the iSCSI LUN, we have seen it in all versions, but seems to occur more often in 5.0.

you should find it mount normally, but you now have the fix or workaround if it does not.
LVL 118
ID: 37714458
check if running latest ESXi 5.0 build and Starwind iSCSI builds as well.

Author Comment

ID: 37714486
Know its not the latest for sure, its on a to do list that is ever growing!

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now