Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-07
4
Medium Priority
?
1,165 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 124
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 124

Accepted Solution

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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.
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 video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

927 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