VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 16 Replies Last post: Mar 14, 2008 1:41 AM by wobbler  

ESX 3.0.1 and HP EVA 4000 LUNs posted: Nov 3, 2006 7:51 AM

Click to view snowmizer's profile Hot Shot 241 posts since
Jun 8, 2005
I have a LUN created on my EVA 4000. It already has a vmfs file system set up as well as some vmdk files from a VM. On server X the LUN ID is 1. I would like to present the LUN to server Y. When I present the LUN to server Y the LUN ID is 5. I try rescanning the storage adapters on my server Y but the LUN doesn't show up.

I read pgs. 108-109 on the SAN config guide and have set the LVM.EnableResignature value to 1 (LVM.DisallowSnapshotLUN = 1). When I rescan my storage adapters on server Y my disk appears as "snap...". Am I correct that this means I have a snapshot of my LUN? If this is a snapshot then what are the implications of this? What do I need to do to get these LUNS to present correctly? Am I correct that I need to represent my LUNs to the ESX servers that will share them in the same order?

Thanks.

Re: ESX 3.0.1 and HP EVA 4000 LUNs

1. Nov 4, 2006 5:56 AM in response to: snowmizer
Click to view b.silva's profile Enthusiast 24 posts since
Sep 5, 2006
I had the same problem, I have it working now with:

LVM.EnableResignature=0, LVM.DisallowSnapshotLUN=0

I had the following entries on /var/log/vmkernel:
--------------------
Oct 19 13:05:23 vermontd02 vmkernel: 0:01:53:47.260 cpu0:1032)LVM: 5739: Device vmhba1:0:1:1 is a snapshot:
Oct 19 13:05:23 vermontd02 vmkernel: 0:01:53:47.261 cpu0:1032)ALERT: LVM: 4903: vmhba1:0:1:1 may be snapshot: disabling access. See resignaturing section in SAN config guide
---------------------
I believe that newer versions of the EVA software do not have this problem: the one we have now does not have the option to set the LUN client operating system as "vmware", the EVA admin had to create these LUNS as "linux" or something similar... I believe it is related, but I don't know much about SANs yet...

We are about to upgrade the EVA; I will update this post if the upgrade corrects this...

Re: ESX 3.0.1 and HP EVA 4000 LUNs

2. Nov 4, 2006 8:04 AM in response to: snowmizer
Click to view paulo.meireles's profile Master 999 posts since
Oct 29, 2004
On server X the LUN ID is 1. I would like to present the LUN to server Y. When I present the LUN to server Y the LUN ID is 5.
Whenever possible, each LUN should keep the same ID when presented to several VMware servers, especially if those are to be connected to the same VirtualCenter.

Paulo

Re: ESX 3.0.1 and HP EVA 4000 LUNs

3. Nov 6, 2006 1:49 PM in response to: snowmizer
Click to view vmmeup's profile Expert 454 posts since
May 3, 2006
do this.......

echo 1 > /proc/vmware/config/LVM/EnableResignature

vmware-cmd -V

First line enables resignature and the second does a rescan. Do on one server and then do a normal rescan on any other esx servers

Re: ESX 3.0.1 and HP EVA 4000 LUNs

5. Nov 9, 2006 1:03 PM in response to: snowmizer
Click to view vmmeup's profile Expert 454 posts since
May 3, 2006
Are all the luns presented to all the servers as the same luns id?
Were any of the luns ID's previously used for an old lun?

I would go into command view eva and check all the lun presentations and make sure each lun is presented to each server and the same lun ID. If everything looks ok I would unpresent the luns from all the server. Then run a rescan on the servers to verify they no longer have them showing up. After that re present the luns but use a different lun ID making sure they are the same for all boxes.

Then run a rescan and see if your servers pick them up.

If they do not retry the command from my last post.

Re: ESX 3.0.1 and HP EVA 4000 LUNs

7. Nov 10, 2006 12:42 PM in response to: snowmizer
Click to view vmmeup's profile Expert 454 posts since
May 3, 2006
I don't believe that those are snapshots. Those are most likely to be your actual vm's. Vmware is labeling the volume as a snapshot volume because it recognizes the vmfs partition, but something is different. It assumes you took a san snapshot of the lun and presented it. You should be able to rename the datastore to something other then snapshot* to whatever you like and boot the vm's.

Re: ESX 3.0.1 and HP EVA 4000 LUNs

8. Nov 13, 2006 2:34 AM in response to: snowmizer
Click to view donbaek's profile Enthusiast 107 posts since
Jul 25, 2005
You cannot represent the LUN's with different LUN ID's. Whenever we create a VMFS the signature includes the LUN and if we see that same VMFS on a different LUN somewhere we must assume it is a snapshot.

Please note that the fix is NOT to resignature as that simply moves your problem. If two servers A and B can see the LUN and it has a VMFS formatted by host A, if B was to resignature the VMFS (because it saw it on a different LUN ID) then A would see this change at some point and believe that it now sees a snapshot.

You need to have your storage present the volume with the same LUN ID to all ESX servers sharing (or seeing) the LUN.

/Thor

Re: ESX 3.0.1 and HP EVA 4000 LUNs

9. Nov 14, 2006 6:46 AM in response to: donbaek
Click to view BUGCHK's profile Master 953 posts since
Nov 7, 2005
You need to have your storage present the volume with the same LUN ID

That is no problem with the EVA - unless that particular LUN address is already mapped to a different virtual disk, but then the user got confused, not the EVA.

Whenever we create a VMFS the signature includes the LUN

ok, how do you make the volume available again if you have to change to LUN address for some reason?

Re: ESX 3.0.1 and HP EVA 4000 LUNs

10. Nov 14, 2006 9:37 AM in response to: BUGCHK
Click to view paulo.meireles's profile Master 999 posts since
Oct 29, 2004
Whenever we create a VMFS the signature includes the LUN
ok, how do you make the volume available again if you have to change to LUN address for some reason?
That's precisely what resignaturing is for... :)
Just be sure to un-present the LUN from all hosts, rescan the SAN, present it to one host with the new LUN ID, rescan the SAN, resignature it, and then present it to the other hosts. Oh, and rescan the SAN. ;)

Paulo

Re: ESX 3.0.1 and HP EVA 4000 LUNs

12. Nov 30, 2006 6:19 AM in response to: snowmizer
Click to view erik.1's profile Novice 14 posts since
Nov 12, 2003
I have the same problem with one ESX 3.0.1 and a EVA6000

1. Unpresented the LUN (id 1) from ESX (name: VOL1)> rescan/refresh
2. Present same LUN with new id of 255 > rescan/refresh
3. LUN is seen, but no volume is seen
4. Changed EnableSignature to 1 > Rescan/refresh
5. LUN is seen and volume is seen as snap-00000002-VOL01

But now i cannot rename it back to VOL01

6. Set EnableSignature back to 0 (default value) > Rescan/refresh

But still no way to rename it back to VOL01

Re: ESX 3.0.1 and HP EVA 4000 LUNs

13. Jan 27, 2007 6:42 AM in response to: erik.1
Click to view jpratt_at_norwich_dot_edu's profile Enthusiast 27 posts since
Nov 9, 2006
I've had issues on eva5000/vcs3028 where i had to actually delete the virtual host's command view eva configuration/port settings, then recreate it when creating/presenting luns on esx 3.0.1, so that a server could "see" a new/shared lun properly - also note you must zone your san so that both/whatever servers that are sharing luns are in the same zone in your san fabric. (Especially if you have hosts on your san running different os'es!!)

regards,
jp

Re: ESX 3.0.1 and HP EVA 4000 LUNs

14. Jan 29, 2007 1:49 AM in response to: erik.1
Click to view Vliegenmepper's profile Master 1,511 posts since
May 10, 2006
I believe that the reason why you can't rename to VOL01 lies in the fact that VOL01 is still somewhere mentioned in the database.
Can you check is VOL01 resides next to the snap-000002-VOL01? (press ctrl-shift-d in VC)

If so, check how many hosts, templates and VM's are connected and disconnect them. When all items are disconnected the VOL01 disappears from VC database and you are able to rename the snap-000002-VOL01 back.

Let me know if this works. I'm working with an EVA4K en EVA5K in the testing environment so I can simulate certain situations.

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