1 2 3 Previous Next 32 Replies Latest reply on Oct 17, 2016 11:16 AM by a.p.

    Low disk space - vmdk file

    stressed Novice

      My company runs on windows small business server 2008. This server runs VMware Infrastructue Web access which is used to reach a virtual server:  server1 and virtual server2.  We have been getting a warning message that there is low disk space on disk D.  When we open server 1, we see hard disk c and hard disk d.  Hard disk D was nearly full so we logged on to server2 and archived data.  The c drive on server2 now shows total size 299GB with 144 GB free space but the "d drive" on the main machine still shows full - 109MB free space.  This makes me very nervous.

       

      The files on that d drive appear to be virtual files.  In particular, there are 2 very large files: Server2.vmdk dated 3/11/12 and showing 208,149,632 KB and Server2-000001.vmdk dated today and showing 275,810,496 KB.

       

      Question: should I worry about the lack of free space on the D drive?

       

      And question: can I archive onto an external drive, the server2.vmdk file from 2012?

       

       

      Message was edited by: a.p. - Discussion moved from VMware Server 1  to VMware Server 2

        • 1. Re: Low disk space - vmdk file
          a.p. Guru
          Community WarriorsvExpertUser Moderators

          Welcome to the Community,

           

          Yes, you should definitely worry!

          From the files you posted it seems that someone created a snapshot in 2012, and the snapshot (Server2-000001.vmdk) since grew to a size larger than the base disk (Server2.vmdk). Since both files are in use you cannot simply archive one of the files, but need to somehow consolidate the snapshot). However, due to the free disk space this won't work with only a few MB free on the physical D: drive.

          To find out what can be done, please provide some information:

          • VMware product, and version which is in use
          • a list of files in the VM's folder (the output of dir *.*)
          • what's the provisioned virtual disk size, i.e. the configured size in the VM's settings?
          • Do you have free disk space on another drive, or is it possible to free up disk space on drive D: (how much)?

           

          André

          • 2. Re: Low disk space - vmdk file
            stressed Novice

            Thank you Andre

             

            This appears on the about page:

            VMWare Infrastructure Web Access

            version 2.0.0

            Build 128374

             

            VMware Server

            Version 2.0.2

            Build 203138

             

            There are 3 folders on the drive each containing one 1kb file. 

            Folders are:

            server2.vmdk.lck

            server2-000001.vmdk.lck

            564dOa9b-b7db-6c9f-8ece-789c26683bOf.vmem.lck

             

            Then these files:

            vmware-vmx-2856.dmp

            vmware-vmx-5152.dmp

            vmware-vmx-6776.dmp

            vmware-vmx-6984.dmp

            vmware-vmx-8480.dmp

            server2.nvram

            vmware.log

            vmware-0.log

            vmware-1.log

            vmware-2.log

            564dOa9b-b7db-6c9f-8ece-789c26683bOf.vmem

            server2.vmsd

            server2.vmx

            server2.vmdk

            server2.vmxf


            I am not certain how to determine the provisioned virtual disk size


            The c drive /hard disk on the primary machine shows 77GB free and I have a 256GB flash drive.  I thought archiving from the "c drive" of the virtual machine would free up space on d drive but it has not.  The C drive on the virtual machine shows 144GB free.

            • 3. Re: Low disk space - vmdk file
              a.p. Guru
              Community WarriorsvExpertUser Moderators
              I am not certain how to determine the provisioned virtual disk size

              You should see the VM's provisioned disk size in the Hardware pane when you select the VM in the Web GUI.


              The file list doen't seem to be complete. Please post the output of dir *.* (including time stamps, sizes, ...)


              Deleting files within the VM doesn't shrink the .vmdk file's size. Anyway, the most "wasted" disk space is caused by the ~4 year old snapshot.


              If there's not enough free disk space on the host's HDD, we might need an external disk to get rid of the snapshot.

              Btw. do you have a current backup of the VM's files on the host?


              André

              • 4. Re: Low disk space - vmdk file
                stressed Novice

                You should see the VM's provisioned disk size in the Hardware pane when you select the VM in the Web GUI.

                Not sure about VM and webGUI - but under device manager for the physical machine, there are 2 disk drives labelled volume0 and volume1.  Volume 1 properties show it to be the "D" drive with capacity of 476935MB - partition style Master Boot Record; unallocated space 1mg, reserved space 0 mb

                Volume 0 shows to be C drive capacity same with same unallocated and reserve space.

                 

                When I click "start" and then choose "computer" I see 2 hard disk drives Local Disk C with total size 465 GB and 76.7 gb free space and drive D with 465 GB and 109MB free space.


                Is this the information you are looking for?

                 

                Andre, I beg your pardon but am not certain how to pull output of dir*.* for the d drive.  I've used that command at a c prompt but I believe you are asking me to pull from D drive. 

                • 5. Re: Low disk space - vmdk file
                  stressed Novice

                  From VMware Infrastructure Web Access inventory and server2 i see hard disk 1 (SCSI 0:0) 300.00 GB

                  • 6. Re: Low disk space - vmdk file
                    stressed Novice

                    RE; backup

                    VM data files or all files? 

                     

                    I can easily pull the data files to an external drive which is our normal process.  I have not replicated the drive. 

                    • 7. Re: Low disk space - vmdk file
                      a.p. Guru
                      User ModeratorsCommunity WarriorsvExpert

                      To ensure that we are talking about the same things: I'm using "host" for the physical server, and "VM" for the virtual machine. What I'm thinking of with Web GUI is the "VMware Infrastructure Web Access".

                       

                      Please use the cd /d d:\path-to-your-vm command to go to the VM's directory, and then run dir *.* to create a complete list of files in this directory.

                       

                      André

                      • 8. Re: Low disk space - vmdk file
                        stressed Novice

                        directory of D;\

                        09/28/2016 08:14 AM 3,288 bootex.log

                        12/02/2006 12:37 AM 904,704 msdia80.dll

                        02/27/2011 03:32 PM <DIR> Virtual machines

                        2 file<s> 907,992 bytes

                        1 Dir<s> 114,925,568 bytes free

                         

                        D:\Virtual Machines

                        02/27/2011 03:32 PM <DIR>

                        02/27/2011 03:32 PM <DIR>

                        10/04/2016 01:26 PM <DIR> Server2

                        0 Files 0 bytes

                        3 Dir<s> 114,925,568 bytes free

                         

                        D:\virtual machines\server2

                        10/04/2016 01:26 PM <DIR>

                        10/04/2016 01:26 PM <DIR>

                        10/04/2016 11:10 AM 4,294,967,296 564d0a9b-b7db-6c9f-8ece-789c26683b0f.vmem

                        10/04/2016 11:10 AM <DIR> 4,294,967,296 564d0a9b-b7db-6c9f-8ece-789c26683b0f.vmem,lck

                        10/04/2016 01:26 PM 282,429,947,904 Server2-000001.vmdk

                        10/04/2016 11:10 AM <DIR> server2-00001.vmdk.lck

                        10/04/2016 10:47 AM 8,684 server2.nvram

                        03/11/2012 08:45 PM 213,145,223,168 server2.vmdk

                        10/04/2016 11:10 AM <DIR> server2.vmdk.lck

                        03/11/2012 08:45 pm 928 server2.vmsd

                        10/04/2016 11:10 AM 2,468 server2.vmx

                        02/16/2012 07:05PM 265 server2.vmxf

                        10/04/2016 10:51 AM 1,635,162 vmware-0.log

                        10/02/2016 02:12 AM 159,507 vmware-1.log

                        10/02/2016 12:55 AM 169,821 vmware-2.log

                        10/01/2016 06:48 PM 32 vmware-vmx-2856.dmp

                        09/27/2016 08:08 AM 32 vmware-vmx-5152.dmp

                        09/30/2016 10:06 AM 7,770 vmware-vmx-6776.dmp

                        10/01/2016 11:34 PM 32 vmware-vmx-6984.dmp

                        10/01/2016 10:35 PM 158,437 vmware-vmx-8480.dmp

                        10/04/2016 11;10 AM 0 vmware.log


                        16 file<s> 499872281506 bytes

                        5 Dir<s> 114860032 bytes free


                        Message edited by a.p. - changed font to make for better readability

                        • 9. Re: Low disk space - vmdk file
                          a.p. Guru
                          User ModeratorsCommunity WarriorsvExpert

                          You didn't change the directory to the VM's folder.

                          Anyway, assuming that there's only a single VM on that HDD, please run

                          dir d:\*.* /s > d:\filelist.txt

                          and attach the resulting file (filelist.txt) to a reply post.

                           

                          André

                          • 10. Re: Low disk space - vmdk file
                            stressed Novice

                            File list

                            • 11. Re: Low disk space - vmdk file
                              a.p. Guru
                              Community WarriorsvExpertUser Moderators

                              Ok, some more details needed:

                              Please run vmware-vdiskmanager.exe /? from the command line and post the output. If the command cannot be found, you need to run the command with its full path. In this case let me also know the path to the command. I also need to know the drive letter of the external disk, and the directory to which you are going to backup the VM's folder.

                               

                              André

                              • 12. Re: Low disk space - vmdk file
                                stressed Novice

                                O.k., that's another one I can't figure out.  I have tried that from the command line of c and d with no luck.  I don't see a directory for vmware and when I search for vmware from the start of windows, it takes me to the " there is a problem with this website's security certificate" at which point we normally say continue to site.

                                • 13. Re: Low disk space - vmdk file
                                  a.p. Guru
                                  Community WarriorsvExpertUser Moderators

                                  Assuming it's a default installation on a 32-bit Windows 2008 host, try:

                                  "C:\Program Files\VMware\VMware Server\vmware-vdiskmanager.exe" /?

                                  André

                                  1 2 3 Previous Next