VMware ESXi 5.0 - "move to" data store a vmdk file has left at the original location

Hi all

I had to free up space on a SAN data store.  For this I used the function "move to...". "browser data store in VsphereClient.

Did not notice directly but after I moved my E: drive vmdk file, he took no source data store.

How can I make sure that vmdk (the source data store) may be deleted without impact on the vm?

1. If 'vmkfstools d' report without lock, so I guess I could assume it is safe? Is there another way to check?

2 vmkfstools seems not having the '-d' option in vSphere CLI? (East - this only accessible from ssh console on an ESXi? quid vCenter then?)

In the data store, the files were:

-Vm\win2k8_data.vmdk [SAN03] (data disk D :)

-[SAN03] vm\win2k8_data - ctk.vmdk (-ctk looks that it has been created by Veeam)

-[SAN03] vm\win2k8_transactlog.vmdk (E: transaction log 128 GB drive)

-[SAN03] vm\win2k8_transact - ctk.vmdk (-ctk always assuming that it was created by Veeam ~ 8 MB)

Steps to follow:

-J' turned off the virtual machine using these car

S ' installs 2 files on the E: drive

-Removed the vm disk (<-my mistake? maybe this step left a lock file? in power vm off?)

-Added the disk from the data store where I copied it

Thanks for the help!

behd

Hi Behd,

The best way to check if the vmdk on the source is not being used would be to add this vmdk to an existing virtual computer and turn on... ? If not used or is locked by one that turns on with success.

If it has an instance running it wouldn't let you put under tension and raise an error of file locking. ?

Avinash-

Tags: VMware

Similar Questions

  • How can I move files system recovery to the original location?

    I use Windows 7 on a HP Pavilion P6000 series.  I believe that the Recovery Manager created Windows System Recovery Files folder on the C: drive (from .wim files) created on an external drive, and I want to move them to the original location.  Just copy or move everything to the C: drive, or is it an executable program that does this?

    Found this previous post - I guess that's the solution...

    Re: How to restore the system recovery files to their original location? (HP Pavilion p6540F desktop

    201207 04-18: 12:00 - modified on 18-04-201207:13 PM

    The backup that is used to recover only restores the files in a folder, leaving the owner to move. I agree, not the application of backup more useful, but better than nothing I guess.

  • VMWARE ESXi 4.1: Add a DATA store via a new 4 TB SATA HARD drive

    Hi all
    Thank you for all the support and the good work that you provide!

    I'm not a VMWARE specialist.
    I'm on a DELL T610 with a VMWARE ESXi 4.1. Several virtual methods machines operate on a RAID5 grap with a PERC6i controller.
    The CDROM SATA drive is visible and usable on the hypervisor.
    In fact, I add a 4 TB SATA (Seagate ST4000NM0033).

    I see my HARD drive in the BIOS and I see too much on the vmware console:

    / dev/discs # esxcfg - mpath - l
    ........
    SATA.vmhba34 - sata.0:0 - t10. ATA___ST4000NM00332D9ZM170___Z1Z18EKC
    The Runtime name: vmhba34:C0:T0:L0
    Feature: t10. ATA___ST4000NM00332D9ZM170___Z1Z18EKC
    Full device name: Local ATA drive 4 TB
    Adapter: vmhba34 channel: 0 target: LUN 0: 0
    The identifier for the adapter: sata.vmhba34
    Target ID: sata.0:0
    Plugin: NMP
    State: Active
    Transport: sata
    .....


    Or:

    / dev/discs # esxcfg - mpath - b
    NAA.6842b2b0092e9100141774ac16c2a585: disk DELL Local (naa.6842b2b0092e9100141774ac16c2a585)
    vmhba1:C2:t0:l0 LUN:0 Status: Active Local HBA vmhba1 channel 2 target 0

    MPX.vmhba0:C0:t0:l0: Local TSSTcorp CD (mpx.vmhba0:C0:T0:L0)
    vmhba0:C0:t0:l0 LUN:0 Status: Active Local HBA vmhba0 channel target 0 0

    T10. ATA___ST4000NM00332D9ZM170___Z1Z18EKC: Local ATA disk 4To
    vmhba34:C0:t0:l0 LUN:0 Status: Active Local HBA vmhba34 channel target 0 0

    T10. DP___BACKPLANE000000: Local pregnant DP Svc Dev (t10. DP___BACKPLANE000000)
    vmhba1:C0:T32:l0 LUN:0 Status: Active Local HBA vmhba1 channel 0 target 32

    Or:

    / dev/discs # ls-l
    ........
    -rw - 1 root root 0 3 Sep 15:48 t10. ATA___ST4000NM00332D9ZM170___Z1Z18EKC
    lrwxrwxrwx 1 root root 3 73 Sep 15:48 vml.01000000002020202020202020202020205a315a3138454b43535434303030-> t10. ATA___ST4000NM00332D9ZM170___Z1Z18EKC
    .........

    ===========================================================================

    BUT: I can not add a partion on it:

    Fdisk u t10. ATA___ST4000NM00332D9ZM170___Z1Z18EKC

    I can not Use the graph console of the hypervisor , If I add un storage LUN , Nothing in the list... I can not Add ... I do not see it.

    You have a track for move me? Forums et doc VMware ne not allow me to unlock my brain (icon_rolleyes.gif)...

    I thank all for your interest and your help.

    ESXi 4.1 disc limit is 2 TB less than 512 bytes, ESXi 4.1 will not recognize more than 2 TB, check for other options as well.

  • How can I move a data store a single virtual disk shape in a different data store?

    I have a host running vSphere 4 enterprise that belongs to a cluster of Foundation vCenter 5.5.  I need to move all the guests off the coast of this host to be updated. This host has a client that is using the local hard disk as a data store.  This customer has six 6 hard drive with only using the local hard disk as a data store.  How can I move the hard drive to a different data store?

    When I try to use 'Move' or 'Migrate' with vCenter (client or web interface), it seems that I can move only data not store a single entity, each database individually.  Can we move a data store single someway with the guest always under tension, or do I have to power off and manually move the "vmdk" they reattach the hard drive?


    Thank you


    Bruce

    When you click on migrate, the data store, click on the Advanced button.  It will give you the option to select a disc.  You can migrate it while it is running.

  • Block size is too small - reformat the data store or create files VMDk 2?

    Hello

    I'm new to VMware and so far I absolutely love everything about her!  Well, I was not too happy when I realized that I can't create more than 256 GB a drive without reformatting the VMFS datastore.   Apparently, I accepted the block size of 1 MB by default during the installation...   I now need to configure a file server with about 500 GB of storage.  The data store with a larger block size (4 MB would be fine for me) reformatting is easy enough?  I am currently working on the first host ESXi 4.1 and will move to set up 2 more hosts in the coming weeks.  I read somewhere on the forum that ESXi 4.0 doesn't let you change the block size by default of 1 MB - is this true or relevant to 4.1?

    Currently, I have only 2 small VMs on that host, and these can be easily saved and put offline for a few hours, if necessary.  When starting the server, I created a single RAID array that holds ESXi and all virtual machines - does that mean that I have to reinstall ESXi in order to increase the size of the block?

    An alternative that I can get to is to simply create 2 255 GB VMDK each and load distribution of storage in the guest operating system (Win 2008).   Performance wise, is a disc more great and better (or worse) than the two smaller disks?

    On a related note, what should I choose for the "Independent" option when you add a new virtual disk?  Default is disabled (not independent).

    Your thoughts, focus and expertise are welcome and will be greatly appreciated!

    Thanks in advance,

    Dothan

    Dothan,

    You should power (after the virtual machine backup) remove the current data store and create a new one with the new block size. I did not have this on ESXi 4.1 again, however, he worked on ESXi 4.0.

    The maximum size of VMDK. If you want ot be able to take pictures, make sure you subtract twice the size of block in GB of the documented maximum size.

    Block size 1 MB--> 254 GB (= 256 GB, 2 GB)

    Block size of 2 MB--> 508 GB (= 512 GB - 4 GB)

    Size of block 4 MB--> GB 1 016 (= 1 024 GB - 8 GB)

    Block size of 8 MB--> GB 2 032 (= 2 048 GB to 16 GB)

    André

    EDIT: Just the KB for the maximum sizes. http://KB.VMware.com/kb/1012384

  • Data store for config files shared with esxi and free license

    Hello

    currently I am setting up a test environment with two esxi nodes that share a database on an EMC Clariion. Virtual disks itself will be shared by RDM, there is no problem.

    But if I change the configuration of a virtual machine to a physical computer (node A) the other (node B) still use the old configuration, node B does not notice the change applied to node A. What I am doing wrong? Is there a set up where node B will automatically refresh the virtual machine configuration after modification on node A?

    If I download the file vmx of navigation on the B node data store, I see the applied changes written to the file. So I guess it isn't a caching issue. The vmx file we re - read when turn on/off the virtual machine? Why isn't she re-read on the opening of the vm configuration dialog box?

    What is the recommended set for two guests free esxi who should be able to run virtual machines in the other machine? I don't think that of VMotion or HA! I just want if node A has a power outage on some VMs on the node B.

    Thank you!

    Good bye

    Daniel

    You must not register VMs on of two ESXi. Installing vCenter or register VMs on host-host these specific VMs will run on. If you need to move the VM to an another ESXi then delete the inventory on the single host and add to the inventory on the other.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • ESXI 6.0, problem of data store local ssd

    Hi all,

    I have a desktop pc (HP Elite 8200), i7 cpu, 1 x 250 GB HARD drive, 1 x 240 GB SSD... (240 GB do datastore with name SSD), there, installed free VMware ESXI 6.0 on 250 GB HARD drive.

    Yesterday to buy second SSD 240 GB, I want to increase datastore 'SSD' with the second disc, but the process is hang. No warning, no error... but can extend the data store. Trying to

    create the new datastore with second SSD, but still hang processes. Maybe someone has a similar issue?

    I try to change SATA cables - does not work for me, try to detach an SSD - works for me... Finally reinstall ESXI 6.0 U1 with ESXI 6.0 U2 - this work for me.

    successfully create datastore with 2 x 240 GB Kingston SSD.

  • ESXI 4.1, 348481 Question about data store, not be able to use all the free space?

    I am working on installing ESXi 4.1 on a Dell R710 with 3.7 to with SATA, RAID 5 disks. My problem is when I'm going to create my store of data it shows I have 3.7 TB of free space. I told him to use all but the data store comes out 1.63 TB. I deleted that and made a 1 TB data store, but when I went to create a new one he would not give me the ability to use the remaining free space. I'm really green when it comes to the implementation of VMWARE for any help would be greatly appreciated.

    Thank you, Don

    Hello.

    The maximum size for a single volume must be 2 TB - 512 bytes, as described in KB 3371739.  Use the RAID Dell utilities to carve up the storage volumes of that size or smaller.

    Good luck!

  • How to move a rule definition with the data store for esx alarm without re-creating the rule?

    Hi, I would spend my rule of definition of alarm of the data at the level of esx store, without re-creating the rule. Is this possible?

    In the Act, I don't want no definition of the alarm at the data store level. So, what is the best practice?



    Best regards

    It is currently not possible.  The rules are hierarchical, and there is no way to stop the inheritance, or move messages.  You will have to re-create them at the appropriate level.

    -KjB

    VMware vExpert

  • How to move a single virtual disk (vmdk file) of one data store

    Hi guys,.

    I have a VM with 4 virtual disks (for example, 1.vmdk, 2.vmdk, 3.vmdk and 4.vmdk) all located on a SAN volume (e.g., SANVOL03). How can I move one of the virtual disks (for example, 3.vmdk) of its current volume of SAN to another (e.g. from SANVOL03 to SANVOL04) without turning off the virtual machine? It's vsphere 4.1

    Detach the VMDK virtual machine and move it manually on the desired data store.

  • Move a data store virtual computer in another data store

    I need to switch two VM of exisiting data store to a new store of data within a cluster.  What is the best way to do it? I have to stop the virtual computer in order to move the data store? Thank you

    ESX 3.02

    When you right-click on the customer, choose migrate.  The third screen will give you two options, one is to keep the other move, click on move, then next and finish.

    I think the "passage to the option" are you referring about doing the same thing... I am testing now.  But I know with certainty, that the cold migration will work.

  • Data store is not mounted automatically after updating the Firmware of the LSI

    I've recently updated the card RAID LSI firmware on my ESXi 5.5 system (patched and update top of page)

    When I rebooted, took place the following:

    1. the associated VMFS volume RAID was mounted

    2. the data on the volume store was not mounted

    I mounted the data store manually and restarted my VMs

    Do I have to re-signing the Volume and/or the data store to raise it properly.

    Steve

    The command should be ok and do the same thing as the command esxcli esxcli storage vmfs snapshot mount -l label|-u uuid (for details, see http://kb.vmware.com/kb/1011387).

    André

  • Shrink a VM HD - is the destination data store need to have enough space for the source or destination VM?

    Hi all

    I have an existing file with HD Server configures:

    HD1: 60 GB

    HD2: 20 GB

    HD3: 650 GB

    Total: 730 GB

    I intend to shrink HD3 250 GB that will give me a new total of 330 GB.

    My question is, when I rode the VMware Converter Standalone process and I get to the step where I select the 'destination '.  Obviously, I need to select a data store that can adapt to the virtual destination machine.

    My concern is that it shows the size of the source disk (Go 730) (see image below), and for some reason any part of the conversion process the destination data store requires the storage of the size of 330 GB vm 730GB as opposed to the 'new '.

    source disk size.PNG

    Can anyone confirm?

    Thank you

    There are no for the data store 730 GB free in order to submit the conversion. 330 GB free (size after reduction) would be sufficient.

    If you also select a provisioning, you could even start the conversion with less free space on the data store, but it may fail at some point, if the actual data meet.

  • recover data from a vmdk file

    Hello

    I'm trying to recover a vmdk file or get data out of it. When I try:

    VMware - vdiskmanager.exe - e YYY.vmx
    Could not open the disc "YYY.vmx": the specified file is not a virtual disk (0xf00003ebf).
    Could not open the disc "YYY.vmx": the specified file is not a virtual disk (0xf00003ebf).
    Drive chain is not consistent: the specified file is not a virtual disk (0xf00003ebf).
    If I try to run it against the vmdk file itself, not the - sXXX.vmdk, I get the same error.
    If I try to mount it, I get:
    VMware - mount.exe k: YYY. VMDK
    Impossible to mount the virtual drive. The disk can be used by a virtual machine, may not be enough volumes or mounted under another drive letter. If not, check that the file is a valid virtual disk file.

    The discs and the VM machine is in suspend mode.

    Can I do to recover the data in the vmdk files?

    Thank you.

    What I would try creating a boot of Linux Live OS VM from a Linux Live OS ISO Image with HARD drive pointing to usernamfs - shared_f.vmdk and see if you can see the contents of the disc.  I use Knoppix or Slax to do this but a Linux Live operating system will automatically detect and be able to mount the VHD is fine.  Another way to try to get a look and maybe even pick up a few dates user opens the hard with WinImage as usually, it does not perform the depth verifying that vmware-mount done.

  • move one data store

    Hello world

    I have a virtual machine that is in the HP storage, I need to move to NetApp storage. (Both the storage is in same vcenter)

    If I delete the virtual machine inventory and then copy it to the NetApp storage and

    Add to the inventory it will work for me.

    or should I do storage vMotion (will it work for the storages of different suppliers)


    or shud I use vMware converter?

    confused here?

    The two ways I tried earlier and have worked for me and I think it will work for you as well. Storage vMotion would be preferable.

    You can create a dummy sample (10 MB and cpu 1vCPU mem) vm and test this also

Maybe you are looking for