I am managing a server with two solid state drives configured in mdadm RAID1. The server is running RHEL6 with an ext4 filesystem.
This evening the server went offline shortly after nightly backups began and the console reported disk errors:
Upon logging into the console, I found that one of the disks had been marked failed by mdadm and the file-system was set to read-only.
Is there a way that I can configure mdadm to fail the drive before the file-system is re-mounted as read-only? I would much rather run as a single disk system for a short time (until a replacement disk can be installed) rather than immediately kick the file-system into read-only mode -- which would guarantee an outage.