Pages

Friday, March 11, 2011

How to find dead iSCSI/FC paths in vSphere ESX 4.x ?

Have you been receiving Storage Disconnects alarms from your vCenter quite often? Here are some quick commands to see if there are any dead paths.

esxcfg-mpath -l | grep -i dead

Following command does the same thing but lists extra information

esxcfg-mpath -b | grep -i dead

If resulting output contains dead paths and you want to be sure that it's not from some earlier known issues in your environment, you can run the following command to rescan all your targets

esxcfg-rescan vmhbaXX , where XX is the last two digits your HBA under Storage Adapters in vCenter.


Run esxcfg-mpath -l | grep -i dead or esxcfg-mpath -b | grep -i dead again and see if it results in any dead paths, if it does then there may be some serious connectivity or storage issues with your SAN. 

Use vmkernel ping to verify you can ping all your iSCSI targets.

vmkping 192.168.x.x, where 192.168.x.x is the IP of target IP of your SAN.

For Fiber Channel, make sure your SAN software sees all FC HBAs as registered and that are no zoning issues.

3 comments:


  1. For those looking to enhance their apparel with high-quality designs, our website offers a wide range of options to suit your needs. You can easily find dtf transfers ready to press that are perfect for any project. These transfers are designed for quick and easy application, ensuring professional-looking results every time. Whether you're a hobbyist or a business owner, our selection has something for everyone. Check out our collection today and bring your ideas to life.

    ReplyDelete