Solved

Mount a LUN on a Virtual Machine

Posted on 2010-11-16
6
1,622 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
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 …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now