Solved

ESXi 5.1 snapshots folder

Posted on 2014-01-05
11
718 Views
Last Modified: 2014-01-27
Hello,


On my NAS where I have a datastore for my vms I noticed that there is a folder named .snapshot and within that I can see several other folders named hourly.0, hourly.1,hourly.5, nightly.0, nightly.1, etc.

Within these folders i can see the .vmdk files for the vms running on the host. It seems to be taking up quite a lot of space on my NAS now as it's filling up now.

I only have about 3 vms out of 25 running snapshots and I currently run VDP to backup my vms.

Any idea what this folder is for and if I can remove or to clear up some space on my NAS?

Thanks in advance
0
Comment
Question by:dcirona86
  • 3
  • 3
  • 3
  • +1
11 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 39758367
sounds like you're running on a Netapp.  If so these are Netapp volume based snapshots and they use re-direct on write technology so the space they're using up is typically very small.  In addition if deduplication is enabled you can save 20% to 50% on the datastore usage.
0
 

Author Comment

by:dcirona86
ID: 39758394
Yes I am running NetApp for the datastores.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 39758459
The snapshots are a point in time of the datastore when the snaphots were taken.  With that in mind the snapshots are not quiesced.  If you have snapmanager for vmware you should install the vmware plug-in and configure them as they can allow for quick restores.  In addition if you have flex-clone license you can  get a VM running from backup in 5 min.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 8

Expert Comment

by:andoss
ID: 39758480
As Paul said you should check that dedupe is enabled on your storage volumes.

We had a similar issue with the netapp snapshots using up all our storage (we use veeam B&R) after enabling deduplication on the volumes we recovered around 40% of storage.

The dedupe itself is not complicated to configure and enable incase you're concerned about that.
0
 
LVL 119
ID: 39758673
The folder is for Snapshots made by your NetApp Filer, at regular defined intervals.

You can disable snapshots, if you wish if you are not using them, or disable snapshot all together for your filer.
0
 

Author Comment

by:dcirona86
ID: 39758903
I removed those snapshots that NetApp was creating and it did reclaim some space but then something just keeps taking up all the available space. I noticed that the host with the datastore is telling me that the Total space available is 2.73TB but the Provisioned Space is 4.3 TB.

The datastore should only be able to hold 2.73TB so where is this provisioned space coming from and how do I clear it?
0
 
LVL 119
ID: 39758935
use

vmkfstools -y % (where % is the total amt of FREE space to reclaim)

VMware KB: Using vmkfstools to reclaim VMFS deleted blocks
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 39759386
Sounds like your VMs are over provisioned.  Enumerate all your VMs and check to see if your VMs are overprovisioned or not.
0
 

Author Comment

by:dcirona86
ID: 39760492
vmkfstools  will only work on vmfs5 datastore types. The datastore in question is NFS
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39760558
if it's NFS, install Snapdrive 6.3 or later and use the space reclaimation feature.

see here

https://communities.netapp.com/community/netapp-blogs/storage_nuts_n_bolts/blog/2010/07/05/snapdrive-63-support-for-vmfs-and-nfs
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

809 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