I want to covert a Ran Lun to a Virtual Disk in VMWare

Posted on 2009-04-15
Medium Priority
Last Modified: 2012-05-06
I have a server that is a RAW LUN, and running as a server in VMWare.  We have an alternate Data Center and when we have a disaster will need to run this server from a different San and presten it to a host and power on the server.   How can I convert a RAW LUN server to a Virtual disk/VMFS?  
Question by:TheBortz
LVL 42

Expert Comment

by:Paul Solovyovsky
ID: 24154005
The only way I can think of is by using an imaging product such as Paragon, Symantec Backup Exec System Recovery, or Acronis True Image.  You can image the LUN as a normal partition.  In case of DR you can create a virtual hard drive or another RDM/LUN and restore as you would a normal partition from the system volume.

Expert Comment

ID: 24154051
Run the following command: vmkfstools -c <size> -d eagerzeroedthick /vmfs/volumes/<mydir>/<myDisk>.vmdk

Accepted Solution

TheBortz earned 0 total points
ID: 24154062
Well since asking this question, I have figured it out.

Power Off Server through VM console
once powered off, right click on machine and chose Migrate
Chose destination of where you would like the server to migrate to as a virtual disk
When you chose the LUN you want to migrate, chose the Advanced option and if you have multiple drives select the additional drives LUNs for each additional disk.

Clicked finished and the RAW LUN was migrated to a VFMS in about 25 minutes.  
C: 20 Gig
D: 50 GIg
E: 104 Gig

When the VM Task complete the server was moved from the source to destination host and was able to be powered on.

Expert Comment

ID: 24160977
Just for information sake, what compatibility mode was selected during the selection of RDM, Virtual or Physical Compatibility Mode.?

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
A look into Log Analysis and Effective Critical Alerting.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

621 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