VMWare

apavlik64
apavlik64 used Ask the Experts™
on
I have a DC that is a VM and it keeps shutting down (every 5-10 days or so) with the error, "There is no more space for vitual disk "CN-000001.vdmk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session."

I have to revert to an old SnapShot to get it to run again. Because disk space appears to be running out, I'm fearful of deleting the old SnapShot and creating a new one.

Any help would be appreciated!20190820_DataStore-1.PNG20190820_DataStore-2.PNG20190820_DataStore-3.PNG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
Buy a larger disk they're cheap enough. Reverting back in time for a DC will cause problems. You will have file replication problems, password changes reverted. This is an accident looking for a place to happen.
Ditto David Johnson
Never, EVER revert a DC to a snapshot that you made. Could happen that Clients cannot logon anymore, if a second DC is installed that the AD sync is destoryed, exchange not running anymore, etc etc.

If you are running out of space, you need to add on the Esxi.

Author

Commented:
The DC stops running, so I have NO choice but to revert to the saved snapshot. I will look at upgrading to larger HDD's as soon as I can. In the meantime, though, I need to figure some things out.

When I log onto the server and look at disk space, c: shows 15.4 GB Free and e: shows 147GB Free. However, The datastore (in vSphere) shows only 13.91 GB free. Is it possible that I can easily add storage to that?
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Obviously, I'm new to VM's, so please bear with me. If it's not ever wise to revert to an old snapshot for a DC, I should simply delete the existing one and regain that space, right?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Why are you running on a snapshot

DELETE IT
Yes, I also stronlgy recommend to delete ALL the snapshots you have on all VM's if you do not "really" need them. Snapshots are not backups.

In addition, I also recommend to use THICK virtual harddrives if you are new to vmware/esxi in your enviroment. So if you need to create new VM's, use THICK not thin. For a smaller enviroment it's more failsafe, needs lesser monitoring and maintenance checks.
Seems you have "thin" harddrives...as you see more free space as you really have....except another storage is there (e.g. iscsi)
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
That’s why your disk is growing!!!!

Author

Commented:
Thanks for all the info! Thomas U, how do I "add on the Exsi"?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
correct select Snapshot Manager and select delete ALL

but how much space do you have left on the datastore because you need space to delete it
.....how do I "add on the Exsi"?
what do you mean by that?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
@Thomas in your reply you stated

‘If you are running out of space, you need to add on the Esxi.’

Maybe you were referring to adding on another disk but this is the wrong approach to fix the issue using snapshots will result in a corrupt disk and the VM will be lost and corrupted
Ahh.. thx Andrew ;-)
Yes you need to add Harddrives to the Esxi hardwareserver. But I think this needs another thread here.
Depends highly if the server has RAID storage and what kind. Needs also professional help if you are not familiar with that.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
If you have the time I would recommend as a VMware Novice having a read of my EE article I wrote several years ago about snapshots because it’s still a very popular question asked every week at EE.

HOW TO: VMware Snapshots :- Be Patient

Author

Commented:
I'm moving files from the HDD as we speak. Any idea how much space I need to delete the SnapShots? I currently have 15GB and am hoping to free up another 25GB or so.

Author

Commented:
Is 14GB enough space to delete the SnapShot?

Author

Commented:
Can I delete all SnapShots with 14GB free space in my Data Store?
DataStoreFiles.PNG
Top Expert 2016

Commented:
Depends on your version of ESXI https://searchvmware.techtarget.com/tip/Deleting-virtual-machine-snapshots-without-wasting-disk-space
V4+ doesn't need more space. It will take a long time. After 15 minutes it will say timed out but it will still be running.

Author

Commented:
Thanks, Gents, for all your help!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start Today