LILO and LVM with ATA-RAID?
Posted on 2001-08-21
I have an ASUS A7V133 motherboard with a Promise PDC 20265 ATA100 RAID controller on it. Connected to it are 2 IBM IC35L040 Harddisks (40 GB each) in RAID0 Stripe Mode.
After some fiddling, everything works fine with Win98 and Win2k, even to boot from the RAID. But I also need to run Linux :). I've installed SuSE 7.2 and made my own kernel from the 2.4.8-ac4 sources, as my old one (2.4.4) oops'd at boot when it saw the Promise in RAID mode. The new kernel works fine, it finds the RAID controller, sees the two disks on it and I even figured out to use devices with block-major 114 to access the RAID.
Now to my probs:
If possible, I would like to only have these two disks in my system, but I can't get LILO to write a boot sector to the RAID. It just says "Don't know how to handle device 0x7202" (i. e. major 114/minor 2). Do you have any idea how to get LILO to write a boot sector to an ATA-RAID or maybe another boot manager that does the job instead of LILO?
OK, at the moment I have an additional harddisk as normal primary master IDE to boot from. If that's my fate it has to remain in the system.
The second wish I have is to set up the LVM on the RAID, but there are similar problems with that: `pvcreate /dev/ataraid/hda10` just says: 'pvcreate -- invalid physical volume name "/dev/ataraid/hda10"'. Does anyone know what to do here or is it just impossible what I want?