https://bugzilla.novell.com/show_bug.cgi?id=222711 Summary: md raid bitmap not created and not read correctly Product: SUSE Linux 10.1 Version: Final Platform: x86-64 OS/Version: SLES 10 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rich@hq.vsaa.lv QAContact: qa@suse.de according to http://linux-raid.osdl.org/index.php/Bitmap, write intent bitmap should be available since "This requires 2.6.14, and mdadm 2.1". sles 10 has mdadm 2.2 and 2.6.16.21 kernel. unfortunately, bitmap is not created during/after an installation. the message at http://marc.theaimsgroup.com/?l=linux-raid&m=116157918719550&w=4 helped me to find out why raid array rebuild does not survive a reboot. ----------- monitoring:~ # cat /proc/mdstat Personalities : [raid1] [raid5] [raid4] md0 : active raid1 cciss/c0d0p1[0] cciss/c0d1p1[1] 56128 blocks [2/2] [UU] ----------- according to the bitmap description page, if the bitmap was presented, a line like "bitmap: 0/234 pages [0KB], 512KB chunk" would be there. let's see what mdadm has to say about this : ----------- monitoring:~ # mdadm -X /dev/md0 Filename : /dev/md0 Magic : 009048eb mdadm: invalid bitmap magic 0x9048eb, the bitmap file appears to be corrupted Version : 0 mdadm: unknown bitmap version 0, either the bitmap file is corrupted or you need to upgrade your tools ----------- ok, so it agrees that something is wrong, but in other cases magic reported was all zeroes, so this seemed somewhat confusing to me... let's try to add bitmap. ----------- monitoring:~ # mdadm -Gb internal /dev/md0 monitoring:~ # mdadm -X /dev/md0 Filename : /dev/md0 Magic : 009048eb mdadm: invalid bitmap magic 0x9048eb, the bitmap file appears to be corrupted Version : 0 mdadm: unknown bitmap version 0, either the bitmap file is corrupted or you need to upgrade your tools ----------- no, seems it is not working... ----------- monitoring:~ # cat /proc/mdstat Personalities : [raid1] [raid5] [raid4] md0 : active raid1 cciss/c0d0p1[0] cciss/c0d1p1[1] 56128 blocks [2/2] [UU] bitmap: 7/7 pages [28KB], 4KB chunk ----------- ..or is it ? so, supposedly two problems here : 1. bitmap is not created during an installation (both manual and autoyast). given that it provides quite useful functionality, it would be nice to have it enabled automatically. of course, if there is a way to set it to enabled during setup, i've just wrote a long piece of useless text :) also, system has 3 md raids, and one or two others had not finished initial rebuild yet when tests were performed. 2. mdadm complains about corrupted magic even when /proc/mdstats shows supposedly working write intent bitmap. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.