Watch linux softwareraid rebuild progress
I just recently started to play around with software RAID's under linux, and I thought I'll share a piece of code to watch the progress of a raid-rebuild.
``` {.lang:sh .decode:true} || user@workstation ~ || while [ 1 ] ; do clear ; cat /proc/mdstat ; sleep 5; done
Personalities : [linear] [raid0] [raid1 ...
more ...