How to manually delete NetApp SnapMirror snapshots

The other day, one of our volumes in the lab environment filled up. This volume has a couple large VM’s on it, coupled with a couple different Veeam backup jobs running using the native Veeam backup methods as well as using NetApp snap mirror to snapshot the volume and then using Veeam to ship it out to Azure.

At any rate the volume filled up to the point where vCenter wasn’t allowing me to migrate VM’s off the datastore. I really didn’t want to expand the volume just so I could move VM’s off of it.

Instead, I decided to delete some of the older proof of concept snapshots from SnapMirror. Below are the quick and easy steps to clear up some un-used snapshots and free up some space on the datastore.

How to manually delete NetApp SnapMirror snapshots

  1. First, SSH into your NetApp using PuTTY or any other preferred terminal.
  2. Then type the following to get a list of all the SnapMirror snapshots.
    snap show

    NetApp snap show

  3. Now we need to enter diagnostic mode by typing:
    set diag

    NetApp set diag

  4. Finally, delete your desired snapshot by typing the below and pressing Y at the confirmation.
    snapshot delete -vserver Vservername -volume Volumename -snapshot nameofsnapshot -ignore-owners true

    NetApp snapshot delete

Deleting the POC snapshot freed up a few hundred gigs of space. From that point I was able to move some VM’s around and everything was back to normal.

Similar Posts

  • VMware vSphere 7 announced

    VMware vSphere 7

    Some pretty big news coming out of VMware today. The announcement of VMware vSphere 7 to become available May 1, 2020! One of the biggest item coming out of this news so far is that vSphere 7 will come in two options.

    The first being vSphere 7 as we all have known it to be for years and then the second being vSphere 7 with Kubernetes which will be available through VMware Cloud Foundation and is a new generation of vSphere for containerized applications.

    Other notables is that the flash based vSphere client is FINALLY no more! From here on out, only the HTML 5 will exist. vCenter Server on Windows will also finally be put to rest and new deployments of vCenter server will be done using the tried and tested vCenter Server Appliance (VCSA) based on PhotonOS linux.

    Read More “VMware vSphere 7 announced”

  • How to install VMware Workstation 10 on Linux Mint 17.1

    vmware workstation 10 linux mint

    Two goals that I would like to achieve this year is to learn how to program (likely Python) as well as learn more about Linux. So last week I completely wiped my HP laptop that used to run Windows 7 Pro and installed Linux Mint 17.1. However, I had a nested ESXi lab within VMware Workstation when I was running Windows and wanted to do the same on my new Linux install.

    I found this wasn’t just as simple as downloading an .exe and running the file, like it is in Windows. There are a few dependiences that are needed first, below is the steps I took to install VMware Workstation 10 on Linux Mint 17.1.

    Read More “How to install VMware Workstation 10 on Linux Mint 17.1”

  • How to update VMware ESXi 6.5 to 6.5 Update 1

    With the release of VMware vCenter 6.5 Update 1 also comes VMware ESXi 6.5 Update 1 and just like vCenter there are a number of changes, updates, and fixes for ESXi as well in 6.5 Update 1 – you can see the release notes here.

    Yesterday I made a post on how to upgrade VMware VCSA 6.5 to 6.5 Update 1. Below I’ll show you three ways to upgrade your ESXi hosts to 6.5 Update 1.

    Read More “How to update VMware ESXi 6.5 to 6.5 Update 1”

  • Shrink a thin provisioned VMDK disk

    When maintaining a Horizon View environment I like to keep my parent images as small as possible and over time a thin provision disk can start to grow on you if you don’t watch it – be it from downloading installers, updates, or even running disk defrag. While there isn’t a simple, one click button in the View Administrator Console there is a fairly easy manual method using vmfkstools.

    Before we can use “vmkfstools” to shrink the VMDK file we must zero out any unused space on the thin provisioned disk. A simple way of doing this is by using a free utility called SDelete from Sysinternals.

    Read More “Shrink a thin provisioned VMDK disk”

  • Altaro VM Backup Setup Step-by-Step

    Altaro VM Backup

    Altaro VM Backup is a company who offers a backup solution for small to medium sized businesses and have been around for a while that started out offering backup software for Hyper-V, but has now expanded to VMware as well. Altaro asked if I would be interested in trying for free as part of the vExpert program in my home lab.

    I help out a few small companies here in town so having another backup solution to possibly suggest certainly wouldn’t hurt, so I decided to give it a try and below are my steps to setting it up and thoughts about the software so far.

    Read More “Altaro VM Backup Setup Step-by-Step”

  • VMware Workstation 8.0.4 released

    VMware has just released it’s forth minor update for VMware Workstation 8, bringing it up to 8.0.4. The looks to contain mostly a few bug and security fixes.

    General Issues

    • Linux guests running the Linux kernel version 2.6.34 or later could not be pinged from the host via an IPv6 address.
    • On rare occasions, Linux guests would suddenly fail to Autofit or enter Unity.
    • Unity mode would exit if the title bar of an application contained certain non UTF-8 encoded extended ASCII characters.
    • On Windows hosts, the VMware Workstation user interface sometimes became unresponsive when minimized from full-screen mode if the suggestion balloon was being displayed.
    • On Windows hosts, the user interface sometimes became unresponsive if the application was rendered on an extended display that was abruptly disconnected.

    Read More “VMware Workstation 8.0.4 released”

Leave a Reply

Your email address will not be published. Required fields are marked *