BMWagner
Contributor
Contributor

Question about SAN storage

Jump to solution

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?

0 Kudos
1 Solution

Accepted Solutions
runclear
Expert
Expert

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

0 Kudos
11 Replies
BMWagner
Contributor
Contributor

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?

0 Kudos
runclear
Expert
Expert

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

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

0 Kudos
runclear
Expert
Expert

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

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.

0 Kudos
runclear
Expert
Expert

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

0 Kudos
BMWagner
Contributor
Contributor

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

Smiley Happy

0 Kudos
runclear
Expert
Expert

No problemo.

-


-------------------- What the f* is the cloud?!
0 Kudos
Itzikr
Enthusiast
Enthusiast

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
0 Kudos
BMWagner
Contributor
Contributor

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

Brenda

0 Kudos
Itzikr
Enthusiast
Enthusiast

your'e welcome

Itzik Reich

Solutions Architect

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

EMC²

where Information Lives

Itzik Reich
0 Kudos