Hello again,

got a problem again.... (Kernel 2.0.36 with the raid0145-19990128-2.0.36,
raidtools 0.9):
What happened so far:
Installed Linux on sda1-6, patched the Kernel, installed RAID Tools,
realized that RAID has to be set up from a different disk, therefore
attached an old DIE disk, moved installation there, booted from floppy,
erased sda and sdb with fdisk, booted again (must be an old Windows habit),
used fdisk again and created two identical setups (see output).

First problem: verifying partition table gets me a message partition 3 is
overlapping partition 4.

Wrote partition table anyway and rebooted.

During bootup got the follwing lines:
...
autodet. RAID array
(read) sda2 sb offset: 1566272 [events: 3 ade1754]
md: invalid raid superblock magic on sda2
md: sda2 has invalid sb, not importing!
could not import sda2!
(read) sda3's sb offset.....

<here follows same msg for remaining partitions, just different numbers
after offset:>

did
mkraid /dev/md0

and got

bash-2.02# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sda2, 1566337kB, raid superblock at 1566272kB
disk 1: /dev/sdb2, 1566337kB, raid superblock at 1566272kB
mkraid: aborted
bash-2.02#

here are the partition tables. I am just wondering what the + behind Blocks
sda1 and sda2 mean:

Disk /dev/sda: 255 heads, 63 sectors, 1111 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/sda1             1        2    16033+  83  Linux native
/dev/sda2   *         3      197  1566337+  fd  Unknown
/dev/sda3           198     1095  7213185   fd  Unknown
/dev/sda4          1096     1111   128520   82  Linux swap

Disk /dev/sdb: 255 heads, 63 sectors, 1111 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/sdb1             1        2    16033+  83  Linux native
/dev/sdb2   *         3      197  1566337+  fd  Unknown
/dev/sdb3           198     1095  7213185   fd  Unknown
/dev/sdb4          1096     1111   128520   82  Linux swap

Last not least this is the /etc/raidtab file:

# Raid-1 configuration File
# Setup root RAid
raiddev                 /dev/md0
raid-level                      1
nr-raid-disks           2
nr-spare-disks          0
chunk-size                      8

device                  /dev/sda2
raid-disk                       0

device                  /dev/sdb2
raid-disk                       1

#Setup Homes RAID
raiddev                 /dev/md1
raid-level                      1
nr-raid-disks           2
nr-spare-disks          0
chunk-size                      8

device                  /dev/sda3
raid-disk                       0

device                  /dev/sdb3
raid-disk                       1

I played around witht the chunk-size option but always got the same
results...

Please help.... I want to get this behind me....

Thanks Till






Reply via email to