Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Existing setup:

  • host1 and host2, ESX 4.0, 2 HBAs each.
  • lun1 and lun2, 2 LUNs belonging to the same RAID set (my terminology might be sketchy here).

This has been working just fine all along.

I added host3, ESXi 4.1, 2 HBAs.

If I view Configuration / Storage Adapters, I can see that both HBAs see both LUNs, but if I view Configuration / Storage, I only see 1 datastore. host1/2 can see both LUNs and I have VMs running on both too.

I have rescanned, refreshed and even rebooted, but host3 refuses to acknowledge 1 of the datastores.

Does anyone know what's going on?

Update:

I re-installed the host with ESX (not i) 4.0, same version as the existing hosts and it's still not recognising the vmfs. I think I'm going to SVmotion everything off that datastore then format it.

Update2:

I've created the LUN from scratch and the problem gets even weirder. I've presented the LUN to all 3 hosts, and I can see the LUN in the vSphere client's Configuration / Storage Adapters section on all 3 hosts.

  • If I create a datastore on the LUN via the Configuration / Storage section on host1, it works fine and I can create an empty folder via datastore browser, but the datastore is not seen by the host2 and host3.
  • I can use the Add Storage wizard on host2 and it will see the LUN. At this point the "VMFS Label" column has the label I gave with "(head)" appended.
  • If I try the Add Storage wizard's "Keep the existing signature" option, it fails with an error "Cannot change the host configuration." and a dialog box that says 'Call "HostStorageSystem.ResolveMultipleUnresolvedVmfsVolumes" for object "storageSystem-17" on vCenter Server "vcenter.company.local" failed.'
  • If I try the Add Storage wizard's "Assign a new signature" option on host2, it will complete and the VMFS label will have "snap-(hexnumber)-" prepended. At this point its also visible on host3, but not host1.

I have a similar setup in a different datacenter which didn't give me all this trouble.

share|improve this question

5 Answers 5

I had the same issue and the above answers led me in the right direction with my storage team. The FA bit settings had SPC2 disabled, the moment this was enabled on the newly added hosts, the issue was resolved

share|improve this answer

I had this same issue, but only for our replicated LUNs in the cluster. We were migrating from 4.0u1 to 4.1u1. The solution was simply to log into each host and run the command:

# esxcfg-volume -l  to view the datastores
# esxcfg-volume -m "vmfs_label_name"

Then go back to the VI client and refresh Storage - the datastore should be in the inventory.

I'm similarly not entirely comfortable with the solution, kinda weird, but thought I'd share.

share|improve this answer
up vote 0 down vote accepted

I've got it sorted now.

Based on information found in this thread I used the vSphere client to connect directly to host1 and then created the store. I then connected directly to host2/3 and added the datastore, selecting the "Keep the existing signature" option.

It's now usable on all 3 hosts.

To be honest I'm still a little annoyed with the whole situation, I'm not a big fan of voodoo solutions, but so be it.

share|improve this answer

What SAN box is it? most allow you to define what OS a given host is and picking the wrong one (i.e. Windows instead of VMWare/Linux) will cause odd behavior, some allow you to do this on a per-LUN basis too - I'd check your SAN host definitions then. The other thing you could do is create a third LUN, map it to all 3 hosts, partition/format it from the new server and rescan - what happens then?

share|improve this answer
    
You've probably never heard of it.... it's an Axus YA-16SAEF4. It's not supported by VMware so I'm left to my own devices. There's no available space to create another LUN, I'm going to SVmotion everything off the datastore and start from scratch in the hope that sorts it out. Edit: Oh, and there doesn't seem to be any configuration setting to specify what OS is used by the host/s. I can only edit the alias for each HBA seen by the SAN box. –  ThatGraemeGuy Oct 6 '10 at 9:43
    
Hmm...odd, in a strange way I do hope this is just a datastore corruption as your course of action should work - what worries me is if there's an issue with your HBA firmware not working with your array it'll be a lot harder to fix if at all. –  Chopper3 Oct 6 '10 at 9:59
    
You've given me some more food for thought. In the back of my mind I thought these were identical boxes, but it turns out they aren't. The 2 working boxes are IBM x3550 M3 boxes, the one I'm adding is an x3550 M2. It also has a different model HBA to the 2 working boxes. –  ThatGraemeGuy Oct 6 '10 at 11:18
    
What triggered this is that we have a particular platform with both HDS and 3PAR SAN arrays and we've had to standardise on a particular blade HBA and a particular firmware version on them as it was the only version that worked fine for BOTH systems - it's a pain as we're always adding new servers but we ended up just buying a load of the right HBAs, flashing them as needed and that way we just bang these pre-built ones into new servers and at least it's done then. Fingers-crossed for you on this one. –  Chopper3 Oct 6 '10 at 11:46
    
I have an identical setup in another datacenter, also 1x M2 box, 2x M3, same SAN, same HBAs. I'm going to compare firmware versions on everything I can and see if there are differences. –  ThatGraemeGuy Oct 6 '10 at 12:13

do you use vmfs3 for he datastores or vmfs2. vmfs2 is supported by esx4.1 but i head that you can get some issues if you try to use a vmfs2 datastore with different esx versions.

did you try to restart the mgmt-vmware and the vmware-vpxa services on both esx 4.0 servers and rescan the datastores on each host, not only on the esx4.1?

greetings grub

share|improve this answer
    
They're both vmfs3. The 2 existing boxes are working fine, I'm not sure why I'd need to restart the management services? –  ThatGraemeGuy Oct 5 '10 at 13:26
    
I'm not sure either ;-) normally it shouldn't make any difference but I think your issue is so strange that it couldn't harm to restart the services. –  grub Oct 5 '10 at 14:13
    
I'd rather not restart the management services on the 2 that are working fine. I've added an update to my question, going to clear everything off the datastore and format it. –  ThatGraemeGuy Oct 6 '10 at 9:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.