You are not logged in.

#1 2004-08-19 08:22:11

ErrieR
Member
Registered: 2004-08-19
Posts: 7

udev and software-raid-0 root partition

Upgraded to kernel 2.6.8.1 and switched from devfs to udev. Got a kernel panic because no root partition was found. I'm using 2 discs for software raid 0. The kernel is located on /dev/hdb7 (non raid).

devfs is still compiled in, and when booting with devfs everything works ok (this means: autodetection is in the kernel and autodetection of the raid devices and creation of /dev/md/0 and /dev/md/1 works). But not with udev.

I couldn't find anything helpful on this subject at Google or this forum.
Anyone can help me out? Thanks in advance.

raiddtab:
raiddev /dev/md0
    raid-level                0
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                32

    device                    /dev/hdb1
    raid-disk                 0
    device                    /dev/hdd1
    raid-disk                 1

raiddev /dev/md1
    raid-level                0
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                32

    device                    /dev/hdb5
    raid-disk                 0
    device                    /dev/hdd5
    raid-disk                 1


mounts (using devfs):
/dev/md/0 on / type ext3 (rw)
/dev/ide/host0/bus0/target1/lun0/part7 on /boot type ext3 (rw)
/dev/md/1 on /home type ext3 (rw)

Offline

#2 2004-08-19 16:06:05

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: udev and software-raid-0 root partition

Talk to ree on the archlinux irc channel.  He was complaining about udev not working perfectly when you have multiple raid partitions.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB