Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

After an ESX/ESXi installation, upgrade, or reinstall, SAN LUNs are damaged (1003881)

Last Updated: 3/20/2024Categories: InformationalTotal Views: 12922Language:
English

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Symptoms

After completing an ESX/ESXi installation, reinstall, or upgrade you are unable to see or attach to LUNs.

LUN is showing that it contains Linux style partitions.

This issue occur after you successfully completed an install with HP Rapid Deployment Pack (RDP)

This issue occur after you successfully completed an installation, upgrade, or reinstall with your SAN attached.

Resolution

This issue can occur during the installation of ESX/ESXi when a Storage Area Network (SAN) is attached. A LUN can be chosen unintentionally instead of the local disk. The LUN can be damaged when the ESX/ESXi installation writes to your SAN.

During the ESX/ESXi installation process the installer may identify a SAN LUN as /dev/sda if the PCI device numbering has an HBA as a lower number than the local SCSI.

This can also occur when using the Rapid Deployment Pack from HP to install an ESX/ESXi host. The Rapid Deployment Pack software from HP automates the deploying and provisioning of server software and system BIOS utilities. Rapid Deployment Pack does its initial configuration using a LinuxPE image instead of DOSPE image.

When updating the system BIOS and array configuration, the Rapid Deployment Pack installation sends a GRUB.IMG to the first disk (/dev/sda ) so that it can boot from the local disk to do the operating system installation. This LinuxPE image includes QLogic and Emulex fiber channel drivers which can mean that /dev/sda is discovered on the SAN storage instead of on local storage. In this case the GRUB.IMG is placed on the SAN disk rather than the local disk, thus overwriting the VMFS filesystem resident on /dev/sda of the SAN.

Note: No data recovery is possible if the LUN has been overwritten by an installation of ESX/ESXi.

The LVM header for the LUN is overwritten and you need to restore from backup. For running virtual machines you may be able to use Converter to hot migrate the virtual machine to a different datastore, but this does not always work, it's dependant on where the vmdk file is on the LUN.

To confirm that your LUN has been overwritten by the installer, you can take a 31 MB dump of /dev/sda on the SAN disk and skip the first 32256 bytes. If you then mount this dump using the loop device you can see the contents of a Linux /boot directory.

If you run fdisk on your LUN you also see the partitions created by the installer.

A typical installation creates the following partitions:

Disk /dev/sda: 73.2 GB, 73274490880 bytes

255 heads, 63 sectors/track, 8908 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1926 15366172+ 83 Linux
/dev/sda3 1927 5113 25599577+ 83 Linux
/dev/sda4 5114 8908 30483337+ f Win95 Ext'd (LBA)
/dev/sda5 5114 6133 8193118+ 83 Linux
/dev/sda6 6134 6388 2048256 82 Linux swap
/dev/sda7 6389 8895 20137446 fb Unknown
/dev/sda8 8896 8908 104391 fc Unknown

Normally your LUN only consists of a VMFS partition which is indicated by the ID type 'fb'.

Note: Always detach your SAN prior to any installation, upgrade, or reinstall of an ESX/ESXi host.

Alternatively, you can unpresent the LUNs from the ESX/ESXi host until after the installation, upgrade, or reinstall is completed. This is a more complicated solution that only makes sense if physical access to the server is not possible.

Related Information

Completing a remote or scripted ESX Server installation (KB 1004076)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
Verificação da integridade de arquivo da máquina virtual hospedada (1003846)

KB
•
ホストされた仮想マシンに対して十分なディスクの空き領域があることの確認 (1003856)

KB
•
查找托管的虚拟机文件 (1003880)

KB
•
ホスト型仮想マシンのファイルを探す (1003880)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Results 1-5 of 5

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX Server 2.5.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant