software RAID 1 mixed up after disk fall-out
we have a Debian based LAMP server (Debian-60-squeeze-64), physical, with 2 x 3 TB harddisks configured with 4 partitions in a software RAID 1 mirror.
One day, we get the following warning:
md3 : active raid1 sda4(F) sdb4Seemed like sda is out. The server is then shut down, and a SMART check is run on both harddisks. No errors found.
After the server is booted to the OS again, the sda is visible, but the mirror is degraded, and all partitions are "mixed":
md124 : active (auto-read-only) raid1 sda1I decide to try to remove the mirror from sda, keeping it only on sdb, but without success:
# mdadm /dev/md127 -r /dev/sda4What I suppose is that the mirrored partitions were kept on sda, but when it came up and running after the reboot, it could "see" that the partitions are out of sync, and the partitions are kept on both sda og sdb now.
How do I remove the partitions on the sda, and resync them from the sdb again, without loosing any data?
There is also another thing that happened - some partitions were not mounted after the reboot.
Here is the hard disk configuration before mirroring degraded:
Filesystem Size Used Avail Use% Mounted on... and hard disk configuration after the degradation & reboot:
Filesystem Size Used Avail Use% Mounted onLooks like things from md1 and md3 "vanished", at least they cannot be seen from the inside of the OS.
How do I get the "lost" partitions mounted again, and how do I ensure that the disk configuration is bootable, both from sda and sdb?
Thanks in advance, and regards from
|All times are GMT +2. The time now is 18:12.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.