dataDesk BLOG

Welcome to the blog of Mr.G

Nature
Posts: 2

Blog 1: Disk_and_RAID_testing_commands.md | (Open) | (Share)

▲ Previous | Next ▼

/Dev/Linux/Server Admin

(Last modified: July 31 2026 15:05:28)

Disk and RAID testing commands

List physical disks:

lsblk -d -o NAME,MODEL,SERIAL,SIZE,TRAN

Show full SMART data:

sudo smartctl -a /dev/sda
sudo smartctl -a /dev/sdb

Show only the most relevant SMART values:

sudo smartctl -A /dev/sda | grep -iE 'Power_On_Hours|Power_Cycle|Reallocated|Pending|Uncorrectable|Wear|Host_Writes|Temperature|CRC'

Check overall SMART health:

sudo smartctl -H /dev/sda
sudo smartctl -H /dev/sdb

Run a short self-test:

sudo smartctl -t short /dev/sda

Then view the result after the stated wait time:

sudo smartctl -l selftest /dev/sda

Check RAID status:

cat /proc/mdstat

For RAID 1, [UU] means both disks are active.

Show detailed RAID information:

sudo mdadm --detail /dev/md0

Check configured RAID alert address:

grep -vE '^\s*(#|$)' /etc/mdadm/mdadm.conf

Send a harmless test alert:

sudo mdadm --monitor --scan --test --oneshot



Blog 2: YouCut_20260330_110709853.mp4 | (Open) | (Share)

▲ Previous

/Videos

(Last modified: May 19 2026 18:46:54)
Shared by © dataDesk


Who I am

"Just me, myself, and I, exploring the universe of unknownment, embracing the mystery of what lies beyond, one star at a time."

Share this page on Facebook | X.com | Reddit

Page Content

  • Image Disk and RAID testing commands
    Published: 2026-07-31
    Read
  • Image YouCut 20260330 110709853
    Published: 2026-07-25
    Read

Tags

WebDev New York London AI NORWAY DIY Ideas Life Family News Clothing Invest Sports Health