On 12/08/2013 02:17 AM, David C. Rankin wrote:
What is the best way to do this? It seems simple, but I would rather look before I leap here. If there is a better way to attempt to get these partitions to re-sync, I am more than happy to give it a try. Thanks.
I have worked through https://raid.wiki.kernel.org/index.php/RAID_Recovery to the point of recreating the array. The wiki says to stop and ask them before moving on to recreate which is where most data is lost. So I have posted the question to the linux-raid list at kernel.org. I'll let you know what the answer is. Just for completeness here, mdadm --examine /dev/md1 info is: Magic : a92b4efc Version : 1.0 Feature Map : 0x1 Array UUID : e45cfbeb:77c2b93b:43d3d214:390d0f25 Name : 1 Creation Time : Thu Aug 21 06:43:22 2008 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 41945504 (20.00 GiG 21.48 GB) Array Size : 41945504 (20.00 GiG 21.48 GB) Super Offset : 41945632 sectors State : clean Device UUID : e8c1c580:db4d853e:6fac1c8f:fb5399d7 Internal Bitmap : -81 sectors from superblock Update Time : Tue Nov 19 15:28:38 2013 checksum : d37d1086 - correct Events : 148 Array Slot : 0 (0,1) Array State : Uu Magic : a92b4efc Version : 1.0 Feature Map : 0x1 Array UUID : e45cfbeb:77c2b93b:43d3d214:390d0f25 Name : 1 Creation Time : Thu Aug 21 06:43:22 2008 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 41945504 (20.00 GiG 21.48 GB) Array Size : 41945504 (20.00 GiG 21.48 GB) Super Offset : 41945632 sectors State : clean Device UUID : 6edfa3f8:c8c4316d:66c19315:5eda0911 Internal Bitmap : -81 sectors from superblock Update Time : Tue Nov 19 15:28:38 2013 checksum : 39ef40a5 - correct Events : 149 Array Slot : 1 (0,1) Array State : uU attempting stop and then assemble with: # mdadm --stop /dev/md1 # mdadm --assemble --force /dev/dm1 /dev/sd[ab]5 The messages captured in the logs are: Rescue Kernel: md: md1: stopped. Rescue Kernel: md: unbind<sda5> Rescue Kernel: md: export_rdev(sda5) Rescue Kernel: md: unbind<sdb5> Rescue Kernel: md: export_rdev(sdb5) Rescue Kernel: md: md1: stopped. Rescue Kernel: md: md1 raid array is not clean -- starting background reconstruction Rescue Kernel: md: raid1: raid set md1 active with 2 out of 2 mirrors Rescue Kernel: md1: bitmap file is out of date (148 < 149) -- forcing full recovery Rescue Kernel: md1: bitmap file is out of date, doing full recovery Rescue Kernel: md1: bitmap initialisation failed: -5 Rescue Kernel: md1: failed to create bitmap (-5) hen on the command line I have: mdadm: failed to RUN_ARRAY /dev/md1: Input/Output error -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org