Skip to content

Commit

Permalink
add: Add Raw Read Error Rate to hddcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Jan 15, 2025
1 parent 884f413 commit 512c512
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions shell/hddcheck
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
devices=$(lsblk -d -o NAME -n)

for device in $devices; do
echo $device
smartctl -a /dev/$device | grep -e self-assessment \
echo "Checking $device"
smartctl -a "/dev/$device" | grep -e self-assessment \
-e Raw_Read_Error_Rate \
-e Reallocated_Sector_Ct \
-e Current_Pending_Sector \
-e Offline_Uncorrectable \
-e Power_On_Hours
echo ""
done

0 comments on commit 512c512

Please sign in to comment.