Solved

Need to disable the Rescan VMFS process after a datastore delete in VMWare ESX 4.1

Posted on 2011-09-07
4
1,140 Views
Last Modified: 2012-07-03
I've got to delete 85 datastores and my 7 blades have to rescan the VMFS files after each delete. Is there any way to disable this temporarily so i can get them all deleted in a timely manner, and then rescan the vmfs afterwards?
0
Comment
Question by:ciphron
[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
  • 2
  • 2
4 Comments
 
LVL 121
ID: 36499034
fdisk at the command line can delete the partitions on the storage without rescan.

you can create later using vmkfstools, and issue re-scan if required.

Use fdisk with caution.
0
 
LVL 1

Author Comment

by:ciphron
ID: 36499308
I've already got the disks deleted off the guest OS, is that what you were referring to when you said fdisk?

I'm aware that i can delete the LUNs off of the storage, but without removing the datastores first, i've heard can have varying affects - and since its a production SAN, i don't exactly want to do something that could possibly bring important VMs down.

I've created them simply using the vSphere client's add storage process, are you suggesting a different method?

(You'll have to excuse the lack of knowledge, i'm relatively new to VMWare)
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 36499356
No, I mean using fdisk on the ESX HOST to destroy the VMFS datastore partition.

However, Anything done with fdisk is considered a hack and not supported, this will destroy the VMFS partition, it will not cause a rescan, but RESCANs are done for a reason.

Later if necessary, you can re-create the VMFS partition using vmkfstools on the ESX Host, and issue a remote rescan.

Personally, if you are new to VMware, and this is a serious production machine, (LUNs deleted on the SAN or correctly done iSCSI or FC presentation removed - this is what the rescan is for.).

I would stick with the either deleting with the supported method of using vSphere GUI Client, or Change Presentation of the LUN, and rescan.

BUT, be very aware and make sure you delete the correct datastore, or un-present the correct LUN.

There are not really any easy shortcuts! (unless you want a disaster!) - fdisk is dangerous!
0
 
LVL 1

Author Closing Comment

by:ciphron
ID: 36503193
Thanks for the input. Its sad to see that there is no simple/safe/gui way to do this, but if thats the way it is, thats the way it is.
Thanks for the help
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
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…

635 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