Hi at linux-raid

Now, my linux system is up and running, I'd like to thank  Andrea
Arcangeli and Corin Hartland-Swann and Charles Wilkins for their
Contribution to this list. 

Corin for the good documatiation of what patches to include (remember
www.linuxraid.org, I was able to create this patched kernel and it
works!)
Andrea for putting together the other patch (wich I later took because
of a feature Corin did not include...)
And Charles for the Conclusion of linux booting from raid.

Remarks for Charles: 
1) your linux.conf only works if you have an untouched
master-boot-record wich
goes on to the first active partitition. If not, you need to setup a
second and third lilo.conf to create such a master-boot-record
2) I found out that running lilo.conf on a  degenrated raid-array with
boot=/dev/md?
leaves an error accessing the set-faulty disk but on the running
raid-array it works properly. (I set up in degenerated mode preserving
the old raid system in case of problems)
3) I used lilo version 21.6 and it worked for me

My production maschine setup (until yesterday it ran 2.0.36 with raid
0.36.something for 2 years without problems and the partititoning was
from the old days where I had a initrd, raid-stop-patch and 2 different
/boot, hairy thing, that...)

PII 400, ASUS Motherboard with on-board ide and aic7xxx scsi, Ethernet
and isdn
2 identical 4GB scsi disks , a scsi tape and a scsi zip.

linux-2.2.18 with the aa2-Patch from Andrea Arcangeli applied
suse-linux 7.0 with updates from web.

/dev/md1 on /
/dev/md0 on /boot
/dev/md2 on /home
/dev/md3 on /var


# fdisk -l /dev/sda
 
Disk /dev/sda: 255 heads, 63 sectors, 555 cylinders
Units = cylinders of 16065 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1         2     16033+  fd  Linux raid autodetect
/dev/sda2             3        11     72292+  82  Linux swap
/dev/sda3            12       555   4369680    5  Extended
/dev/sda5            12       273   2104483+  fd  Linux raid autodetect
/dev/sda6           274       486   1710890+  fd  Linux raid autodetect
/dev/sda7           487       555    554210+  fd  Linux raid autodetect

# fdisk -l /dev/sdb
 
Disk /dev/sdb: 255 heads, 63 sectors, 555 cylinders
Units = cylinders of 16065 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1         2     16033+  fd  Linux raid autodetect
/dev/sdb2             3        11     72292+  82  Linux swap
/dev/sdb3            12       555   4369680    5  Extended
/dev/sdb5            12       273   2104483+  fd  Linux raid autodetect
/dev/sdb6           274       486   1710891   fd  Linux raid autodetect
/dev/sdb7           487       555    554211   fd  Linux raid autodetect

# cat /proc/mdstat

Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] sda1[0] 15936 blocks [2/2] [UU]
md1 : active raid1 sdb5[1] sda5[0] 2104384 blocks [2/2] [UU]
md2 : active raid1 sdb6[1] sda6[0] 1710784 blocks [2/2] [UU]
md3 : active raid1 sdb7[1] sda7[0] 554112 blocks [2/2] [UU]
unused devices: <none>    

#cat /etc/raidtab

raiddev /dev/md1
    raid-level                1
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                4
 
    device                    /dev/sda5
    raid-disk                 0
#    failed-disk                      0
    device                    /dev/sdb5
    raid-disk                 1
 
#home
raiddev /dev/md2
    raid-level                1
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                4
 
    device                    /dev/sda6
    raid-disk                 0
#    failed-disk                      0
    device                    /dev/sdb6
    raid-disk                 1
 
#var
raiddev /dev/md3
    raid-level                1
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                4
 
    device                    /dev/sda7
    raid-disk                 0
#    failed-disk                      0
    device                    /dev/sdb7
    raid-disk                 1               

I used a little linux system on a zip booting the pre-compiled kernel
from disk to set up the system, then I created and mounted the md?
devices and installed to a directory.

I will give feedback to the list if problems appear with this patched
kernel.


bye for now 
        Ulf
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to