Some useful commands to work with hard disk in Ubuntu

 

#View Raid Status
cat /proc/mdstat

#View the member of a raid
mdadm /dev/md1

#View Hard disk info - such as serial
hdparm -i

#List all hard disks detected by the OS

lshw -class disk -short

 

Leave a Reply

Your email address will not be published. Required fields are marked *