VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Unable to create a VMFS3 partition on a metaLUN or LUSE LUN

Details

This article troubleshoots a situation where you are unable to create a VMFS3 volume/partition on a LUN that is made out of multiple logical devices. This is typically referred to as a meta LUN or a LUSE LUN.
 
In some instances, the first logical device that makes up this LUN may be corrupt or may contain invalid VMFS header information from a previous configuration. This can happen if this device was part of another metaLUN or LUSE LUN.

Solution

To create a VMFS3 partition on this LUN perform one of the following:
  • Clear the LUN's partition table from within the ESX host:
Find out what device name this LUN is exported as.
esxcfg-vmhbadevs -q
 
The device name that is associated with your LUN has a name similar to /dev/sdX where X is one or more alphabetical letters. Issue the following command the clear the partition on this device:
 
dd if=/dev/null of=/dev/sdX bs=512 count=1

Note: Extreme care must be taken when issuing the following command because it erases the partition on the device that you specify as the parameter "of=".
  • If this is a metaLUN or a LUSE LUN which is made up of multiple logical devices, unpresent the LUN from the array side and change its first logical device. It is possible that the existing first logical device contains an invalid partition table, perhaps from a time when it was previously being used by non-ESX host. After this change is made, re-present this LUN back to the ESX host and rescan for new LUNs on the ESX host. The SAN administrator can make this change.

After either option try creating the VMFS volume.

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions