Hi all,

First of all, best wishes for 2007, may the Penguin be with you for
the whole year on.

Then, my problem.

1. The setup : x86_64 2x500GB sata, linux 2.6.18-6, raid 1 on
/dev/sd[ab]1 -> /dev/md0.
Raid1 is configured with a 1.0 superblock version, but no autoraid 0xfd stuff.
The aim is to have / mounted on md0.
Lilo has been teached to have root=/dev/md0 and
md=0,/dev/sda1,/dev/sdb1, and with an explicit "raid=noautodetect".
The rest is not (that) important.

2. The symptoms :
At boot time, we do have the correct md: "Loading md0 :
/dev/sda1,/dev/sdb1" message
but while tryping to add /dev/sda1 in /dev/md0, we have :
"md: /dev/sda1 has invalid sb, not importing!"
Same thing for /dev/sdb1

3. My guess...
I must test this a bit further, but my guess is as follows :
- not being autodetected, /dev/md0 device is created using a 0.9
version by default : in md.c: set_array_info(), as info is memset(),
info->major_version is zero.
- then at md.c: add_new_disk(), md_import_device() is called with
mddev->major_version=0.
- md_import_device() fails because it's told to load a superblock v0.x
and it finds no superblock magic where it looks at it.

4. Conclusions
First, is my analysis correct ?
The box is being heavily used now (with a non-raid root...), so I
can't test any further before tonight, but I may test using a v0.9
superblock, and with autodetect stuff as well...
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to