A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Checking the status of your RAID

A useful command to check the status is:

cat /proc/mdstat

Example output:

 Personalities : [raid1] [raid6] [raid5] [raid4]
md5 : active raid1 sda7[0] sdb7[1]
      62685504 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
      256896 blocks [2/2] [UU]

md6 : active raid5 sdc1[0] sde1[2] sdd1[1]
      976767872 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

You can see that all disks are present and in sync, with command:

sudo mdadm --query --detail /dev/md* 

Replace * with the partition number.

If you want to check the array for consistency use these commands.

sudo -i
cat /sys/block/md1/md/sync_action
echo check > /sys/block/md1/md/sync_action
mdadm --detail /dev/md1



Comments are closed.