Re: Raid1 where Event Count off my 1 cannot assemble --force
From: NeilBrown <hidden>
Date: 2013-12-09 04:46:39
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 08 Dec 2013 22:28:11 -0600 "David C. Rankin" [off-list ref] wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/08/2013 07:00 PM, NeilBrown wrote:quoted
What version of mdadm do you have? It looks like it should be cleverer than it is. What if you add "--update=no-bitmap" to the --assemble line? As the bitmap seems to be causing problem, ignoring it might help. NeilBrownI tried that too Neil, it said: nemtemp:/mnt # mdadm --verbose --assemble --force --update=no-bitmap /dev/md1 /dev/sd[ab]5 mdadm: '--update=no-bitmap' is invalid. Valid --update options are: 'sparc2.2', 'super-minor', 'uuid', 'name', 'resync', 'summaries', 'homehost', 'byteorder', 'devicesize'. Like in my reply to Adam, I think the age of mdadm may be the issue. The openSuSE 11.0 install DVD is pretty old ;-) It just may not be handling the - --assemble correctly given the Event count difference, and there doesn't seem to be a way to just tell it: "The data is correct on both disks, just assemble and run it and be quiet!" I'll try booting an Arch install CD with 3.3.2 on it and report back. Thank you and Adam for your help. If it does assemble with mdadm 3.3.2, anything I need to do on the assembled array to make sure it stays that way? fsck? Any way to tell it to make sure it is in sync so it will boot under the openSuSE 11.0 version of mdadm?
Once you get any kernel to successfully assemble the array, any other kernel/mdadm should be able to as well. NeilBrown -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIVAwUBUqVLLznsnt1WYoG5AQJ5mg//UkmhkCAtbiCf7z+1X9i/HsoROqH3Dhn6 ii2GEkWcb+IL7tYJ3zp0uzXPJOAuU10SSF7Icrobp9ABnWsCHefEXgGt4kRB7dG8 VkIrYIEArmSkLXkRlSP76IWi2A/AZzhBC3/8QPVXVDBy2I93YHwbkIttzLJURc8R /gtZRX7Bli4FgdNQuRj9K3KLc7Rar+CG1PmzLSInv3bXhZKM2JjlT2Wz4C0niBrf 0topMmjTrVESf8qT2QlOAvhN8BPNtWR95/H6W+v0nKU1KnyOuo6hwolqOFmspyJv Hrn2PFdNKmYFfQ+rFOMZQk4mxII9OxLp5bidE7r4jedzyhQi6QKDLcXZc550irxI e2vGu1Yg+V8d6dcRYgePChDIJn0c13iYgxZHxOJ4I1uhwC9dHNwgN8v377nkfZi+ wBml7Do2oynzImeCC7FVBnYrjmJm1M5djUqB12dIvQZySfI/SUMIVLPNyupiaSvb xvZ/QzoJaowYo1a0lt5EmWAVD5FZ/YTjiffxCdRr/P1rVWfc7Jx2KE/i42heXo8e zBU51hBrWI3JVLYMQr4/Rc1NYXtE51Cq0QzzM5dlnb+ya1m2boscYyUCZHjMGsJg 9JUnT6u7U8a676SZqCCUudIVPFxIR+xyhgpw0AmHcpfMdJ18ic/NmWXIQR7j+jka e5LiyQVu5nw= =nGpK -----END PGP SIGNATURE-----