5,337
edits
(→Usage) |
(→Scrubs) |
||
Line 27: | Line 27: | ||
==Scrubs== | ==Scrubs== | ||
On Ubuntu, md will automatically scrub on the first Sunday of every month using a systemd timer. | {{main | Archwiki:RAID#RAID_Maintenance}} | ||
On Ubuntu, md will automatically scrub on the first Sunday of every month using a systemd timer.<br> | |||
During a scrub, you can check the status with | |||
<pre> | |||
cat /proc/mdstat | |||
</pre> | |||
You can check for bad blocks using | |||
<pre> | |||
cat /sys/block/md0/md/mismatch_cnt | |||
</pre> |