Solved

Vmware datatore delet and remove from storage question

Posted on 2013-01-03
6
369 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 121

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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 121

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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

628 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