Right Click the vm and select Edit Settings
Click on Options from the top TAB, select General and open the Configuration parameters
# cd /vmfs/volumes/50925c85-54a206c1-a9e5-d4ae526b9890/test_XP
# vi test_XP.vmx
workingDir = "/vmfs/volumes/50925be7-ea8ab367-d40d-d4ae526b9890/snapshots"
Now you need to reload this vm to make the changes take affect.
# vim-cmd vmsvc/getallvms | grep test_XP
56 test_XP [iSCSI-Datastore15] test_XP/test_XP winXPProGuest vmx-07
Here 56 is the vm id which you can find out using the above command
# vim-cmd vmsvc/reload 56
Now when you take snapshots the snapshot files and vm swap files will be created in a different location.
How to redirect vm's swap file
Add an extra parameter in the Configuration Parameter option shown above
Follow the below links for more tutorials:
Tutorial for Monitoring Tools SAR and KSAR with examples in Linux
How to configure Samba 4 Secondary Domain Controller
How to secure Apache web server in Linux using password (.htaccess)
How to register Red Hat Linux with RHN (Red Hat Network )
Red hat Enterprise Linux 5.5 Installation Guide (Screenshots)
15 tips to enhance security of your Linux machine
Why is Linux more secure than windows and any other OS
What is the difference between "su" and "su -" in Linux?
What is kernel-PAE in Linux?
What is swappiness and how do we change its value?
How to log iptables messages in different log file
What are the s and k scripts in the etc rcx.d directories
How to check all the currently running services in Linux
How to auto start service after reboot in Linux
What is virtual memory, paging and swap space?