Removal of the Vmdk files

Hello

I have a SAN connected to our ESX Server.  I want to remove one of the ROW in a data store in ESX.  My question is... If I "remove disc" that deletes only the RDM or it will erase the data on the SAN?  I thought it was only a pointer to the SAN and therefore will not erase all data by "removal of the disc?  I just need to check that won't risk losing data.

Delete from disk removes only the proxy vmdk file.

Your data on the LUN is always present and you can re - create disc RDM.

André

Tags: VMware

Similar Questions

  • the VMDK files are more and more and more...

    I have vmware 8.01 with two virtual machines. OS Win7 64 bit ultimate host, guests are win7 ultimate 32-bit. The first VM was created by workstation, with 80 GB of HARD drive and this virtual machine works very well, the vmdk file size is constant.

    The second was created by the virtualization of a physical machine. It has 298 GB of HARD drive. I created it three months ago, and now the size of this virtual machine is 505 Gb in the host file system. This virtual machine, called 'Prospero' has ten vmdk files:

    Prospero.VMDK 240 GB

    Prospero - 000001.vmdk 19 GB

    Prospero - 000002.vmdk Gb 116

    Prospero - 000003.vmdk 40 GB

    Prospero - 000004.vmdk 56 GB

    Prospero - 000005.vmdk 12 GB

    Prospero - 000006.vmdk 3.3 GB

    Prospero - 000007.vmdk 4.3 GB

    Prospero - 000008.vmdk 13 GB

    Prospero - 000009.vmdk 14 GB

    Yesterday, the size of the last file vmdk file was only 500 MB. It is now 14 GB.

    Initially, I set the snapshot generation and later I switch, but the growth of the size of the vmdk files continues day after day.

    Said VMWare tools: 'the fret is disabled for this virtual machine.

    What can I do to stop this more and return to the normal size of 298 GB?

    I've attached the vmx file.

    Welcome to the community,

    Initially I set the snapshot generation, and later I turned off...

    It seems that you have the "characteristic" Autoprotect is always enabled. The .vmx file still contains many entries of "RollingTier". You will need to disable Autoprotect for the virtual machine and then remove snapshots using the Snapshot Manager.

    André

  • How to shrink the VMDK file?

    Hi all

    Today, I spread a hard disk to increase the size of the drive on one of the virtual machine.  Later due to required requirements is no longer the hard drive. Therefore, it is possible to remove the disc that I extended?

    Thanks in advance

    There is no way to shrink the vmdk file.

    Only create new, smaller size, replicate data and delete everything first.

    If you need temporary space then create the new disk and simply remove it when it is no longer necessary.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • How can I remove all the unused files to clear a space

    How can I remove all the unused files from my computer

    You can remove applications on the control panels.  XP seems to me (im not on a XP ATM machine) programs cpanel

    Files?  you do not (or should not) delete separately

  • Incorrect (inflated). The VMDK file size

    Hi all

    I am running VMware Workstation 10.0.2 build-1744117 and scratching my head as to why the size of my. The Guest Windows 7 x 64 newly deployed VMDK file is so great despite having supplied a vDisk 60 GB and opting for do not pre-allocate space.  My VMDK file size is close to 60 GB, while on the comments, it shows only ~ 21 GB consumed.  I tried without success the compaction.  It is not compatible with other virtual machines, I in which the VMDK file size corresponds to the capacity in use on the vDisk. Please find below the screenshots of corroboration.  It would be much appreciated if someone could shed some light on why this is the case.

    COMMENTS:

    1.jpg

    2.jpg

    HOST:

    3.jpg5.jpg

    4.jpg

    Thanks in advance, see you soon!

    Sorry I lost all time clicking on this post.  After a nominal amount of research, I discovered the error of my ways and proceeded to reduce the volume.

    See you soon!

  • flying over the vmdk files after storage vmotion

    People,

    I finished a few vmotions storage and I see that there are some vmdk files left belonging to a virtual machine by flying over in the source data store.

    Storage vmotion however was very good. Time last modified files are several months old.

    If the vmdk files are old players was dismantled some time back?

    There are also a few - zdump.000 left side files in source data warehouses. should you be worried about those?

    Rahul-

    Although I suppose the files are orphans, I always double-check for use before deleting. Virtual disk file (hard) can be changed only in case Active snapshots exist for them. What you can do is run RVTools, to see if these files appear as 'Zombies' and if so, I would say you first create a subdirectory and move the "orphans" files above and - if everything continues to work as expected - delete at a later date. Alternatively you can check the vmware.log of the virtual machine file to see if the files appear here.

    Zdump files are created if something unexpected occurs. However, it is difficult to say what the brought to be created and if they are old and have any problems, you can delete just them.

    André

  • VMs tie to the vmdk files

    Good afternoon guys,

    Wonder if anyone can point me in the right direction.  We have a good number of virtual machines and data warehouses can see previous admins have cloned vmdk files and not cleaned up source files.

    My question - is their an easy way to check if the vmdk files we believe was to be used in fact 100% not be used - we really want to delete something that is in use...

    Of course, we can check the settings of each virtual machine for vmdk locations and working directories but this could take a long time and I would avoid if poss.

    Thank you people.

    You can use something like RVTools (Vsante tab) and look for the hard zombie files

  • Clone host (error caused by the vmdk file)

    Hello

    We try to clone the server to a scsi with resources as:

    ex_photo.pngiscisi07.png


    During the operation of clone, a 'problem' error caused by the vmdk file is thrown and clone to work stoppages. Server uses thin provisioned (40 GB) and thick (250 GB) / place.

    My question is: in target store, is 579 GB free space and space end implemented is 503 GB. While cloning thick storage (250 GB), do we need at least 250 GB of capacity between space free and put into service? If this is not the case, how can I solve my problem of clone?

    Thank you for your attention...

    Yes, you need this amount of free space (at least 250 GB freespace) available between the space free and put into service.

    TM

  • How to associate VM Windows drive letters with the vmdk file?

    Guys,

    I couldn't find a forum ESX 3.5, so post the question here.

    # vmware - v
    VMware ESX Server 3.5.0 build-317866

    with Windows 2003 SP2 invited and many readers of mouted on clients.

    I need to know how to map the Windows drive letters to the vmdk files on the host. for example

    C:\ > hand NET

    Share name resource remark

    ---------------------------------------------------------------------
    $           R:\                             Default share
    $           B:\                             Default share
    $           C:\                             Default share
    $           S:\                             Default share
    $           X:\                             Default share
    $           P:\                             Default share
    $           Y:\                             Default share
    $           Q:\                             Default share
    $           I:\                             Default share
    $           F:\                             Default share
    $           W:\                             Default share
    $           G:\                             Default share
    $           D:\                             Default share
    $           T:\                             Default share


    [root@esx01 DB1] # ls-l *.vmdk
    -rw - 1 root root 142807662592 6 June 2008 DB1_1 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_1.vmdk
    -rw - 1 root root 285615325184 6 June 2008 DB1_2 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_2.vmdk
    -rw - 1 root root 1073741824 6 June 2008 DB1_3 - rdmp.vmdk
    -rw - 1 root root 363 14 Jul 22:02 DB1_3.vmdk
    -rw - 1 root root 142807662592 6 June 2008 DB1_4 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_4.vmdk
    -rw - 1 root root 128849018880 6 June 2008 DB1_5 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_5.vmdk
    -rw - 1 root root 37580963840 Sep 26 17:58 DB1 - flat hard
    -rw - 1 root root 337 14 Jul 22:02 DB1.vmdk
    -rw - 1 root root 287762808832 8 November 2008 FOO-DB1_1 - rdm.vmdk
    -rw - 1 root root 364 14 Jul 22:02 FOO - DB1_1.vmdk
    -rw - 1 root root 21474836480 18 April 2009 FOO-DB1_2 - rdmp.vmdk
    -rw - 1 root root 374 14 Jul 22:02 FOO - DB1_2.vmdk
    -rw - 1 root root 42949672960 18 April 2009 FOO-DB1_3 - rdmp.vmdk
    -rw - 1 root root 374 14 Jul 22:02 FOO - DB1_3.vmdk
    -rw - 1 root root 429496729600 10 October 2009 FOO-DB1_4 - rdmp.vmdk
    -rw - 1 root root 350 10 October 2009 FOO - DB1_4.vmdk
    -rw - 1 root root 429496729600 10 October 2009 FOO-DB1_5 - rdmp.vmdk
    -rw - 1 root root 376 14 Jul 22:02 FOO - DB1_5.vmdk
    -rw - 1 root root 107374182400 18 December 2010 FOO-DB1_6 - rdmp.vmdk
    -rw - 1 root root 376 14 Jul 22:02 FOO - DB1_6.vmdk
    -rw - 1 root root 107374182400 18 December 2010 FOO-DB1_7 - rdmp.vmdk
    -rw - 1 root root 376 14 Jul 22:02 FOO - DB1_7.vmdk
    -rw - 1 root root 161061273600 Sep 27 2008 FOO - DB1 - rdmp.vmdk
    -rw - 1 root root 374 14 Jul 22:02 FOO - DB1.vmdk

    I need to know what vmdk is used for the drive in the Windows of the client prompt. I'm afraid that I could not understand it in the vmware.log or hostd.log files.

    Thank you!

    Steve

    Hi Steve

    You cannot map the drive letter for the vmdk directly, but you can map the drive Win on a specific vm using the SCSI number

    An easy way to map the vmdk with disks of Windows is:

    On the virtual machine 'change settings', note in down all the vDisks SCSI address example (disc 1 = SCSI (0:1), 2 HDD = SCSI (2:4)))

    If you go to Windows disk management and right click the individual disks and select Properties, you will see that target and LUN ID discs

    where for 1 HDD = SCSI (0:1), 0 is target ID and LUN 1 ID and 2 HDD = SCSI (2:4), 2 is target ID and LUN 4 ID

    You map just for numbers of hard disk drive letters

    Please allow points to useful/correct answers

  • Cannot reduce the size of the VMDK file

    OK, here's my story:

    I started with the growable virtual 40 GB HD default mapped as C:\ on my virtual machine. The HD received complete and had poor performance and I converted it to a prealloue 100 GB HD. It worked OK for a while, but then I created a new virtual HD mapped as D:\ to store data.

    So my problem was C:\ was too big which made backup of the virtual machine of your time, and I thought I have to resize C:\ 30 GB. My first test was to convert it to a HD growable. This remains a 100 GB on the host vmdk file.

    Then, I used the two compacts from the GUI and stop at the command prompt on the convert HD Nope, still 100 GB vmdk file on the host.

    Then I used a disk management program to reduce the size of the c:\ partition with 30 GB and run both shrink and compact again. Guess what, the vmdk file is always 100 GB.

    I'm running out of ideas on what to do to reduce the size of the vmdk file. Any ideas?

    Yes, I did, but I used compact from the GUI and stop at the command line (vmware - vmdiskmanager.exe). At that time I didn't there's a shrink option in VMWare tools.

    In this case try to diminish with the extra partition (temporary).

    Which converter you were referring to in your previous post?

    VMware Converter Standalone 4.3

    André

  • Rename the vmdk file?

    Is it possible to rename a VMDK file?

    Ive traveled to the data store and can see the vmdk file and also the - file ctk.vmdk but when I right click the option rename is gray.

    So, how do rename you?

    Thank you

    Stewart

    You can rename the vmdk and not rename the object itself, but the vmx file needs to point the the renamed disk files.  It is in this article, http://kb.vmware.com/kb/1002491, which I pointed out above.

    in the .vmx file, you will see something like

    scsi0:0.fileName = "OpenSUSE.vmdk"
    

    .

  • The Vmdk file size

    Hello.

    I have an ESX 4.0.0 host and I created a new virtual machine on this subject, to install WIN 2003.

    When configure the virtual disk, I put the 18 GB disk and selected size space Allocate and commit on request option (thin Provisioing).

    The following steps are fine and smooth. The installation is good and VM can be saved on the local HARD disk. It could work like I want.

    In the end, I logged in the ESX sever to check how the size of the VMDK file has been generated.

    Result as below.

    $ ls - lh

    total of 9.7 G

    -rw - 1 root root 1.0 G the 31 mai 10:43 vm - 17412363.vswp

    -rw - 1 root root 17G 31 May 17:51 vm1 - flat hard

    -rw - 1 root root 8.5 K 31 mai 11:06 vm.nvram

    -rw - 1 root root 469 31 mai 10:45 vm.vmdk

    -rw - 1 root root 0 May 31 10:40 vm.vmsd

    -rwxr-xr-x 1 root root, 2.9 K 31 mai 10:43 vc01.vmx

    -rw - 1 root root 259 the 31 mai 10:40 vm.vmxf

    -rw - rr 1 root root 110 K 31 mai 17:18 vmware.log

    I felt that it is fake!

    Why is the total size of 9.7 GB but vm1 - flat hard file is 17 GB?

    It's over the total size. It seems strange to... isn't it?

    Then I was loggin to WIN2003 (vm) and make sure how the C drive size.

    C drive has been total 16.9 and GB 8,44 available...

    The C drive size is perhaps skirtss size. It is a good idea.

    but WHY the total size is 9.7 GB? AND tell me the breakdown of this total size of the file.

    Can someone explain to me?

    Help me ~ ~ ~

    Thank you!

    Hello!

    VM1 - flat hard is sparesefile and signals the total maximum size of the disk.

    And 9.7 total disk space used, log + swap files.

  • The actual size of the VMDK file

    I have a 4.0.0,208167 ESXi host and on it, to install WIN 2008, I created a new virtual machine.

    When configure the virtual disk, I put size drive 60 g and selected the option space Allocate and commit to demand (thin Provisioing) .

    The following steps are fine and smooth.  The installation is good and VM can work as I want.

    Ultimately, I have disabled this machine virtual and connected to the ESXi via vSphere Client on my laptop, with the tool of the browser data store , I found that the size of the VMDK file is about 5 G.

    So I decided to download this file to my laptop with the data store Navigator tool.  But I found that it is a problem.  Tool of the data store browser said that it would take 300 minutes to download.  And I let it run for about 20 minutes, the *- flat. VMDK file in my laptop has become more than 8 G.  I had to stop this download process.

    Why this file has become bigger than the original one?

    Can I save this 5G VMDK file in my laptop (Windows XP)?

    Thank you very much

    If you want a small export vmdk layer thin provisioned vmdk as a type "twoGbMaxExtentSparse.

    To achieve this use vmkfstools and export the current vmdk like this

    vmkfstools-i /vmfs/volumes/localdatastore/test.vmdk /vmfs/volumes/nfsdatastore/export.vmdk d 2gbsparse

    the example copies the thin test.vmdk disc put into service on the data store normal VMFS to a disk on a NFS datastore split more.

    You can also create the split inside the same directory disk - but then you still have to copy it to your target host.

    The new type vmdk you get can then be directly used with VMserver, player and Workstation

    ___________________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

  • Copy only the vmdk file to create a backup

    I'm totally new to VMware ESX 4, but decided to allows you to host a web server on Windows 2008 Server vm, after about two weeks of reading and the VMware ESX product testing. I have used other products virtual machine last year or so for other projects.

    Why not just copy the vmdk files to create backup vms? That is problem? I have not to perform the clone at the same time as any other vm used to create or created from the vmdk file copied. I tested with a NT4 Workstation vm, because the files are small and can be copied and moved quickly, and I didn't have problems.

    I use the Vsphere Client to copy the vmdk file to a folder at the root of the data store and then by creating a virtual machine, naming the vm the same as the folder.  I created a model of the virtual machine to w2008 use Vsphere standalone converter, but the vmdk copy is so much easier and faster that of re-run the converter again on the model should I need.

    I created a Windows Server 2008 virtual machine and want to test before installing Tomcat and MySQL. The operating system should get messed up, I thought that I could start over with just using the current vmdk file, I copied. Yet I don't trust using snapshots, etc. I have also created many Linux VM on the ESX Server for analysis of the use of Tomcat on them. I also have a XP Pro VM as an alternative to emergency. It is XP Pro on a computer that hosts the web site of Tomcat/MySQL production - slowly.

    Thank you

    Homerun

    Take a look at http://communities.vmware.com/docs/DOC-8760 for a script that can automate Virtual Machine cloning. When you start a virtual machine that has been cloned ESXi will prompt you to "I copied it" or I moved it"etc. If it is a copy, you would respond with "I copied it" and ESXi change MAC, etc. of the UUID. The only required files are files VMDK and VMX file. Others will be re-created when the machine is added to the inventory.

    In regards to the tools, I would install them. It also includes drivers to allow the host ESXi communicate with VM for things like the soft stop etc.

  • Remove the vmdk files

    I have a situation here: more than 40 GB of vmdk files.

    So, I would like to know it is possible to remove these files and how can I do this.

    Thanks in advance for any help

    Captura de Tela 2015-10-05 às 10.32.30.png

    renatob, read my previous comment.  You should not delete these files you will break your virtual machine.  The reason why you have so many files vmdk is because they are currently divided into 2 GB files.  Following the indications that I have described in the previous post to convert all these split files in a single disk VMDK file.  Then I recommend to perform a disk cleanup to compress the VMDK and reclaim space.

    Yo this by going to the settings of the VM, click general, and then Clean Up the Virtual Machine.  I hope this helps!

Maybe you are looking for