friends,

first of all thanks for all the responses I get from u all to help me out
in past, and sorry for this question being a little long.  Because the conf.
files are small I am posting them otherwise i would have put them on my
yahoo briefcase.

:-(

These days I am fiddling with software Raid level 5 with / as well as /boot
partition on RAID device with lilo-21.4.4-14 using raidtools-0.90-23 on
RH7.2 with a system of 3 SCSI Hard disks on intel L440GX smp motherboard.

there are two  raid devices I am configuring, md0 (RAID5)and md1(RAID1 ) for
/ and /boot
respectively as I wanted the system to boot on RAID and probably lilo can
understand RAID1 but not RAID5

My procedure is as follows:
a) creating the raid devics as per the conf file below , with 3 partitions
sda1,sdb1,sdc1 with initial full installation on sda1 and that is why
initially sda1 is made failed-disk to remove it from the raid because it
already contains / filesystem and also because I have only 3 hard disks.Once
raid works I will include sda1 in it to bring redundancy in my RAID5 for /

b) created filesystems ext2 and reiserfs respectively on md1 and md0
respectively, copied all files in / directories on md0 and /boot dir on md1
( This step is also perfect i am pretty sure).

c) edited my /etc/fstab (shown below)

d) ran lilo -v after editing lilo.conf with a floppy in drive, lilo was
written.


When I try to boot the system on RAID with the floppy to test it before
installing lilo on hard disks, I get an error as follows(which occurs after
my hard disks partitions are  detected:
--------------------------
loading jbd module
loading ext3 module
mounting /proc filesystem
Creating root device
Mounting root filesystem
EXT3-fs: unable to read superblock
mount: error 22 mounting ext3
pivotroot: pivot_root (sysroot, /sysroot/initrd) failed: 2
freeing unused kernel memory: 240k freed
kernel panic: No init found. Try passing init=option to kernel.
--------------------------

MY QUESTION IS THAT WHEN I AM NOT MOUNTING ANY EXT3 FS, WHY IS THE KERNEL
GIVING EXT3-fs ERROR. ( MIGHT BE IT SEES REISERFS AS EXT3 fs),  WHY IS MY
SYSTEM NOT BOOTING ON RAID. ANY OTHER PARAMETER TO BE PASSED TO LILO.CONF?
( to tell u all of my raid partitons are set to tpye "fd" using fdisk so
that kernel autodetects them)
--------------------------
 My /etc/raidtab:
----------------------
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
parity-algorithm left-symmetric
chunk-size 32
device /dev/sdb1
raid-disk 1
device /dev/sdc1
raid-disk 2
device /dev/sda1
failed-disk 0

raiddev /dev/md1
raid-level 1
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 32
device /dev/sda3
raid-disk 0
device /dev/sdb3
raid-disk 1
---------------------------
---------------------------
my lilo.conf for floppy booting (to test before installing lilo on
harddisks):
---------------------------
boot=/dev/fd0
install=/boot/boot.b
message=/boot/message
map=/boot/map
lba32
prompt
delay=50
timeout=50
default=linux-raid
image=/boot/vmlinuz-2.4.7-10smp
label=linux-raid
#initrd=/boot/initrd-2.4.7-10smp.img
root=/dev/md0
read-only
----------------------------------
----------------------------------
My /etc/fstab:
---------------------------------
/dev/md0               /                       reiserfs    defaults        1
1
/dev/md1               /boot                   ext2    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/sdb2               swap                    swap    defaults        0 0
/dev/sdc2               swap                    swap    defaults        0 0
/dev/sda2               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0
0
=======================

Thanks for going through my idiotic mail

Regards,

Sagar Srivastava
CWLGobal,Bangalore




_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to