Hi,

I have set up raid1 for my system. I have a seperate hard disk for
root and boot, and two hds attached to promise ultra 66 - /dev/hde and
/dev/hdg. Their partitions are fd (raid autodetect)

on issuing mkraid, I get

handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hde1, 13312120kB, raid superblock at 13312000kB
disk 1: /dev/hdg1, 13312120kB, raid superblock at 13312000kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

Unfortunately there is nothing in syslog. My /proc/mdstat is

Personalities : [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive

On startup, I get 

/dev/md0 invalid argument, /dev/md0 is not a RAID0 or LINEAR array.

I tried the following two raidtabs - both gave the same message. I've
attached my dmesg at the end.

Many thanks for any help
Dave

 Sample raid-1 configuration
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
nr-spare-disks          0
chunk-size              4

device                  /dev/hde1
raid-disk               0

device                  /dev/hdg1
raid-disk               1


***************

raiddev /dev/md0
          raid-level      1
          nr-raid-disks   2
          chunk-size     4
          persistent-superblock 1
          device          /dev/hde1
          raid-disk       0
          device          /dev/hdg1
          raid-disk       1 

raiddev /dev/md1
          raid-level      1
          nr-raid-disks   2
          chunk-size     4
          persistent-superblock 1
          device          /dev/hde2
          raid-disk       0
          device          /dev/hdg2
          raid-disk       1

Linux version 2.2.14 (root@aslinux1) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #1 SMP Sat Mar 18 13:41:28 GMT
2000
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009fc00 for 4096 bytes.
mapped APIC to ffffe000 (0023f000)
Detected 654606966 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 652.08 BogoMIPS
Memory: 128084k/131072k available (964k kernel code, 428k reserved,
1544k data, 52k init)
Dentry hash table entries: 16384 (order 5, 128k)
Buffer cache hash table entries: 131072 (order 7, 512k)
Page cache hash table entries: 32768 (order 5, 128k)
VFS: Diskquotas version dquot_6.4.0 initialized
L1 I Cache: 64K  L1 D Cache: 64K
L2 Cache: 512K
Checking 386/387 coupling... OK, FPU using exception 16 error
reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
L1 I Cache: 64K  L1 D Cache: 64K
L2 Cache: 512K
per-CPU timeslice cutoff: 100.09 usecs.
CPU0: AMD AMD Athlon(tm) Processor stepping 01
SMP motherboard not detected. Using dummy APIC emulation.
Setting commenced=1, go go go
PCI: PCI BIOS revision 2.10 entry at 0xfd9e1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:00
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
TCP: Hash tables configured (ehash 131072 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Uniform Multi-Platform E-IDE driver Revision: 6.30
VP_IDE: IDE controller on PCI bus 00 dev 21
VP_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
PDC20262: IDE controller on PCI bus 00 dev 70
PDC20262: not 100% native mode: will probe irqs later
PDC20262: ROM enabled at 0xeffd0000
PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI
Mode.
    ide2: BM-DMA at 0xcc00-0xcc07, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xcc08-0xcc0f, BIOS settings: hdg:pio, hdh:DMA
hda: Maxtor 91021U2, ATA DISK drive
hdb: CD-ROM 40X/AKU, ATAPI CDROM drive
hde: IBM-DPTA-372050, ATA DISK drive
hdg: IBM-DPTA-372050, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide2 at 0xdc00-0xdc07,0xd802 on irq 10
ide3 at 0xd400-0xd407,0xd002 on irq 10
hda: Maxtor 91021U2, 9770MB w/512kB Cache, CHS=1245/255/63
hde: IBM-DPTA-372050, 19574MB w/1961kB Cache, CHS=39770/16/63,
UDMA(66)
hdg: IBM-DPTA-372050, 19574MB w/1961kB Cache, CHS=39770/16/63,
UDMA(66)
hdb: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
raid1 personality registered
Partition check:
 hda: hda1 hda2 < hda5 hda6 >
 hde: hde1 hde2
 hdg: hdg1 hdg2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 52k freed
Adding Swap: 329292k swap-space (priority -1)

Reply via email to