VMware

This Question is Answered

12 Replies Last post: Nov 6, 2009 7:07 AM by mike.laspina  

Lun is showed as blank posted: Oct 30, 2009 7:20 PM

Click to view consultor7's profile Novice 11 posts since
Sep 21, 2009

After a problem with my ESX 3.5 cluster, I got a problem with storage adapter.

We have 3 luns linked to the ESX cluster (2 servers). After a problem with preffered path in the HBA controller, only one of them appears.

The fist one is ok, but the 2 others are not ok. When I try to add again the 2 luns, they show as blank. But it is not real.

Even without adding the problematic lun, we are able to connect remotely to a server that belongs to one of the problematic lun.

Please, could somebody help me.

Re: Lun is showed as blank

1. Oct 30, 2009 10:33 PM in response to: consultor7
Click to view mike.laspina's profile Virtuoso 2,270 posts since
May 26, 2006

Hi,

Its sounds like the LUNs are transitioned to snapshot mode. Have a look at the /var/log/vmware/vmkwarning log, they will indicate if that has happened with the keyword of "snapshot LUN".

Have a look at this blog entry to understand it further.

http://blog.laspina.ca/ubiquitous/understanding-vmfs-volumes
http://blog.laspina.ca/
vExpert 2009

Re: Lun is showed as blank

3. Oct 31, 2009 7:24 AM in response to: consultor7
Click to view mike.laspina's profile Virtuoso 2,270 posts since
May 26, 2006

Hi,

From the vmkwarning logs I would have to say the storage system or SAN is down, it cannot reach any LUNs from the two available paths.

Can you tell us more about the architecture?

Specifically this following error indicates a physical layout change or LUN assignment issue.

Oct 30 09:39:30 esxserver01 vmkernel: 38:16:45:23.763 cpu9:1048)WARNING: SCSI: 2297: The physical media represented by vmhba1:0:0 has changed. The device cannot be re-synchronized with the system. This is a critical error.

http://blog.laspina.ca/
vExpert 2009

Re: Lun is showed as blank

5. Nov 3, 2009 9:04 PM in response to: consultor7
Click to view mike.laspina's profile Virtuoso 2,270 posts since
May 26, 2006
What do you get for output by running the following console command.

esxcfg-mpath -l


I suspect you have either a FC zoning problem or an issue with LUN mappings on your engenio storage head.


http://blog.laspina.ca/
vExpert 2009

Re: Lun is showed as blank

6. Nov 3, 2009 7:41 PM in response to: mike.laspina
Click to view balijuan's profile Novice 3 posts since
Nov 3, 2009
I have met the same ,

at first ,I have made a mistake that it was on snaphost mode ,but after i change EnableResignaturing ,it still shown as blank.

It display as the storage been power off , when it power on and connect to esx server again, one lun can be found as normal. one lun can be found as blank?

Did the data missing?

what should i do next ? 3ks!

hi mike ,can you give me some advice to recover it ?

if i was not online ,pls send mail to balijuan@h3c.com

Re: Lun is showed as blank

7. Nov 4, 2009 10:54 AM in response to: consultor7
Click to view mike.laspina's profile Virtuoso 2,270 posts since
May 26, 2006
Disk /dev/sdb: 1750.1 GB

Disk /dev/sdc: 1750.1 GB
/dev/sdc1 128 -876624467 1709171351 fb VMFS

Disk /dev/sdd: 1750.1 GB
Disk /dev/sde: 1099.5 GB

Disk /dev/sdf: 1649.2 GB
/dev/sdf1 128 -1073741825 1610612672 fb VMFS

Disk /dev/sdg: 1649.2 GB
/dev/sdg1 128 -1073741825 1610612672 fb VMFS

Disk /dev/sdh: 20 MB, 20971520 bytes
Disk /dev/sdh doesn't contain a valid partition table

Are you supposed to have 3 VMFS volumes?


sdd and sde are missing a VMFS partition label.


http://blog.laspina.ca/
vExpert 2009

Re: Lun is showed as blank

8. Nov 5, 2009 1:09 AM in response to: mike.laspina
Click to view balijuan's profile Novice 3 posts since
Nov 3, 2009

yes, the partition table is missing,and not sure the data are missing or not?

and ,if the parition table is ok, when storage restart,the vmfs was worng ,needs to be check ,

How to do?what 's the ommands?

Re: Lun is showed as blank

9. Nov 5, 2009 2:17 AM in response to: mike.laspina
Click to view balijuan's profile Novice 3 posts since
Nov 3, 2009
hi mike

I want to check the vmfs ,but still canot find the command,

Could you help me ?

Ba Lijuan

Re: Lun is showed as blank

10. Nov 6, 2009 7:05 AM in response to: balijuan
Click to view mike.laspina's profile Virtuoso 2,270 posts since
May 26, 2006
If the partition table is lost then you should be able to use a like sized LUN and use it to recreate the missing tables.

I see that sdb and sdd are possible to recreate using sdc as a template.

From the esx console login in as root and issue the following.

dd if=/dev/sdc of=/var/log/part-backup-sdc.hex bs=512 count=1
dd if=/var/log/part-backup-sdc.hex of=/dev/sdb bs=512 count=1
dd if=/var/log/part-backup-sdc.hex of=/dev/sdd bs=512 count=1


sde is not the same size and can not be done with this method, it requires direct fdisk editing.


Try the dd first and then do a Storage adapter rescan

http://blog.laspina.ca/
vExpert 2009

Re: Lun is showed as blank

12. Nov 6, 2009 7:07 AM in response to: consultor7
Click to view mike.laspina's profile Virtuoso 2,270 posts since
May 26, 2006

Very good.

Please mark the question answered and use the award points buttons to acknowlege the help.

Regards,

Mike

http://blog.laspina.ca/
vExpert 2009

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities