ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Menu
  • Shop
    • Datacenter
      • vSphere Essentials
      • vSphere Essentials PLUS
      • vSphere Standard
      • vSphere with Operations Management
      • vCenter Server Standard
      • vSphere Remote Office Branch Office
    • Desktop
      • VMware Workstation Pro
      • VMware Fusion Pro
      • VMware Fusion
      • Player Pro
    • Datacenter and Cloud
      • VMware SRM
      • vCenter Server Editions
    • Desktop
      • VMware Mirage
      • VMware Socialcast
      • Horizon Flex
      • VMware Horizon
    • Close
  • Study Guides
      • VCP6.7-DCV
          • VCP6.7-DCV 2019
        • Close
      • VCP6.5-DCV
          • VCP65-DCV-cert
        • Close
      • VCP6-DTM
          • VCP6-DTM
        • Close
      • VMware Mirage
          • mirageVMware Mirage
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • vSphere 5.5
      • vSphere 5.1
      • Close
    • VMworld
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free Stuff – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • Altaro
    • NAKIVO
    • StarWind
    • Veeam
    • Vembu
    • Zerto
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • IT Books
    • Close
  • Free Tools
  • Books

How to create snapshot in another location then the VM’s folder

By Vladan SEGET | Last Updated: May 8, 2009

Shares

Snaphot of your VM's in Different Location.

By default, the snapshot of your VM's are created in the same folder where the VM exist. Sometimes you need to create a snapshot elsewhere. Why?

– There is not enough space on VMFS volume…
– You are not able to power on a VM because this one cannot create a swap file on the VMFS volume (which is full of course).

What do do?

To change the default location:

01.) Power off the virtual machine.
02.) Add the following line to the VMX configuration file for the virtual machine:

workingDir=””

For example: workingDir=”/vmfs/volumes/46f1225f-552b0069-e03b-00145e808070/vm-snapshots”
03.) You need to reload virtual machine configuration, run the command at the console:

# vimsh -ne “vmsvc/reload “

When you power on the virtual machine, snapshot files and VSWP files are created in the new location.

You might want to have look at this article I wrote some time back which will tells you about how-to change a location for your swap files of your VMs (swap files are the files with extention VSWP).

If you do not want to redirect the virtual machine's swap file (VSWP), add the following line to the VMX configuration file, then reload the configuration:

sched.swap.dir=”<path_to_vm_directory>”

When you power on the virtual machine, the swap file is created in the same directory as virtual machine.

Source: KB1002929

Shares

| Filed Under: Server Virtualization Tagged With: Backup ESX, Snaphot VI, VMware Snapshot, VSWP 2 Comments

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x11, Veeam Vanguard x5, VCAP-DCA/DCD, VCP, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Craig says

    May 22, 2009 at 1:00 pm

    you can also do this to have your vmdk file and flat file located in different location

    Reply
  2. Lee says

    December 13, 2016 at 11:40 pm

    I would like to move my snapshots to a nasfree san that has the space available. how would I do that?

    Reply

Leave a Reply Cancel reply

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

Nakivo Backup and Replication
Zerto 7Vembu Backup and Replication
Click to Become a Sponsor

Featured

  • Free Backup for VMware and Hyper-V - NAKIVO Backup & Replication
  • FREE Forever—Back up VMware with Altaro VM Backup. Grab your Free copy now!
  • WinX DVD Ripper Platinum Giveaway - 1:1 Copy DVD to ISO,MP4

Most Recent

  • StarWind VSAN has a high level of customization
  • VMware vSphere 6.7 U3b Released
  • Veeam Backup for AWS Free Version Released
  • Cheapest way of going virtual with StarWind Virtual SAN (VSAN)
  • Physical Server Backup, Workstation or Laptop with Nakivo Backup and Replication
  • Download Free Load Balancer for VMware vSphere
  • Fight Ransomware with Veeam 10 Immutability Feature
  • StarWind VSAN Graceful Shutdown and PowerChute Configuration
  • Are You Aware of the Most Common Phishing Attacks?
  • Altaro Office 365 Backup New Features Added

Most Liked

  • VCP6.7-DCV Study Guide - VCP-DCV 2019 certification
  • VCP6.5-DCV Study Guide
  • vSphere 6.5
  • Veeam Backup and Replication 9.5 Update 4 Announced
  • VCP6.5-DCV Objective 4.3 - Perform vCenter Server migration to VCSA

Fast NVMe Storage


Virtualization Software From VMware

  • VMware vSphere 6.7 U3b "Essentials PLUS" - vMotion, vSphere Replication...Included
  • VMware vSphere 6.7 U3b "Essentials" - 3 hosts, vCenter
  • vSphere Hypervisor Per Incident Support Click Here.
  • VMware Workstation 15.5 Pro and Upgrades - Best Desktop Virtualization Software
  • VMware Fusion 11.5 - Run Windows on MAC, and Upgrades
  • VMware Fusion 11 Professional - Restricted VMs, Virtualized VT-X/EPT... and Upgrades
**************************************************************************
  • Upgrade to vSphere Editions
  • Upgrade to vSphere Enterprise Plus
  • Upgrade to vSphere with vSOM Enterprise Plus
  • Upgrade to vSphere with Operations Management Editions
  • Upgrade to vSphere with Operations Management Enterprise Plus

Free Software

Altaro VM Backup – Protect your VMware and Hyper-V VMs for Free with Altaro VM Backup. 2 VM for Free, forever. Grab your copy now!
Veeam ONE Community (FREE) Edition 9.5 U4B – Download Now. monitor up to 10 instances of VMware, Hyper-V, Veeam Backup & Replication and Windows and Linux workloads!
Veeam Backup And Replication Community (FREE) Edition 9.5 U4B – protects up to 10 instances (VMs or Computers, laptops for Free.

Free Trials

Veeam Backup and Replication 9.5 Trial DownloadVeeam Backup & Replication 9.5 U4B Full Version Download (30 Days Trial – Get Your Copy !

YouTube

Find us on Facebook

ESX Virtualization

Copyright © 2019 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com

X
Veeam Backup 9.5 U4B Community Edition
Download NOW
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok