Don't miss out on new posts! Sign up! Also, visit the VHT Forums!
Virtualization

Check Equalogic SAN hard drives for errors

Many use and love Equalogic SANs in their virtual environments.  I wanted to write up a quick post on how to see if any of your hard drives inside your Equalogic have experienced or are experiencing drive errors.  This can be helpful if you suspect a hard drive is having issues or noticing some performance degradation in your environment and have looked elsewhere to no avail.

In order to check Equalogic SAN hard drives for errors, we need to SSH into the Equalogic using the grpadmin user account the same as you would updating firmware on your unit.  Using your favorite terminal emulator, simply SSH into the controller IP of the specific SAN or group controller IP if only one unit.

After you connect with SSH, you will enter your grpadmin credentials to authenticate and should get to a prompt.  After you login, you will need to enter the following command:

su ex sh

As you are warned, this takes you into the “tech support command console” which you want to use with caution.

eqldrives03

Now to look at the state and counters of your Equalogic disks, you enter the command

diskview -j

The above command will list the disks, the error counters and their current status for troubleshooting purposes.  You will note the “SpunDown” drives which are the hot spares inside our system.

eqldrives02

Final Thoughts

Using the support command needs to be issued with extreme caution as you can imagine, very bad things can happen if not used correctly.  However, viewing disk statuses is harmless if used carefully and can be a good troubleshooting tool if experiencing hard drive issues or performance oddities as another sanity check.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.