public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [SoftwareRAID in 2.4.1] md_import_device() returned -22
@ 2001-02-04  0:08 Art Boulatov
  0 siblings, 0 replies; only message in thread
From: Art Boulatov @ 2001-02-04  0:08 UTC (permalink / raw)
  To: linux-kernel

Hi,

Could anybody please help me to resolve why this error is returned?
(md_import_device() returned -22)

I'm trying to setup software RAID0
on Asus CUR-DLS (dual channel ULTRA2 SCSI - sym53c896).

kernel is pure 2.4.1(SMP),
with devfs, sym53c8xx and raid0 support linked in.

raidtools are 19990824-0.90 from kernel.org.

Here is /etc/raidtab:
-----
raiddev         /dev/md/0

raid-level      0

persistent-superblock   1

chunk-size      16

nr-raid-disks   2

device  /dev/scsi/host0/bus0/target0/lun0/part1
raid-disk       0

device  /dev/scsi/host0/bus0/target1/lun0/part1
raid-disk       1

#same bus because I have only one cable right now :)

---------

And here is what I got with "mkraid /dev/md/0":
---------
handling MD device /dev/md/0
analyzing super-block
disk 0: /dev/scsi/host0/bus0/target0/lun0/part1, 17921008kB, raid 
superblock at 17920896kB
disk 1: /dev/scsi/host0/bus0/target1/lun0/part1, 17921008kB, raid 
superblock at 17920896kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
----------

And syslog says:
--------
modprobe: modprobe: Can't locate module block-major-8
kernel: md: could not lock scsi/host0/bus0/target0/lun0/part1, 
zero-size? Marking faulty.
kernel: md: error, md_import_device() returned -22
-----------

Is that "modprobe" line causing problem?
But I have compiled scsi driver in...

Or is that a devfs issue or am I doing anything wrong?

I would really be glad to get some pointers to the answer,
since I can't figure that out myself.

Thanks a lot,
Art.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-04  0:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-04  0:08 [SoftwareRAID in 2.4.1] md_import_device() returned -22 Art Boulatov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox