You are not logged in.
I have 3 disks, each partitioned as:
1 - 100MB for /boot, ext3,
2 - 8000MB swap,
3 - rest for /, ext4
mdadm --create /dev/md0 --level=5 /dev/sd{a,b,c}3 (root raid 5)
mdadm --create /dev/md2 --level=0 /dev/sd{a,b,c}2 (swap raid 0)
I was planning to use raid1 on md1 for sd{a,b,c}1 for boot as I understand it's supported, but couldn't get it to work at all.
So I decided I will skip this part for now and check back later.
So now I have / on /dev/md0 and /boot on /dev/sda1.
My kernel line from /boot/grub/menu.lst looks like:
(ofcourse I have rebuilt the kernel image since then)
kernel /vmlinuz26 md=0,/dev/sda3,/dev/sdb3,/dev/sdc3 rootfstype=ext4 root=/dev/md0 ro
What I have edited in mkinitcpio.conf is:
MODULES="raid0 raid1 raid456"
HOOKS="base raid udev autodetect pata scsi sata filesystems"
I reboot, grub starts, kernel loads, then I get:
Waiting 0 s before mounting root device...
md: Will configure md0 (super-block) from /dev/sda3,/dev/sdb3,/dev/sdc3, below.
EXT4-fs: unable to read superblock
kinit: Unable to mount root fs on device md0(9,0)
kinit: init not found!
Kernel panic - not syncing: Attempted to kill init!
However, I have rebooted to the arch live cd, and I can assemble the array and mount the volume, here is how I mount it:
mdadm --assemble /dev/md0 /dev/sd{a,b,c}3
mount -t ext4 /dev/md0 /mnt
Does anyone have any idea why this is not working?
Are there any other weird kernel params that I'm missing? (like rootfstype)
(btw, if I remove rootfstype I get the exact same thing without the EXT4-fs... line)
Last edited by Frantic (2009-03-03 17:54:34)
Offline
In HOOKS="base raid udev autodetect pata scsi sata filesystems", move raid between sata and filesystems
Offline
THANK YOU!!
[solved]
Offline