How to Verify Hard Disk Health from a Live CD

I’m in the process of selling a VMware Server Lab build that has outlived it’s usefulness. Priorities have changed, and when you can sell a parted out server for the cost of a home insulation job or a new heating system, it’s time to do that.

I came across a unique situation, I needed to verify health of my HGST HUSML4040ASS600 400GB SAS Hard Drives, but how do you do that?  I grabbed my USB to SATA adapter and used a Windows Program like HDSentinel or CrystalDiskInfo.  Unfortunately that doesn’t work because the SAS to Sata Adapters doesn’t allow a connection.  Same with my SATA HDD Dock.

Notice the Prongs on the end of the Adapter.  It prevents me from plugging it in.  DSC_0033.JPG

I figured I’d plug in the drives into a motherboard and off I go.  How about the SAS Controller, still no go.  Okay, lets try a new system.  Still no, go.  Okay getting annoyed now, let’s try my HBA in passthrough mode.  Here we go success!

So how did I do it?  It’s simple, GParted and the Command Line.

I won’t go into detail how I was able to create a GParted Live USB as its detailed on their page.  I went the UNetBootin route on Windows 10 and booted from my Storage Server via IPMI.

gparted

Once booted, I fired up the Terminal and proceeded to figure out what the command was to get the required SMART Information.

Eventually I received the information I needed.  Essentially the command outputs all information for the Device /dev/sdX where X is the drive letter indicated by Linux.

sudo smartctl -a /dev/sdX

The command output the following

capture

Hopefully this will save someone the two hours it took me of digging and searching for a Utility that worked for me.

 

Upcoming NAS and VMware Converged Build

Just a little update,  I currently have on order a new build.  

To save power, I decided to converge my Xeon D NAS and my VMware Build.

Just a teaser of the parts include 

SuperMicro Xeon D Board with D-1537 

64GB DDR4

6X 6TB He6 Sata Hard Drives

2.2TB HGST VIRIDENT FLASHMAX II

At only 35W for the Xeon with 8 cores and 16 threads I’ll save a bit of money on power alone.  I plan on experimenting with a variety of storage technologies via VMs in this build to balance performance and max storage capacity.