Greetings,
ESXi 4.0
I have been bitten by the 'Snapshot Delta-Delete' datastore free space constaint.
We had a 450GB datastore for VM Storage and a 74GB Datastore for ISO Images, etc..
Took 2 snapshots of a 'Windows f/s' server VM. Each in about a week of each other.
Then to my lacking, forgot to remove the snapshot in a 'very short period of time'.
A few months later - it hit me - I need to remove that snapshot.
Turns out a user had been copying their Outlook .PST to the server each week, without deleting the old one first or overwriting the previous one. Bear in mind this PST was a few GB's. We noticed this process when the Windows Shared Drive space neared 10GB free. Then cleaned up the .PST files.
Guess what? This created some snapshot delta work....
The 'Server VM' has 2 .vmdk files. Total VM datastore usage: 200GB.
There was near 80GB free (77GB) on this datastore: Datastore2.
Rather than deleting the earliest snapshot and then the later - I chose 'Delete All'
Then waited..
- UGH.. The process used up 'ALL' the datastore space. Now the Snapshot(s) was in an 'orphaned' state.
I was able to move one of the other guest VM .vmdk files (30GB) from Datastore2 to the 'datastore1. Then start my 'Server VM'. Used VMConverter to convert the server VM to a 2nd ESXi 4.0 (LAB) host. Then Remove from Inventory and Delete the ESXi (Production) Server Guest VM. Then VM Convert the ESXi (Lab) Host Server VM Guest back to my ESXi 4.0 production host.
All is good.
These days I am almost figuring that the Datastore Remaining Space/Available Space Best Practice - is a moving target.
Much like a MS product. Take the recommended and Double it.
75% is the recommended. 50% if you can - is the safest path.