Re: RAID autostart in 2.3.99pre8

From: Rask Ingemann Lambertsen (rask-linux@kampsax.k-net.dk)
Date: Wed May 17 2000 - 11:38:00 EST


Den 14-Maj-00 11:52:57 skrev Ingo Molnar fĝlgende om "Re: RAID autostart in 2.3.99pre8":

>On Sat, 13 May 2000, Matthew Kirkwood wrote:

>> Should RAID-root and RAID-autostart work in
>> 2.3.99pre8?

>yep, accidentally left out of the Config file. It should work - could you
>try the attached patch?

   2.3.99-pre9-2 with your patch:

May 16 08:54:29 sinnvoll kernel: Partition check:
May 16 08:54:29 sinnvoll kernel: /dev/ide/host0/bus0/target0/lun0: p1 p2
May 16 08:54:29 sinnvoll kernel: /dev/ide/host0/bus0/target1/lun0: p1 p2 p3
May 16 08:54:29 sinnvoll kernel: /dev/ide/host1/bus0/target0/lun0: unknown partition table
May 16 08:54:29 sinnvoll kernel: md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
May 16 08:54:29 sinnvoll kernel: linear personality registered
May 16 08:54:29 sinnvoll kernel: md.c: sizeof(mdp_super_t) = 4096
May 16 08:54:29 sinnvoll kernel: autodetecting RAID arrays
May 16 08:54:29 sinnvoll kernel: autorun ...
May 16 08:54:29 sinnvoll kernel: ... autorun DONE.
May 16 08:54:29 sinnvoll kernel: devfs: v0.96 (20000430) Richard Gooch (rgooch@atnf.csiro.au)
May 16 08:54:29 sinnvoll kernel: devfs: boot_options: 0x0

   According to fdisk, the partitions have the correct ID:

                                Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/disc1 1 33 16600+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/disc2 34 659 315504 fd Linux raid autodetect

                                Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target1/lun0/disc1 1 50 13722+ 82 Linux swap
/dev/ide/host0/bus0/target1/lun0/disc2 61 895 229625 fd Linux raid autodetect
/dev/ide/host0/bus0/target1/lun0/disc3 * 51 60 2750 83 Linux

   The RAID array was created using this config file:

[root@sinnvoll /root]# cat /etc/raidtab
raiddev /dev/md/1
        raid-level linear
        nr-raid-disks 2
        persistent-superblock 1
        chunk-size 16
        device /dev/ide/host0/bus0/target0/lun0/part2
        raid-disk 0
        device /dev/ide/host0/bus0/target1/lun0/part2
        raid-disk 1

   I had a look at getting RAID autodetection to work around 2.3.48 or so
(when the code was commented out because it wouldn't compile). I ended up
concluding that the partition table was empty at the point when the
autodetection function was called and gave up on it.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen | E-mail: mailto:rask@kampsax.dtu.dk |
| Please do NOT Cc: to me or the | WWW: http://www.gbar.dtu.dk/~c948374/ |
| mailing list. I am on the list.| "ThrustMe" on XPilot, ARCnet and IRC |
| Encryption: Encoding technique used in Computer Manuals. |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:13 EST