Solved

Vmware datatore delet and remove from storage question

Posted on 2013-01-03
6
366 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 120

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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 120

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

756 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