Solved

datastore space

Posted on 2013-11-19
6
309 Views
Last Modified: 2013-11-23
I have few VMs on a datastore and the datastore is nearing the capacity.
What is the best way to free up the space? Will it help if I move the VMs away from the data store?
0
Comment
Question by:sara2000
6 Comments
 
LVL 120
ID: 39659366
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 39659370
You can increase datastore capacity if this is LUN assigned from SAN..
http://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.server_configclassic.doc_41/esx_server_config/managing_storage/t_increase_vmfs_datastores.html

Or you can add another storage as new data store and then move VMs across..

thanks
0
 

Author Comment

by:sara2000
ID: 39659427
I have deleted some space on the VM and this did not help.
How can I reclaim these space.
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39659452
Deleting files inside a virtual machine, does not effect the size of the virtual machine disk, on the datastore.

The size of the virtual machine disk (vmdk) on the datastore is fixed, whether you delete files inside the VM or not.

The only way to shrink the VMDK (virtual machine disk) is to complete a V2V using VMware vCenter Converter Standalone, after you have removed files inside the OS. At conversion time, during the wizard, you will have the option to specify a new virtual machine disk size, e.g. make it smaller, once conversion has been completed, delete the original VM.

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0
0
 
LVL 20

Expert Comment

by:compdigit44
ID: 39669886
Even though you may be see any snapshots list in the GUI for your VM's you still may have an orphan snapshot connected to a VM. I would suggest browseing your datastore folder and check for VM with VMDK like:  vmname_0001.vmdk.

Check for any crash dump logs as well.

Remove any unsed ISO / install files.

You could try to do an inplace storage migration to change your VM's from thick to thin provisioned.
0
 

Author Closing Comment

by:sara2000
ID: 39671403
I was told that storage venders have their own tools to reclaim the space, like netapp has vsc, dell has hit etc. I am going to talk to them.
in th eman time I am going to do storage motion.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question