#!/bin/bash
for i in `fdisk -l | grep "^Disk /dev/s" | awk '{print $2}' | sed 's/://'`
do 
echo -n "$i : "
serial=`smartctl -i $i | grep Serial`
status=`smartctl --all $i | grep "SMART ove"`
echo -n "$serial "
echo $status
done
