[Bug 222711] New: md raid bitmap not created and not read correctly
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.
https://bugzilla.novell.com/show_bug.cgi?id=222711 mjancar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nfbrown@novell.com Status|NEW |ASSIGNED -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=222711 ------- Comment #1 from rich@hq.vsaa.lv 2006-11-22 00:28 MST ------- ok, it seems second problem is invalid - madam -X assumes target is bitmap file, and tries to validate it. this fails when an array is passed as a parameter. first problem still valid, no bitmap created by default. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=222711 mjancar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjancar@novell.com AssignedTo|mjancar@novell.com |fehr@novell.com Status|ASSIGNED |NEW ------- Comment #2 from mjancar@novell.com 2006-11-22 01:40 MST ------- The bitmap reduces array throughput, so creating it by default is not that good idea, but it could be offered in yast as an option. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=222711 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #3 from fehr@novell.com 2006-12-11 05:35 MST ------- I do not see a bug. We nowhere state that we create a bitmap. If the bitmap creation should be enabled automatically or manually this needs a feature request via fate and approval by project management. -- 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.
participants (1)
-
bugzilla_noreply@novell.com