Skip navigation
2010

In this post i would like to share and collect some (IMHO) interesting notes about the vmware's snapshots.

 

First, some knowledge about snapshots is needed. Here there are some useful links to gain it:

 

Introducction to vmware snapshots

More information about snapshots but in workstation and server.

KB about snapshots (entry level)

Another KB about snapshots (more advanced level)

Best practiques

 

One typical issue is when a vm has some snapshots but the snapshot manager don't see this snapshot(s). The fix usually is to create a dumb snapshot and just after delete it. Then all the snapshots disk(s) should consolidate. But remember that (pre 4.0 U2) some free extra space is needed on the vm's datastore to be able to do it in a successful way. Here is a KB that explains how to do it using service console's commands.

 

If the snapshot issue is/becomes weird, then some more advanced techniques must be used. Here is a list of useful links and tools to (maybe) have a successful fix:

 

KB: Consolidating snapshots

Troubleshooting snapshots

SnapVMX tool

 

We should already know that isn't a good practice to have running virtual machines with snapshots for a long time. We can use some method to monitor the snapshots  that are in our virtual vmware infrastructure.

 

 

 

 

 

Regards.

Nowadays esx(i) 4.0 doesn't support adding USB devices to virtual machines.

 

Anyway AFAIK actually there are two workarounds to this handicap.

  • You can use "USB over IP"  that permits from a physical host connect a USB and configure the vm to access this USB device over the tcp/ip network. You must install some (client) software in the virtual machine and in the host (server) where the USB device is connected.  For example you can use this good and not so much expensive software.

  • Other option is connect directly a USB drive to the esxi host using the new VMDirectPath feature, to give USB direct access to the vm (just one vm). Actually the officially number of devices that works with VMDirectPath is very limited but here  you can check a greater (and unofficial) VMDirectPath HCL. Finally here you can check a guide to configure it.

 

 

Regards