Solved

Vmware datatore delet and remove from storage question

Posted on 2013-01-03
6
364 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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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 …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

823 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