When you see this message in /proc/mdstat, it means that the raid partition is in auto-read-only mode. This mode is set when the device has not been written to since the last check.
In case of a normal partition, just try to write a file and the mode should disappear.
When its a swap partition, you can use this commands:
1 2 3 |
swapoff /dev/md0
mkswap /dev/md0
swapon /dev/md0 |
I got a cron email with this content, so i started investigating:
1 |
checkarray: W: array md0 in auto-read-only state, skipping... |
It seas about a Warning (W:), but i think it should rather be a notice…