How do I remove --write-mostly flag from linux mdadm raid1? (FC12)
FC12 i686 running on Core 2 processor.
2 1TB SATA disks attached, each split into identical partitions
(boot, root, spare-root, lvm). Each partition is mirrored raid1
I had set one of my disks (sdb) raid characteristics to --write-mostly.
(in a failed attempt to get it to spin down and reduce noise/heat).
Disk sda has gone bad in situ, but works when I move it out to an external USB2 disk enclosure.
So each of my md devices has the old sdb marked write-mostly, and the old sda connected by usb. This should direct most read accesses to the slower device.
I'd like to remove the --write-mostly flag.
Is there any way to do this short of re-initializing the partion and copying. I don't want to do this for two reasons: 1. Slow to copy 1TB, 2. I don't want to entrust my only copy of data to my suspect old sda.
Thanks for any help / hints.
Adrian Stephens, Cambridge UK.