Hi,
I’m trying to check the disk alignment on my VMFS LUNs. From what I’ve read online, I should use the esxcfg-vmhbadevs command to see which SD number equates to me datastores, and then run FDISK against each of these SD’s to check the alignment.
I’m running into problems with the “ESXCFG-VMHBADEVS –M” command. It is not recognised in the COS.
I’m able to run FDISK /dev/sddx to check alignment, but this is no use if I don’t know which LUN I’m checking.
Is there a command in the PowerCLI that I can use to show me which sdd associated with each LUN, or another COS command I can run?
Alternatively, if anyone can suggest a better way of checking VMFS alignment, let me know!!
Cheers,
G
With this command you can map the datastore with the /dev/sdX value:
esxcfg-scsidevs -l
Andre
With this command you can map the datastore with the /dev/sdX value:
esxcfg-scsidevs -l
Andre
Which storage do you use?
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Thanks Andre!! That got me the information I need.
AWo, we are connected to a NetApp filer over iSCSI.
If I remember that correctly your VMFS volumes are aligned with NetApp storage as long as you have created them with the vSphere vClient.
BTW, NetApp offers two free tools (mbrscan and mbralign) to check and align Windows guest partitions from the ESX console.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Do you know this one? http://communities.vmware.com/servlet/JiveServlet/download/2409-117516-821464-4435/NetappDiskAlignmentonVirtuals-+3593.pdf
It states that choosing the correct LUN protocol (VMware) aligns the VMFS partition on a NetAPP filer.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=