Solved

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

Posted on 2011-09-07
4
1,101 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
  • 2
  • 2
4 Comments
 
LVL 119
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 119

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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 use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
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:

805 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