Solved

Mount a LUN on a Virtual Machine

Posted on 2010-11-16
6
1,616 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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

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&amp;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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 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.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

747 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

8 Experts available now in Live!

Get 1:1 Help Now