[Bug 256183] New: mdadm --examine-bitmap does not work?
https://bugzilla.novell.com/show_bug.cgi?id=256183 Summary: mdadm --examine-bitmap does not work? Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Hopefully this transcript should be sufficient. Basically, --examine-bitmap doesn't work. Also, mdadm is out of date (2.5.3 shipping (for openSUSE 10.3 too!), but 2.6.1 available). Also 2.5.6 is available if *required* to stay at 2.5.X. turnip:~ # cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [raid1] md1 : active raid5 hda2[0] hde2[2] hdc2[1] 158095360 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU] bitmap: 1/151 pages [4KB], 256KB chunk unused devices: <none> turnip:~ # mdadm --misc /dev/md1 --examine-bitmap turnip:~ # mdadm --misc --examine-bitmap /dev/md1 Filename : /dev/md1 Magic : 00000000 mdadm: invalid bitmap magic 0x0, 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 turnip:~ # -- 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=256183 ------- Comment #1 from jnelson-suse@jamponi.net 2007-03-20 19:14 MST ------- If it means anything, I tweaked the specfile and rebuilt the rpm using 2.6.1 and I get the same result. -- 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=256183 ------- Comment #2 from jnelson-suse@jamponi.net 2007-03-20 19:29 MST ------- (This is 2.6.1) (kernel: 2.6.18.8-0.1-default) I also rebuilt it: turnip:~ # mdadm --grow --bitmap=none /dev/md1 turnip:~ # cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [raid1] md1 : active raid5 hda2[0] hde2[2] hdc2[1] 158095360 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU] unused devices: <none> turnip:~ # mdadm --grow --bitmap=internal /dev/md1 turnip:~ # cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [raid1] md1 : active raid5 hda2[0] hde2[2] hdc2[1] 158095360 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU] bitmap: 151/151 pages [604KB], 256KB chunk unused devices: <none> turnip:~ # mdadm --misc --examine-bitmap /dev/md1 Filename : /dev/md1 Magic : 00000000 mdadm: invalid bitmap magic 0x0, 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 turnip:~ # Perhaps this will help: turnip:~ # mdadm --misc --detail /dev/md1 /dev/md1: Version : 00.90.03 Creation Time : Mon Dec 13 19:05:24 2004 Raid Level : raid5 Array Size : 158095360 (150.77 GiB 161.89 GB) Used Dev Size : 79047680 (75.39 GiB 80.94 GB) Raid Devices : 3 Total Devices : 3 Preferred Minor : 1 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Tue Mar 20 20:28:41 2007 State : active Active Devices : 3 Working Devices : 3 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 128K UUID : 13a00f6b:69cab8f2:681b5493:fec1c3bf Events : 0.22346096 Number Major Minor RaidDevice State 0 3 2 0 active sync /dev/hda2 1 22 2 1 active sync /dev/hdc2 2 33 2 2 active sync /dev/hde2 turnip:~ # mdadm --misc --examine /dev/md1 mdadm: No md superblock detected on /dev/md1. turnip:~ # -- 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=256183 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mmarek@novell.com |screening@forge.provo.novell| |.com | -- 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=256183 mge@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |262812 nThis| | -- 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=256183 ------- Comment #3 from jnelson-suse@jamponi.net 2007-04-10 08:18 MST ------- Why can't I see bug 262812 ? -- 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=256183 ------- Comment #4 from nfbrown@novell.com 2007-04-12 16:52 MST ------- Both --examine and --examine-bitmap must be given a name of a component device, not the whole array. e.g. mdadm --examine-bitmap /dev/hda2 mdadm --examine /dev/hdc2 This is because the bitmap is stored on the devices. It is not stored in the array. -- 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=256183 mge@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO|262812 | nThis| | -- 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=256183 ------- Comment #5 from jnelson-suse@jamponi.net 2007-04-12 20:13 MST ------- My goodness. Somehow I've managed to miss that. Thank you for clarifying. If you happen to think of it, perhaps a small note or example in the manpage/docs might be warranted. Thank you for the explanation! I don't know if I should close the bug or not but surely the issue is one of operator error in any case. -- 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=256183 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |nfbrown@novell.com ------- Comment #6 from mmarek@novell.com 2007-04-27 07:55 MST ------- (In reply to comment #5)
My goodness. Somehow I've managed to miss that. Thank you for clarifying. If you happen to think of it, perhaps a small note or example in the manpage/docs might be warranted.
Neil, what about somethink like this, so that it's clean how to inspect an internal bitmap? -X, --examine-bitmap Report information about write-intent bitmap. The argument is either an external bitmap file or an array component in case of an internal 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=256183 nfbrown@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|nfbrown@novell.com | ------- Comment #7 from nfbrown@novell.com 2007-06-06 18:53 MST ------- Yes, that looks fine. It will be in the next upstream release of mdadm. -- 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=256183#c8 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Michal Marek <mmarek@novell.com> 2007-07-25 02:45:54 MST --- And it is in the Factory mdadm package now. -- 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.
participants (1)
-
bugzilla_noreply@novell.com