linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bugreport mdadm-2.0-devel-1
@ 2005-07-06  9:13 Maxim Kozover
  2005-07-07  0:10 ` Neil Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Kozover @ 2005-07-06  9:13 UTC (permalink / raw)
  To: linux-raid

Hi!
I'm getting problems with raid1 creation using new superblock format.
Kernel used is 2.6.12.2 (with drivers/md and include/linux/raid taken from
2.6.13-rc1 to have a support for bitmaps and bug correction of md
failing when starting resync), all compiled together.

For mdadm I tried both mdadm-2.0-devel-1 and mdadm-2.0-devel-1a.
Compiles only if -Werror is removed from the Makefile, otherwise
/usr/include/asm/byteorder.h:6:2: #warning using private kernel header; include <endian.h> instead!

raid1 creation with superblock 0.90 goes OK.
However, when I try using superflock version 1, I get the following from
mdadm-2.0-devel-1a:
# mdadm -C -e 1 /dev/md2 -l 1 -n 2 /dev/sdb /dev/sdc
mdadm: /dev/sdb appears to be part of a raid array:
    level=1 devices=2 ctime=Tue Jul  5 18:55:26 2005
mdadm: /dev/sdc appears to be part of a raid array:
    level=1 devices=2 ctime=Tue Jul  5 18:55:26 2005
Continue creating array? y
mdadm: internal error - sb_offset is wrong
Aborted

(Note that md_p.h already has md_p.h: __u8    pad1[128-100];  /* set
to 0 when written */)

and the following from mdadm-2.0-devel-1:
# mdadm -C -e 1 /dev/md2 -l 1 -n 2 /dev/sdb /dev/sdc
mdadm: /dev/sdb appears to be part of a raid array:
    level=1 devices=2 ctime=Tue Jul  5 18:55:26 2005
mdadm: /dev/sdc appears to be part of a raid array:
    level=1 devices=2 ctime=Tue Jul  5 18:55:26 2005
Continue creating array? y
VERS = 9002
mdadm: ADD_NEW_DISK for /dev/sdb failed: Device or resource busy

Also I think --zero-superblock doesn't do the job since I tried it,
but the superblock still remains.

Please advise.

Thanks,

Maxim.


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

end of thread, other threads:[~2005-07-19 11:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06  9:13 Bugreport mdadm-2.0-devel-1 Maxim Kozover
2005-07-07  0:10 ` Neil Brown
2005-07-07  1:30   ` Re[2]: " Maxim Kozover
2005-07-09  1:33     ` Neil Brown
2005-07-15  1:54       ` Neil Brown
2005-07-18 21:08         ` Maxim Kozover
2005-07-19 11:49           ` Maxim Kozover

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).