move a VMDK (!) data to another folder store

Hello

I have a question:

Recently, we have improved a number of virtual servers in Windows 2003 to 2012. In fact, in each case we installed a new virtual machine, detached the data of the old 2003 VM disks and tie then the new virtual machine to 2012. Of course, this way the VMDK file remains in the folder of the old virtual machine. When I then deletes the old VM, a new has his record with his normal config files and the VMDK where the OS is installed and THAT VMDK data remains in the folder of the old virtual machine which is empty otherwise.

To a suitable opportunity (restart Windows updates) I would like to stop the new virtual machine and physically move data VMDK private new virtual machine folder, and then restart.

Unfortunately, when I do it with the browser of the vSphere client data store, it acuatlly copy the VMDK to the new folder and then removes it from the old folder.

Since this is a large amount of data (several hundred GB), I would avoid it, of course.

I have not found a really _moving_ "GUI" method a VMDK from one folder to another folder in the data store even without copying.

I can't SSH in an ESXi host that has access to the data store, and then use 'mv' at the shell level. This seemed to work very well with a few small trials VM (s).

But is it safe to do this way? Is there another way (official)?

Thanks for sharing your insight or opinions!

Kai - Uwe

Hello

The vmkfstools command is a command to run at the server command line, no windows.

as:

vmkfstools EI /vmfs/volumes/datastore1/foo/test.vmdk /vmfs/volumes/datastore1/bar/test.vmdk

Wuestenfuchs wrote:

It is strongly recommended to use the mv command because it is not supported and does not as expected. It may seem actually to work, but there is no guarantee.

It always seems that I have no other choice. Unfortunately, your warning - in this form of wave, no documentation citing or even a technote - is useless, too. Could you please develop, WHY do you not?

My warning is inaccurate because a quick google does not give me a precise point in the documentation.

Here's an oldie on that thread: Re: renaming of files VMDK

I do however am 100% sure that the mv command is not supposed to be used to move the virtual disks.

There are several reasons:

The vmkfstools command was specially written to create/copy/clone/rename virtual disks. This command takes the hosts management resources into account. Also will write that the blocks are written more optimally. It is also the command which is fully aware of the mechanisms such as thin and sparse disks.

It is also the only command that VMware will support if you end up getting in trouble.

Tags: VMware

Similar Questions

  • Need help while mapping of data to another host store.

    Dear team,

    I have a single cluster and two hosts esx is a member of the same thing. now ESX1 SAN1 lun that is only visible to host ESX1, now we have mapped LUN SAN1 at ESX2, it is visible to add windows storage

    CR.JPG

    Now when I go to add the same I m getting this screen...

    CR.JPG

    What option I will choose to add a data without lossing store existing data.

    Please help me, it's urgent...?

    Concerning

    Mr. VMware...

    From orders, it seems that your colleague has checked if the LUNS were visible as of the snapshot LUNS and then mounted their strength to the host (see, for example, http://kb.vmware.com/kb/1011387) Once mounted he checked if data warehouses are available (write access) simply by creating and deleting the file.

    In any case, if the ID LUN LUN in the same environment of vCenter Server do not match you may run into questions at a later time. Then please ensure the LUN ID match!

    André

    PS: It is equivalent to the "vdf" Linux command 'df' command, but has a few additions about the scores of VMware.

  • How do you move a folder or file from a data to another store

    I'm NOT talking to move a virtual machine, just a folder as a folder named ISO and a bunch of ISO in the folder for example. You cannot use to migrate it so please don't tell me to right-click the virtual machine and choose migrate.

    Current options

    Of course I can download a folder on my desktop, then re upload the folder on my desktop, but you are looking for something better in the vcenter (web or client) gui or result finally go to Putty and issuance of an order. Not that I don't like not PuTTY, I like it, but I normally have security disabled for orders, so when I want to move some files or folders autour, it's a pain.

    Thank you all for you help.

    Have you already taken a glance options 'Move' the browser data store? BTW, only the vSphere Windows based Client is able to manage folders.

    André

  • How to migrate to VMDK all store data in another data store

    How would be migration of VMDK script all store data in another data store.

    No, then you must use the Move-VM cmdlet. But this cmdlet moves all files to the destination data store.

    The alternative is to use the method RelocateVM_Task , which allows more flexibility to define what that goes where.

    It is a good example of your thread has called using several data stores, can not migrate the vmx in a data store file

  • . VMDK copy in another data store

    Hi people,

    I currently have a virtual machine that is sitting in my main drive in an ESX host. My goal is to copy (and not move) this virtual machine to another data store. I heard that there is a copy command to achieve this. If someone can explain? Also can be done while VM is turned on?

    Thank you!

    KeV

    Thick-> vmkfstools-i /vmfs/volumes/source.vmdk d thick/vmfs/volumes/destination /... VMDK

    Thin-> vmkfstools-i /vmfs/volumes/source.vmdk d thin/vmfs/volumes/destination /... VMDK

    p/s: turning off the virtual computer

    http://www.no-x.org

  • How to move a virtual machine to another store of data on the same host

    Hello

    I have a single ESX4 host with 3 data warehouses and I need to move a virtual machine to another data store, how can I do that since I don't have the ability to migrate the virtual machine when I am connected directly to the client with vSphere host and I do not have a server vCenter also?

    Thanks, Julien

    Hello

    Yes, you can use #vmkfstools-i /vmfs/volumes/datastore/VM/VM.vmdk /vmfs/volumes/datastore/VM1/VM1.vmdk

    For the record, the data store must be shared if you copy of VM and VM must be turned off. In the above command you copy VM.vmdk to VM1.vmdk and add the newly created with this existing VMDK VM.

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

  • Cannot move a server from a data to another store.

    Hello

    First post on the forum

    I can't move one of my server VM to a data store (when it stops, of course).

    The "migrate" option is disable.

    If I clone this server, I can move the clone to a store of data to another, because the migration option, is to allow.

    You have an idea?

    Thank you.

    Hello

    Try to remove the virtual machine to inventory and back again to see if that helps

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=2044369

  • Move a virtual machine to another data store

    Hi guys,.

    I have a standard 5 ESX Server with storage.

    I added new readers in server, created a new table and a new data store.

    How can I move the OLD data store virtual machine to the new?

    It's a single ESX host without vCenter.

    Thank you

    Make sure that the virtual machine is powered OFF and removed from inventory and can SSH to the ESXi host and run the below commnd

    MV/vmfs/volumes/datastoreold/servername/vmfs/volumes/datastorenew/ServerName

  • Move VM - change data store

    Hello

    It is a matter of mutliplart, but I hope that simple to follow. I need to move my VM's to another store of data from my ESXi host / node, so I can upgrade the host harware. Quick background; We have a Dell T605 ESXi server with 1 RAID 5 array. We're going to upgrade the current RAID and add another RAID 1, using RAID 1 for the console and RAID 5 for our database. We now have another ESXi host online, and the main quaestion is what is the best way to move the virtual machine to the host 'temporary', while we improve the primary host. The virtual machine need not run, what is the best way to copy them from one host to another? Once copied to the host 'main', how ca we add these VM in our inventory? We have researchd, moving the virtual machine using SCP fast and tested, works well, but we can't understand how to add to our inventory VM in the VI Client cousole. Currtenlty we test using Vcenter converter. Not sure that the best and fastest is to make our copy of data / backup.

    Thanks for your help and your thoughts...

    There are many options availible to do what you want. You can:

    (1) CPC (as you already have)

    (2) to clone the VMDK (vmkfstools - i, in your case, you will need to use rcli)

    (3) storage Vmotion

    Once you get it on the new data store, (if you are on the same HOST) you want to remove the virtual machine (you moved) inventory, and then access the *.vmx on the new data store and (right click) add to the inventory.

    Alto.

  • I want to move the profile data and the addons on another disk

    I want to move the profile data and the addons on another disk.

    Can I specify where Firefox puts the profile and the addons?

    If another location, then Windows uses by default.
    c:\Documents and Settings\User\Application Data\Mozilla\Firefox\Profiles\

    WinXP, FF 3.6.8

    You can do this by using the Profile Manager. When you create a new profile, you can specify a location for the profile folder.

    You may create a new profile, and then transfer the data to it. For more information, see create a new profile for Firefox on Windows and transferring data to a new profile.

  • How can I move photos from one date to another in my catalog? Downloaded LR of photos taken over several days to a date. LR6 PC Win7

    How can I move photos from one date to another in my catalog? Downloaded LR of photos taken over several days to a date. LR6 Win7 PC.

    Hi bubba43,

    Please select the images in the library grid mode Module and then drag and drop them in another folder you want.

    Kind regards

    Tanuj

  • Is it possible to move an e-mail to a Hotmail account folder in another folder in e-mail in the same account?

    I can move emails from one folder to another, but is it possible to move an entire folder to another folder?

    Hello

    I'm sorry, but we cannot help you with Hotmail issues in this Feedback Forum for answers

    Please repost your question in Hotmail in the Hotmail Forums the link below

    http://windowslivehelp.com/product.aspx?ProductID=1

    Forums
     
     

  • I can't move a folder to another folder, because I said that I don't have permission to do.

    original title: authorization

    I can't move a folder to another folder, because I 'need to permission' to do.  How can I get permission... it's my computer, nobody else uses it.

    How to grant permissions in Windows 7

    1. Locate the file or the folder where you want to take in charge in Windows Explorer.
    2. right click on the file or folder and select properties from the Menu
    3. click on the Security tab, then click the button change. Click OK to confirm the UAC elevation request if necessary.
    4 Select user/group permission windows or click Add to add other user or group (you may need to do this for multiple users - ex: administrator and your own user account).
    5. now under permission section check the rights you want for the user that is to say 'Total control' in the "Allow" column to assign the rights to full access control permissions to the user.
    6. click OK for changes to take effect and click OK again to exit the Properties window.

  • How copy/paste or copy/move a file to another folder in Windows XP

    I need to copy/paste or copy/move the files from one folder to program existing to another folder.

    Use the movement commands to copy do?

    Hi Jimmyjack1941,

    I suggest you to read the following articles for more information.

    These are the items if you use the Windows Explorer to perform operations:

    To copy a file or folder

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/windows_fcab_copy_file.mspx?mfr=true

    To move a file or folder

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/windows_fcab_move_files.mspx?mfr=true

    You can follow these commands to move and rename the file or folder using the command prompt:

    Moves files and renames files and directories.

    To move one or more files:
    MOVE [/Y | /-Y] [drive:] [path] file1 [,...] destination

    To rename a directory:
    MOVE [/Y | /-Y] [drive:] [path] dirname1 repert2

    [drive:] [path] file1

    Specifies the location and name of the file or files you want to move.

    destination

    Specifies the new location of the file. Destination can consist of a drive letter and colon, a directory name, or a combination. If you move a single file, you can also include a file name if you want to rename the file when you move it.

    [drive:] [path] dirname1

    Specifies the directory you want to rename.

    repert2

    Specifies the new name of the directory.

    /Y

    Deletes the request for confirmation that you want to replace an existing destination file.

    Y

    Causes of request for confirmation that you want to replace an existing destination file.

    The switch /Y may be present in the COPYCMD environment variable. This can be derived with / y on the command line. Default value is quick to replace unless is running of command MOVE within a command script.

    Example:

    move c:\windows\temp\*.* c:\temp

    Move the temporary directory c:\windows\temp files in the root, this is of course assuming you have the windows\temp folder.

    Note: Microsoft does not move the files/folders installed application.

    Hope this information helps.

  • How can I move a photo from a folder of image file to another folder of photo files?

    How can I move a picture of one image to another file

    If the file is located in a folder in your own user account and you want to move to another folder in your user account, simply open the windows and right-click/drag the file. If you want to make available to another user on the file system, copy in the Public directory. That's what the Public is for.

    If this isn't what you wanted to know, please state your question. MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for

  • move the icons on the iPhone 6

    How can I move without the other icons jump around?

  • Mark (Forums Manager)

    I wonder if this person is really fit to be a Manager? Have you seen this thread? The last message begins: Call to all owners of Motorola XOOM Wi - Fi: How to generate an excitement! Only to pull the rug out from under our feet wuth the last line: Th

  • I can't get my computer to restore as soon as possible.

    Original title : I can't get my computer to restore as soon as possible. I don't know what I hit, but the system is bad programs just work to help stop it please Could someone please help me I can't return my computer to an earlier time, that it will

  • I NEED SOMEONE FOR ME THROUGH NAVIGATE TO DIFFERENT THINGS ON THE COMPOUTOR

    I need help I want to learn different things about the compoutor and I can't understand them. I want to how to activate the free navagation slider

  • SSD intel SRT speed up lack of button (caching)

    Hello comrades alienware owners, I'm a newcomer in this club and been out of the loop of things tech for about 4 years I lived under a rock. I recently did some intensive research because I bought my new computer laptop m17x of R4. so here is the ins