Hi:
     I am new to this mailing list, I have some questions about RAID1 and
the kernel2.2.x.

1.  Does it support  root-mount raid1 ? I've been trying to make this work
on RH6.0 with the new
autodetect stuff, however, I feel the autodetect program won't be able to
mount the raid1 device.

I do a dmesg, it looks like:

md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: using high-speed MMX checksum routine
   pII_mmx   :   975.741 MB/sec
   p5_mmx    :   945.261 MB/sec
   8regs     :   691.134 MB/sec
   32regs    :   496.443 MB/sec
using fastest function: pII_mmx (975.741 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda: hda1 hda2 hda3
hdc: hdc1 hdc2 hdc3
autodetecting RAID arrays
(read) hda3's sb offset: 973632 [events: 0000000b]
(read) hdc3's sb offset: 973632 [events: 0000000b]
autorun ...
considering hdc3 ...
  adding hdc3 ...
  adding hda3 ...
created md0
bind<hda3,1>
bind<hdc3,2>
running: <hdc3><hda3>
now!
hdc3's event counter: 0000000b
hda3's event counter: 0000000b
request_module[md-personality-3]: Root fs not mounted
do_md_run() returned -22
unbind<hdc3,1>
export_rdev(hdc3)
unbind<hda3,0>
export_rdev(hda3)
md0 stopped.
... autorun DONE.

I did look at the code, md.c, and in the md__initfunc(...) function, there
is a comment
address that RAID1 and RAID 5 are not support (at line 3863, the case
statement).
And I believe that

request_module[md-personality-3]: Root fs not mounted

says that the system try to load the raid1 modules before root fs being
mounted.
Am I right?

2. I support this question should has been asked by other people, if so, is
there any
archive that I can do a search on the subject?

3. If my assumptions are correct, that means I need the use the initrd and
mount ram disk at
the boot time and remount the /dev/md0 root, right

Thanks for any help.

Best regards to you all

Gordon Wu

Reply via email to