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

Posted on 2009-04-15
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

    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.
    LVL 3

    Expert Comment

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

    Accepted Solution

    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.
    LVL 7

    Expert Comment

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

    Featured Post

    NetScaler Deployment Guides and Resources

    Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

    Join & Write a Comment

    VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
    David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
    Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
    This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

    745 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

    14 Experts available now in Live!

    Get 1:1 Help Now