linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm 2.6.x regression, fails creation of raid1 w/ v1.0 sb and internal bitmap
@ 2007-10-17 15:37 Mike Snitzer
  2007-10-17 20:54 ` Bill Davidsen
  2007-10-18  5:53 ` Neil Brown
  0 siblings, 2 replies; 16+ messages in thread
From: Mike Snitzer @ 2007-10-17 15:37 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid

mdadm 2.4.1 through 2.5.6 works. mdadm-2.6's "Improve allocation and
use of space for bitmaps in version1 metadata"
(199171a297a87d7696b6b8c07ee520363f4603c1) would seem like the
offending change.  Using 1.2 metdata works.

I get the following using the tip of the mdadm git repo or any other
version of mdadm 2.6.x:

# mdadm --create /dev/md2 --run -l 1 --metadata=1.0 --bitmap=internal
-n 2 /dev/sdf --write-mostly /dev/nbd2
mdadm: /dev/sdf appears to be part of a raid array:
    level=raid1 devices=2 ctime=Wed Oct 17 10:17:31 2007
mdadm: /dev/nbd2 appears to be part of a raid array:
    level=raid1 devices=2 ctime=Wed Oct 17 10:17:31 2007
mdadm: RUN_ARRAY failed: Input/output error
mdadm: stopped /dev/md2

kernel log shows:
md2: bitmap initialized from disk: read 22/22 pages, set 715290 bits, status: 0
created bitmap (350 pages) for device md2
md2: failed to create bitmap (-5)
md: pers->run() failed ...
md: md2 stopped.
md: unbind<nbd2>
md: export_rdev(nbd2)
md: unbind<sdf>
md: export_rdev(sdf)
md: md2 stopped.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-10-23  5:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17 15:37 mdadm 2.6.x regression, fails creation of raid1 w/ v1.0 sb and internal bitmap Mike Snitzer
2007-10-17 20:54 ` Bill Davidsen
2007-10-17 21:21   ` Mike Snitzer
2007-10-18 12:43     ` Bill Davidsen
2007-10-19  2:41       ` Neil Brown
2007-10-19  3:45         ` Bill Davidsen
2007-10-18  5:53 ` Neil Brown
2007-10-18 12:10   ` Mike Snitzer
2007-10-19  2:38     ` Neil Brown
2007-10-19  4:52       ` Mike Snitzer
2007-10-19  5:15         ` Mike Snitzer
2007-10-19  5:51           ` Neil Brown
2007-10-19 23:18             ` Mike Snitzer
2007-10-22  6:55               ` Neil Brown
2007-10-22 14:05                 ` Mike Snitzer
2007-10-23  5:11                   ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).