Solved

Vmware datatore delet and remove from storage question

Posted on 2013-01-03
6
361 Views
Last Modified: 2013-01-14
I have created a lun for testing from storage and I finished my VM testing. Now I deleted the volumes from, OS and removed it from VM.  I want to know the proper way to remove the LUN. Can I now go ahead and delete the datastore, and then delete the LUN?
0
Comment
Question by:mokkan
6 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 38740908
Yep...as long as no needed VMs or data is on it. Just rt-click on it and select Delete (NOTE: this operation wipes all data off it). Once deleted from your Host/vCenter, you can then remove the LUN on your SAN if you want.

Regards.
~coolsport00
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 334 total points
ID: 38741150
the proper way to remove the LUN from an ESXi host

1. is the mask the LUN first.

see here

http://kb.vmware.com/kb/1009449

2. then  re-scan storage.

3. remove the LUN from SAN. (using SAN GUI or Tools).
0
 

Author Comment

by:mokkan
ID: 38741167
I already removed as coolsport00 suggested.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 334 total points
ID: 38741191
if you continue todo that you will expose a bug in ESXi, which hangs your server for hours!

mask first, then remove! (proper way!)
0
 
LVL 1

Assisted Solution

by:Karthik Rajasekaran
Karthik Rajasekaran earned 166 total points
ID: 38741899
1. Power off the VMs from the datastore which you are planning to remove.
2.remove from inventory,
3.Delete the datastore and remove the lun from the storage side (SAN GUI tool) , unmask the lun.
4.Initiate a new scan to get update all esxi that the luns are removed.
5.try to add a new datastore , you shouldnt see any raw lun in ready mode to configure.

Cheers
Karthik rajasekaran
0
 

Author Closing Comment

by:mokkan
ID: 38774380
thanks a lot guys.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now