Solved

Mount a LUN on a Virtual Machine

Posted on 2010-11-16
6
1,625 Views
Last Modified: 2012-05-10
I have one more question . I want to mount a LUN on the Virtual machine , is there a way to do it ?

Using vCenter i was able to add this LUN as a Hard Disk 2 ( Mapped Raw LUN )
I have LUN which contains some data on it , I want to mount it on a Virtual Machine .

i did add the LUN ( in vCenter ) as hard disk . below are the steps ,
Summary -> Edit settings -> Add Hard Disk 2  -> Raw Device Mappings  -> and selecting the appropriate LUN -> Store with Virtual Machine  -> Physical Setting -> Virtual Device Node .

When i reboot the machine .

I can see the partition in cat /proc/partition .

My question is how do i mount the partition . i dont want to format the partition as it had data on , Is there a way i can mount it ?
0
Comment
Question by:Justin_Edmands
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Expert Comment

by:torque_200bc
ID: 34148619
Bad approach. In that way you can't acces the FS of the LUN.

Need to know: Type os SAN (iSCI, FC), model of HBA ( if used ) release of VMWARE
0
 

Author Comment

by:Justin_Edmands
ID: 34150500
yeah that is the same problem . i am not able to mount the lun as it does not recognise the filesystem

FC SAN ... HBA is Qlogic .. VMware is 4.1 .

thanks
0
 
LVL 4

Accepted Solution

by:
torque_200bc earned 500 total points
ID: 34153938
NPIV (N_Port ID Virtualization) is the way to go. Too complex to detail here. Long story short, you assign several wwn to the same hba, then those wwn are taken by the VM's . Sadly it depends heavily in your HW but i think you wont have problems.

Please check these papers:

http://www.vmware.com/resources/techresources/10125 ( an example with wlogic and brocade switches, but i think it catches the idea)

http://communities.vmware.com/message/1259506 ( a post with several links to the issue)
0
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.

 

Expert Comment

by:Raza-Arif
ID: 36918548
Can Anyone help me? How to see which drive belong to which LUN. can you please some detail or steps..thanks in advance
0
 

Expert Comment

by:Raza-Arif
ID: 36918571
i have 2 web server, in VMs in VMware, I want if both server taking high resource then 3rd Vm automatically start, this is for load balancing purposes, let me mention , DRS is already implimented, so all I want 3rd vm automatically start when both machine would take hight load ...thanks in advance
0
 

Author Comment

by:Justin_Edmands
ID: 36919064
I wrote this big long drawn out thing but here ya go. one image;
<a href="http://s43.photobucket.com/albums/e352/shockwavecs/?action=view&current=LUN-identifying.jpg" target="_blank"><img src="http://i43.photobucket.com/albums/e352/shockwavecs/LUN-identifying.jpg" border="0" alt="Photobucket"></a>
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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 rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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 …

778 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