VMware Cloud Community
BMWagner
Contributor
Contributor
Jump to solution

Question about SAN storage

I created a few servers (virtual machine) in vCenter. I had to delete it and it looks like I don't have that storage space back. Am I missing something? Could someone please explain how to get the storage back?

Reply
0 Kudos
1 Solution

Accepted Solutions
runclear
Expert
Expert
Jump to solution

well two ways... since your 'green' use the vi client - right click the vm and select "delete from disk"

As you learn more - or if your a unix/linux guy, use the console (after you unregister the vm from inventory) and you can rm -rf the directory...

-


-------------------- What the f* is the cloud?!

View solution in original post

Reply
0 Kudos
11 Replies
BMWagner
Contributor
Contributor
Jump to solution

Let me clarify. I had to delete one server and the disk space on the SAN didn't increase. So I started with 400GB. Setup 5 servers and was down to 80GB. I deleted a server and the storage size stayed the same. Any thoughts?

Reply
0 Kudos
runclear
Expert
Expert
Jump to solution

I would try to console in and see if vCenter is actually seeing what is really there...

#> cd /vmfs/volumes/datastoreName/vmName

#> ls -lh

-


-------------------- What the f* is the cloud?!
BMWagner
Contributor
Contributor
Jump to solution

I do see it in there. What should I do?

Reply
0 Kudos
runclear
Expert
Expert
Jump to solution

So it sounds to me like you clicked "Remove from Inventory" and not "Delete from Disk"

"Remove from Inventory" simply "unregisters" the VM from the esx node, and removes itself from the Vi/vCenter Client

"Delete from Disk" - well thats self explanitory Smiley Happy

-


-------------------- What the f* is the cloud?!
BMWagner
Contributor
Contributor
Jump to solution

Okay. So then how do I delete it from disk?

I really do appreciate your help on this. I am so green to this it isn't funny.

Reply
0 Kudos
runclear
Expert
Expert
Jump to solution

well two ways... since your 'green' use the vi client - right click the vm and select "delete from disk"

As you learn more - or if your a unix/linux guy, use the console (after you unregister the vm from inventory) and you can rm -rf the directory...

-


-------------------- What the f* is the cloud?!
Reply
0 Kudos
BMWagner
Contributor
Contributor
Jump to solution

Thanks for your help. I am less green with Linux than I am VMWare.

Smiley Happy

Reply
0 Kudos
runclear
Expert
Expert
Jump to solution

No problemo.

-


-------------------- What the f* is the cloud?!
Reply
0 Kudos
Itzikr
Enthusiast
Enthusiast
Jump to solution

another way to do so is via the datastore browser..just double click the datastore the VMDK of the deleted VM's was / were there

then delete the folder contained the VM(s) you wanted to delete.

Itzik Reich

Solutions Architect

VCP,VTSP,MCTS,MCITP,MCSE,CCA,CCNA

EMC²

where Information Lives

Itzik Reich
Reply
0 Kudos
BMWagner
Contributor
Contributor
Jump to solution

That was awesome! I did not realize you could do that! Thanks so much! Way easier.

Brenda

Reply
0 Kudos
Itzikr
Enthusiast
Enthusiast
Jump to solution

your'e welcome

Itzik Reich

Solutions Architect

VCP,VTSP,MCTS,MCITP,MCSE,CCA,CCNA

EMC²

where Information Lives

Itzik Reich
Reply
0 Kudos