VMware Solutions Discussions

gues vswap


Hi all

i just wanted to get thoughts and ideas on location of guest vswap files. Have read different and of course conflicting theories on where the guest swap should be placed. whether with VM home directory or on a separate folder. and then NFS vs LUN's

Let me know what are best practices and what you guys have done, what you wouldn't do again?

THanks for the help.



Hi all

THanks for the answers. the guide is helpful. THanks for the link. I just need to figure out now how to deploy the VM's over several datastores, e.g. OS datastore, APP datastore, VSWAP datastore, etc......

If I do that, i dread on the management side of things on how and what level of complexity i'm introducing into our environment.


Personally I would recommend storing virtual disks for swapfiles in a separate datastore from the other VM files. We primarily do this (over NFS) so we never end up backing up this kind of "transient" data. If you do this you should consider marking those virtual disks as "independent" and "persistent" so that VM snapshots do not get taken of those virtual disks.



this guide from vSphere should clear it out:



Some early adopters of VI3 on NFS created some best practices that are no longer viewed favorably. They are:
1. Turn off the NFS locking within the ESX server
2. Not placing virtual machine swap space on NFS storage.
Both these have been debunked and the following section provides more details as to why these are not no longer considered best practices.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner