Score:-1

Cannot extend VMware HDD because of snapshots that I cannot delete

cn flag
nop

There is a virtual machine located at a machine, which I access through VMware vSphere Client.

  • it has only 200 GB HDD which is quite a bit.
  • it's connected to a domain and a lot of users are using it with domain accounts.
  • it has old snapshots, because of licenses, which I cannot delete.

The issue is how do I extend that C: drive from 200 GB to something bigger by knowing that I cannot remove all these snapshots?

br flag
This is an unsustainable and frankly unprofessional way to use snapshots - they're only supposed to 'live' for 72 hours or so, you're pretty much guarunteed corruption if you can on with the same snapshots for months/years - I've seen it myself. Also using this mechanism to avoid licence spend (which is what I think you're doing - forgive me if I've read that incorrectly) is unprofessional and disrespectful. This site is for professional sysadmins and system designers, please re-read the help pages before posting again.
Score:1
cv flag

I'm not quite understanding the conundrum. If you delete the snapshots they will all be merged into the parent disk and all of the changes in the snapshots will be preserved. Why is this not a solution?

nop avatar
cn flag
nop
The snapshot should be restored each X days, because the license has expired. I can try restoring to the latest snapshot and then deleting all of them and extended the HDD, but I need a backup, in case it goes side ways. How do I do that? The virtual machine is hosted on a server, I can't just go there and copy/paste all files I think.
Karsten Köpnick avatar
va flag
@nod: Still not seeing clear here. What would happen if you revert to old snapshot as if X days were over, delete remaining snapshots, increase disk, make a new snapshot? Maybe throw in a backup, while you are at it?
joeqwerty avatar
cv flag
@nop It sounds like you're in this situation because you don't want tp pay for new licenses and are using this "roll back" method of yours to avoid paying for new licenses. If that's the case, you won't get help with that here.
nop avatar
cn flag
nop
@joeqwerty, no, in fact it's an institution and all licenses are valid. The problem is that it is running Windows Server 2008 R2. You can't renew them. It's just too old. The other problem is that it cannot be updated because the Samba is way too old as well.
nop avatar
cn flag
nop
https://i.imgur.com/sfkDxrh.png. Actually, I'm not sure why my boss told me that he didn't want to lose the licenses. It seems like I misunderstood something and it has already been activated. I believe he meant the licenses for Remote Desktop connection.
Score:1
cn flag

VMware virtual disks cannot be extended if they have snapshots.

Archive what you need to preserve to a real backup system. Beware some backup systems will not preserve snapshots, consider copying files direct from the hypervisor. Test restore by creating a new VM from this backup.

Delete the snapshots.

nop avatar
cn flag
nop
I know that they cannot be extended while there are snapshots, but there are snapshots with licenses. Perhaps, if I restore to the latest snapshot and then delete every single snapshot and then recreate the snapshot, that would save the licenses?
Karsten Köpnick avatar
va flag
@nop: Seems you need to elaborate. If the licenses are presently active, why would you lose them with deleting snapshots? If the licenses exist only in the snapshots, how did you ever plan to restore them without destroying the running system? And why is the answer to any of these questions not also the answer to your problem?
nop avatar
cn flag
nop
@KarstenKöpnick, it won't destroy the system because nothing is really stored in there. All user data is stored on a file server and the accounts are basically domain accounts hosted on a Samba server. Once users log into their accounts all their data (Application Data, Desktop, Pictures, Music, etc.) gets copied to `C:\Users\_account_name_`. Oh actually, the VM has an old Visual Studio installed and that's all they need.
Karsten Köpnick avatar
va flag
And why you need to increase a 200GB disk on a system that has nothing really stored on it end gets reverted to a snapshot every x days? Roaming profiles and increased amount of users?
nop avatar
cn flag
nop
@KarstenKöpnick, because these account profiles are being copied in `C:\Users`, which is huge. And yes, there are new users every next year.
Karsten Köpnick avatar
va flag
@nop " if I restore to the latest snapshot and then delete every single snapshot and then recreate the snapshot, that would save the licenses?" - I think you are the only person who can answer that. You must know what happens when after x days the snapshots gets restored. If that works as intended, I'd say you answered your own question. And if it doesn't work, you answered your own question and found why this approach is probably not the best way to save old images of servers.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.