Solved

Mount a LUN on a Virtual Machine

Posted on 2010-11-16
6
1,633 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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