Storage vmotion with several virtual disks

I have a couple of virtual machines with virtual disks on them.  I have a need to pass one of the virtual disks in a different lun while leaving others in the current location.  I would like to move this disk without impact on our users, which means that I like to keep the operational machine.  I did several Vmotions storage with great success.  I want to know is if there is a way to use Storage Vmotion and tell him to move only a single virtual disk on a multi VM disk.

Does anyone know if there is a way to do this?

Thank you!

Download and install the RCLI.

Run the sVMotion intereactive mode.  This will guide you through the process with the ability to move the individual disks.

command line must start with

SVMotion - interactive

If you feel this or any other answer was 'useful' or 'proper' Please consider awarding points

Tags: VMware

Similar Questions

  • double control system - storage vmotion with or without storage in common?

    If I have a cluster of existing (vsphere 5.1), where 5 guests are all connected to the FC storage, and then I create a new cluster (managed by the same vcenter) with its own storage space, and leaders of each group DO NOT access other cluster storage:

    I can storage vmotion a computer virtual from one cluster to another?

    Y at - he of the opposition? Takes if press the company or company longer? The servers are in the same cluster, or is simply to be managed by the same sufficient vcenter?

    Hello

    It is possible to check this: VMware vSphere 5.1

  • Storage vMotion for a virtual machine on vCD

    Hello

    I saw this cluster data store is not yet supported, but is it possible to make a storage vmotion, a computer virtual managed by vCloud Director, on the same vDC data store?

    Imagine that I present you 2 store data for the provider vDC, I can move the virtual machine between two data store?

    Thanks for your reply.

    Cédric

    See this Q & A blog.

    http://www.virtual-blog.com/2010/10/VMware-vCloud-Director-QA-part-2/

  • Storage vMotion with advanced vsphere license

    I have the vSphere advanced license that doesn't include a Storage vMotion.

    This does mean that I won't be able to do manually storage vmotion with this license, or is what is not included in the new vSphere GUI?

    You will not be able to make Storage VMotion.

    But many people say Storage VMotion, even when cold migration is performed. Thus, you will not be able to move VMS on another store data seamlessly, without power off VM.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • Can a virtual machine cause several virtual disks?

    Hey all,.

    I did some research but can't seem to find an answer.  I want one of my VM set up with multiple virtual disks.  Is it possible and if yes, how can I do?  I use the free version of ESXi.

    Yes, you can simple add another hard drive to the guest.  Just go into the settings of the host, add hardware, and then select the hard disk.

    Jase McCarty

    http://www.jasemccarty.com

    Co-author of VMware ESX Essentials in the virtual data center

    (ISBN:1420070274) Auerbach

    Please consider awarding points if this post was helpful or appropriate

  • Is it possible to use Storage Vmotion with VMFS and RDM virtual tool?

    Hello!

    You can use the tool Storage Vmotion to move a server that is running both VMFS disks and RDM virtual drives inside?

    Both SAN is EMC and Vmware ESX and Virtual Center can be reached.

    Thank you!

    For storage on the SAN again the two hosts will need access to the storage. You can then you copuld cold migrate the virtual computer. First, you will need to stop the virtual machine and delete the mapping of RDM. Once the virtual machine is the new data store re-create the mapping of RDM (Bothe hosts will need to access the LUN backend).

  • Storage VMotion for a virtual machine with SAN LUNS attached to it. They are all going to?

    Hello

    Don't know which section of this post, so sorry if its wrong.

    We are eager to Storage VMotion of our SQL VM. These are our SAN 3040 of NetApp. In the virtual machine (windows 2003), they have also connected to the network SAN NetApp 3040 LUN.

    What I need to know is, if we tried to do the other (NetApp 3170) SAN Storage VMotion problems due to the fact that its storage not only fast vMotioning of VMs its self, but also the LUN or LUNS will remain on 3040, and the virtual machines moved to the 3170?

    Who is?

    If more info should help just shout!

    Cheers in advance...

    Rik

    RDM's Raw card device.

    As I posted earlier, you need to move data to the Raw LUN for LUN Raw new either through data copy inside the VM if you map the new LUNS brutes who him or copy.

  • Storage vMotion a VM except disk that is in another data store

    Hello

    I'm looking to convert a large number of virtual machines clones related to thick.  I decided the best way to do this is probably a simple a storage vMotion, but all the virtual machines have a secondary drive that is in another data store.  I have to make sure that disk #2 stays at its current location, while the machine virtual (Config and disk #1 files) are transferred to a new data store data store.

    I figured out how to move a virtual machine complete or a single disc but not a virtual machine under a disc.  I am able to make it through the advanced options of puissancela vSphere client so I guess it is techinically possible.

    Pointers or other ideas would be greatly appreciated.

    Kind regards

    Ty-

    You will need to use the API method, see for example Re: using several data stores, cannot migrate the vmx file in a data store

  • Storage vMotion with zero eager thick

    Hello

    In version 5.0, with the GUI, when you want to svmotion a virtual computer, you have three choices for storage: zero lazy thin / thick / thick zero eager.

    We have a lot of virtual machine in lazy mode thin / thick and want to convert it to thick eager without interruption of service.

    In Powershell, smovtion is ' Move-VM cmdlet. It has the possibility of "DatastoreStorageFormat" who don't accept that end/thick for the parameters (from the documentation).

    After a few tries, moving a VM thin with the cmdlet and "thick" in setting create a vmdk in "zero lazy thick."

    Some try with "EagerZeroVirtualDisk_Task" of the API too, but a problem with a lock on the file. It is not really clear in the documentation, but I think that the virtual machine must be poweredoff in order to use this feature.

    Is there a way to powercli to a storage vMotion and (re) create vmdk zeroing eager mode thick?

    Try it like this

    $vm = Get-VM -Name MyVM $destinationds = Get-Datastore -Name MyTargetDS $HardDisks = @(Get-HardDisk -VM $vm)
    
    $spec = New-Object VMware.Vim.VirtualMachineRelocateSpec $spec.Datastore = $destinationds.Extensiondata.MoRef
    
    1..$HardDisks.Count | %{
        $newFilename = "[" + $destinationds.Name + "]" + ($HardDisks[$_ -1].Filename.Split(']')[1])
    
        $objBackinginfo = New-Object VMWARE.Vim.VirtualDiskFlatVer2BackingInfo    $objBackinginfo.DiskMode = "persistent"    $objBackinginfo.eagerlyScrub = $true    $objBackinginfo.FileName = $newFilename
        $objDisk = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator    $objDisk.DiskID = $HardDisks[$_ - 1].Id.Split('/')[1]
        $objDisk.DataStore = $destinationds.Extensiondata.MoRef    $objDisk.diskBackingInfo = $objBackinginfo
        $spec.Disk += $objDisk
    }
    $vm.ExtensionData.RelocateVM_Task($spec, "defaultPriority")
    
  • Storage vMotion - WITH RDM? - Or will they ignored most of the time?

    Hi all - I have a storage vMotion, 5 hosts in the cluster - five or 6 virtual machines with RDM are pinned to specific hosts for the love of the DRS, but I want to go where the readers of the OS, then to VMDK is one San to another. If the virtual machine has a C:\ drive on the data store, all the other disks on the virtual computer is through physical RDM. ALL I need to move is the c:\(VMDK) in the process of storage vmotion.

    Time without are connected and work today to the ESX host in the cluster, all hosts are sized to see the RDM.

    My question is, when we go to perform the storage vMotion, how to avoid such failure? the RDM are my concern in the past, I think I remember a machine do not migrate when he had attached RDMs.

    any comments or thoughts would be really useful.

    Nick

    You can also move the ROW pointers with the data store 'change' - Assistant. Just be sure to select "same as source" for the format of the target disk. If you choose thick or thin, the RDM will be transformed into a VMDK, but with "same format" simply the ROW pointer is moved to the new data store.

    -Andreas

  • Machines Windows does not start with 2 virtual disks different on 2 different

    Hello

    With the help of esx.3.5.0 update 3

    I have a problem where if I have a new VM to win 7 or Win 2008 r2 with or without vmtools.

    If I reboot it up to 10 times without having to install anything, whether he'll join the black windows loading screen, then restart and then restart and try to start in safe mode, it still does not start.  the machine rendering it useless.

    The single element only on these virtual machines is as follows.

    Windows machines have 2 different virtual disks 1 on a lun, VMFS (vmfs version 3.21 c:) and a RDM VMFS (d :))

    3 questions

    Is it a problem to have 2 different discs with 2 different stores file types?

    Would this questions we see above?

    Also, I thought that you might not? VMotion/clone? a virtual machine if she drives in 2 different places?

    I tested and I can vmotion live VM with records stored on 2 different LUN.

    Hello.

    With the help of esx.3.5.0 update 3

    I have a problem where if I have a new VM to win 7 or Win 2008 r2 with or without vmtools.

    If I reboot it up to 10 times without having to install anything, whether he'll join the black screen windows loading and then restart and then restart and try to start to > safe mode, it will not even start.  the machine rendering it useless.

    Windows 7 and 2008 R2 are not supported in this version.  5 update brings support for these two operating systems.  Go to U5, maybe it's the solution.

    3 questions

    Is it a problem to have 2 different discs with 2 different stores file types?

    Laughing out loud

    Would this questions we see above?

    It is unlikely.

    Also, I thought that you might not? VMotion/clone? a virtual machine if she drives in 2 different places?

    I tested and I can vmotion live VM with records stored on 2 different LUN.

    VMotion requires shared storage.  Local storage would be a problem if you tried to change hosts.

    also would it be a problem if 1 store was running 3.2.1 vmfs and other store runs 3.31 and a v on each disc is used for the VM 1?

    Lol this is explained in KB 1005325.

    Good luck!

  • Storage Vmotion with separate data storage drives

    I have a virtual machine that has 3 virtual drives.  Two of them are in a single database, the third on another store.  It was actually added to this machine virtual from a virtual machine crashed, so its stored in a different folder as well.

    What happens if I have storage vmotion this client vsphere guest?  It move all disks and consolidate them in the vault, I chose?

    I've searched the forums, but couldn't find this scenario.  Sorry if this has been asked before I'm sure it is.

    Billy

    Yes that's correct.

  • Storage VMotion for several data stores

    I'm looking for some advice and assistance with the help of the vSphere PowerCLI to SVMotions.

    I found that I can use virtual vmname Get-machine | Move-VM - datastore (Get-Datastore datastorename) that has worked very well and I was ready to roll. However, it occurred to me that I can only refer to a data store in the cmdlet and some of our virtual machines have their drives located on different data warehouses.

    So I set up a test VM with two disks of different data warehouses and began a SVMotion. The result was that it has migrated all disks in their separate data warehouses in a single folder on the target.

    What I need to be able to do is to migrate a disk and leave the other in its original location, or migrate two disks of different locations in two different places again. As you can do if you switch the machine virtual and migrate through the graphical interface, moving storage with advanced options (and probably what you can do via the graphical interface with the virtual machine in vSphere).

    I've got ESX 3.5 Update 5 with vCenter 2.5 update 6 If no GUI in VirtualCenter and the free snap option not taken in charge is not an option.

    Is there a way to do it with the PowerCLI or am I limited to migration the data store's unique virtual machine?

    Thank you very much.

    This can be achieved using the. RelocateVM_Task() method of the VirtualMachine SDK object

    See the code below:

    $configDatastoreName = "DataStore_01"
    $HardDisk1DatastoreName = "DataStore_02"
    $HardDisk2DatastoreName = "Datastore_03"
    
    $vm = Get-VM VM001
    
    $spec = New-Object VMware.Vim.VirtualMachineRelocateSpec
    #Get MoRef for Destination datastore for Config files
    $spec.Datastore = (Get-Datastore $configDatastoreName | Get-View).MoRef
    
    #for each disk specify where the vmdk files should be placed.
    #If a vmdk should NOT be moved, enter its CURRENT datastore
    #If you forget to specify a disks location, it will be moved to the datastore
    #specified in $spec.Datastore
    
    #HardDisk 1
    $objDisk = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator
    $objDisk.DiskID = $vm.HardDisks[0].Id.Split('/')[1]
    $objDisk.DataStore = (Get-Datastore $HardDisk1DatastoreName | Get-View).MoRef
    $spec.Disk += $objDisk
    
    #HardDisk 2
    $objDisk = New-Object VMware.Vim.VirtualMachineRelocateSpecDiskLocator
    $objDisk.DiskID = $vm.HardDisks[1].Id.Split('/')[1]
    $objDisk.DataStore = (Get-Datastore $HardDisk2DatastoreName | Get-View).MoRef
    $spec.Disk += $objDisk
    
    #When all harddisks are specified call the RelocateVM_task()
    $vm.ExtensionData.RelocateVM_Task($spec, "defaultPriority")
    

    -

  • Storage VMotion, leaving the additional disks when they are

    I want to move a virtual machine but, let one of the additional attached disks where it is.

    When you use the interactive for svmotion, at this stage, «if you want to stay with the VM disks then skip this step...» You want to place the disks individually. I say Yes and identify the additional path on the vmdk disk.

    He then asks the destination...

    1. I think that if I enter the current data (source) to the destination store, this additional disc will just stay where he is. Is this correct?

    2. I also want to make sure that when svmotion sees that I chose the data source as a destination store, it leaves just here. Specifically, I want to make sure that it is not yet really moving the disc but in the same data store. It is a big drive and I don't have enough space on the data store if she done something like this.

    The answer lies in the help file for svmotion one thing I noticed, is that the syntax is correct, except that single quotes should be in double quotes ".» Other than that, the command line below will do exactly as you want, and that's essentially what you thought. Files will not overwrite themselves, then it will not try to copy the same disc in the same data store.

    Move the storage for a virtual machine on new_datastore, but let the disc 1

    and 2 in old_datastore:

    SVMotion - datacenter = "My DC" - vm = "[old_datastore] myvm/myvm.vmx:"

    new_datastore' - discs = "[old_datastore] myvm/myvm_1.vmdk:"

    "old_datastore, myvm/myvm_2.vmdk: old_datastore '.

    -KjB

    VMware vExpert

    Post edited by: kjb007: trying to fix the formatting.

  • What is the best for data... several virtual disks or a large virtual drive?

    For a VM Windows 2003 on ESX 3.5, which is technically better present? Is there more risk with one or the other or reliability?

    All LUNS are presented from a raid5 san.

    C: drive is its own virtual drive, as well as Swap space it's own drive.

    For the data (or applications), is it better to have 6 100 GB virtual disks, or a big virtual disk of 600GO?

    This is for a file server. Technically, I like to make a great record, create shared folders on this drive and space through quota management, but is was not sure if how Windows & VMWare manipulate virtual disks would be better. I need this server to be as reliable as possible as he is currently serving about 600 people.

    Thank you.

    Hello

    I would say it depends where the VMDK is stored, if they are on several data stores then you could see benefits, but if they are all in the same database and then a grand is the best.

    Best regards

    Edward L. Haletky

    VMware communities user moderator

    ====

    Author of the book "VMWare ESX Server in the enterprise: planning and securing virtualization servers, Copyright 2008 Pearson Education.»

    Blue gears and SearchVMware Pro Articles: http://www.astroarch.com/wiki/index.php/Blog_Roll

    Security Virtualization top of page links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

Maybe you are looking for