A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage & Hardrives
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

mkraid /dev/md0 results in /dev/md0: Invalid argument - Linux



 
 
Thread Tools Display Modes
  #1  
Old January 29th 04, 12:39 PM
itallushrt
external usenet poster
 
Posts: n/a
Default mkraid /dev/md0 results in /dev/md0: Invalid argument - Linux

Attempting to construct a RAID-1 using a Promise FastTrack TX2 100
controller and 2 x 60gig IDE drives. I am using the 2.4.24 kernel
drivers for the fasttrack controller.

Using Raidtools version 0.90.0

I have added this entry to lilo to properly initialize the drives:

append="mem=1024M ide2=0xc000,0xc402,10 ide3=0xc800,0xcc02,10"

dmesg shows this for the drives and controller:

Kernel command line: BOOT_IMAGE=Slackware ro root=302 mem=1024M
ide2=0xc000,0xc402,10 ide3=0xc800,0xcc02,10
ide_setup: ide2=0xc0

....

hde: WDC WD600BB-00CAA1, ATA DISK drive
hdg: WDC WD600BB-00CAA0, ATA DISK drive

....

hde: attached ide-disk driver.
hde: host protected area = 1
hde: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63
hdg: attached ide-disk driver.
hdg: host protected area = 1
hdg: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=116301/16/63

....

Drive 0 is 57241 Mb (33 / 0)
Drive 1 is 57241 Mb (34 / 0)
Raid1 array consists of 2 drives.
Promise Fasttrak(tm) Softwareraid driver for linux version 0.03beta

....


My /etc/raidtab is as follows:

raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hde
raid-disk 0
device /dev/hdg
raid-disk 1


However, when I attempt to create the RAID-1 device

I get this error:

/dev/md0: Invalid argument




The weird thing is this. Just out of curiosity I changed my raidtab
file to RAID-0 and tried to create the array. Everything worked
perfectly still using /dev/md0.


The onboard bios of the Promise card has the array created as RAID-1
which makes all this even more puzzeling.

Any and all help would be appreciated.

thanks,
itallushrt-AT-charter-DOT-net
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Over 100 Registry errors identified on new Dell Dick Dell Computers 9 December 5th 03 03:48 AM


All times are GMT +1. The time now is 12:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.