Solved

Mount a LUN on a Virtual Machine

Posted on 2010-11-16
6
1,628 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
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…

820 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