Hello,
I am having trouble using Linux RAID on a Sun Ultra1 running
2.2.15. I have two identical SCSI disks, partitioned the same, and am
trying to set up a RAID-1 mirror between two slices. Both slices are
currently unused and unomunted. I have compiled all the various RAID
options into my kernel; they correctly appear in dmesg as registering
each personality. Here's the raidtab file:
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda5
raid-disk 0
device /dev/sdb5
raid-disk 1
The output from "mkraid /dev/md2" is:
mkraid /dev/md2
handling MD device /dev/md2
analyzing super-block
disk 0: /dev/sda5, 564680kB, raid superblock at 564608kB
disk 1: /dev/sdb5, 564680kB, raid superblock at 564608kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
Nothing new appears in the syslog, and the output of
/proc/mdstat remains constant with the following:
Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
I ran strace on the mkraid command, and found one interesting
error shortly before it quits. Here's an excerpt:
open("/dev/md2", O_RDONLY) = 4
ioctl(4, 0x80480923, 0x27b08) = -1 EINVAL (Invalid argument)
write(2, "mkraid: aborted, see the syslog "..., 70) = 70
close(3) = 0
I don't know what to make of this error; can anyone shine any
additional light on this problem? Thanks in advance.
--
Gustav http://users.dhp.com/~gustav/pgp.html
Key fingerprint = 84 88 E8 E1 1F 30 55 1E 8B D8 65 0E C2 09 46 E8
pub 1024/AB22EFB9 1999/09/01 Gustav <[EMAIL PROTECTED]>