Hi,
I have been trying to set up a Raid 1 mirror using Redhat 6.0 using
stock kernel and raidtools that are included on their CD. I have tried
to follow the Software How-To & read all the newsgroups etc. including
linux-raid archives. I am not a newbie to computers but I am to linux. I
can follow directions if they are correct, I have read in the newsgroups
or have been told by RedHat (using 30day phone support) many conflicting
directions.
I would like to use stock RH 6.0 kernel & raidtools as this is what I
purchased from them with Raid 0,1,5 support.
Has anyone been able to make this work, and if so how?
Here are the system specs. & files:
<----------------------------------------------->
Mainboard: SuperMicro P6DBU with onboard Adaptec 7890 Ultra II SCSI
controller
CPU: Two Intel PII-400's
Ram: 512 MB (four 128mb PC100 SDRAM)
Disk drives: Two 4.5 GB Ultra II SCSI 5.5ms Seagate cheetah's (Set to
run as UW's at 40 mb)
Network Card: 3COM 10/100MB
Video Card: S3 virge
<------------------------------------------------->
[root@linux /etc]# cat fstab
/dev/sda1 / ext2
defaults 1 1
/dev/fd0 /mnt/floppy ext2 noauto 0
0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
none /proc
procdefaults 0 0
none /dev/pts devpts mode=0622 0 0
<--------------------------------------------->
[root@linux /etc]# cat raidtab
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
<--------------------------------------------->
[root@linux /proc]# cat mdstat
Personalities :
read_ahead not set
unused devices: <none>
<--------------------------------------------------->
When I type (mkraid /dev/md0) I get the following error:
disk0: /dev/sda1, 307641 KB, raid superblock at 3076352KB
/dev/sda1 is mounted
mkraid aborted
<---------------------------------------------------->
[root@linux /]# /sbin/fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 383 3076416 fd Unknown
/dev/sda2 384 553 1365525 5 Extended
Disk /dev/sdb: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 383 3076416 fd Unknown
/dev/sdb2 384 553 1365525 fd Unknown
<--------------------------------------------------------------->
[root@linux log]# cat dmesg
Linux version 2.2.5-15smp ([EMAIL PROTECTED]) (gcc version
egcs-2.91.66 19990314
/Linux (egcs-1.1.2 release)) #1 SMP Mon Apr 19 22:43:28 EDT 1999
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: INTEL Product ID: 440BX APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 400916850 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 399.77 BogoMIPS
Memory: 63728k/66556k available (1044k kernel code, 416k reserved, 976k
data, 68k init)
VFS: Diskquotas version dquot_6.4.0 initialized
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.26 (19981001) Richard Gooch ([EMAIL PROTECTED])
per-CPU timeslice cutoff: 100.22 usecs.
CPU0: Intel Pentium II (Deschutes) stepping 03
calibrating APIC timer ...
..... CPU clock speed is 400.9187 MHz.
..... system bus clock speed is 100.2294 MHz.
Booting processor 1 eip 2000
Calibrating delay loop... 400.59 BogoMIPS
OK.
CPU1: Intel Pentium II (Deschutes) stepping 03
Total of 2 processors activated (800.36 BogoMIPS).
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC pin 0, 10, 11, 18, 20, 21, 22, 23 not connected.
number of MP IRQ sources: 18.
number of IO-APIC registers: 24.
testing the IO APIC.......................
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00170011
....... : max redirection entries: 0017
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 0 0 0 0 0 1 1 59
02 0FF 0F 0 0 0 0 0 1 1 51
03 000 00 0 0 0 0 0 1 1 61
04 000 00 0 0 0 0 0 1 1 69
05 000 00 0 0 0 0 0 1 1 71
06 000 00 0 0 0 0 0 1 1 79
07 000 00 0 0 0 0 0 1 1 81
08 000 00 0 0 0 0 0 1 1 89
09 000 00 0 0 0 0 0 1 1 91
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 000 00 0 0 0 0 0 1 1 99
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 0 0 0 0 0 1 1 A1
0f 000 00 0 0 0 0 0 1 1 A9
10 0FF 0F 1 1 0 1 0 1 1 B1
11 0FF 0F 1 1 0 1 0 1 1 B9
12 000 00 1 0 0 0 0 0 0 00
13 0FF 0F 1 1 0 1 0 1 1 B9
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ9 -> 9
IRQ10 -> 16
IRQ11 -> 17-> 19
IRQ12 -> 12
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
.................................... done.
PCI: PCI BIOS revision 2.10 entry at 0xfdb81
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O A1 device 00:3a
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
hdb: LEOPTICS INC. 32X CDROM, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdb: ATAPI 0X CD-ROM drive, 240kB Cache
Uniform CDROM driver Revision: 2.54
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: using high-speed MMX checksum routine
pII_mmx : 958.215 MB/sec
p5_mmx : 937.260 MB/sec
8regs : 691.515 MB/sec
32regs : 495.681 MB/sec
using fastest function: pII_mmx (958.215 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
RAMDISK: Compressed image found at block 0
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem).
(scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 14/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 374 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.15/3.2.4
<Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
scsi : 1 host.
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 15.
Vendor: SEAGATE Model: ST34502LW Rev: 0006
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 15.
Vendor: SEAGATE Model: ST34502LW Rev: 0006
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8888924 [4340 MB] [4.3
GB]
sda: sda1 sda2 < >
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 8888924 [4340 MB] [4.3
GB]
sdb: sdb1 sdb2
autodetecting RAID arrays
(read) sda1's sb offset: 3076352 [events: 1fac8ce5]
md: invalid raid superblock magic on sda1
md: sda1 has invalid sb, not importing!
could not import sda1!
(read) sdb1's sb offset: 3076352 [events: 1fac8ce5]
md: invalid raid superblock magic on sdb1
md: sdb1 has invalid sb, not importing!
could not import sdb1!
(read) sdb2's sb offset: 1365440 [events: 2eb96cb1]
md: invalid raid superblock magic on sdb2
md: sdb2 has invalid sb, not importing!
could not import sdb2!
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 68k freed
<-------------------------------------------------------------------->
Thanks in advance,
Ken Smith