On Thu, Jan 07, 1999 at 12:06:34PM -0200, Carlos Carvalho mentioned:
> John P . Looney ([EMAIL PROTECTED]) wrote on 6 January 1999 13:41:
> >minbar# raidstart --configfile /etc/raid1.conf /dev/md01.conf /dev/md0
>
> Hm... You should list the real partitions to raidstart I think...
>
> # raidstart -c /etc/raid1.conf
> or
> # raidstart -c /etc/raid1.conf /dev/md0
# raidstart -c /etc/raid1.conf /dev/md0
/dev/md0: Invalid argument
The last few lines of an strace output are:
personality(0 /* PER_??? */) = 0
getpid() = 26206
brk(0) = 0x804dd30
brk(0x804de60) = 0x804de60
brk(0x804e000) = 0x804e000
open(ptrace: umoven: Input/output error 0xbffffcd8, O_RDONLY) = 3
open("/dev/md0", O_RDONLY) = 4
ioctl(4, 0x800c0910, 0x804dd24) = -1 EINVAL (Invalid argument)
close(4) = 0
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400b5000
read(3, "# My RAID1 config\n\n# From fdis"..., 4096) = 388
brk(0x804f000) = 0x804f000
read(3, "", 4096) = 0
stat("/dev/hda9", {st_mode=S_ISVTX|0411, st_size=0, ...}) = 0
open("/dev/md0", O_RDWR) = 4
ioctl(4, 0x931, 0x309) = -1 EINVAL (Invalid argument)
write(2, "/dev/md0: Invalid argument\n", 27) = 27
close(4) = 0
munmap(0x400b5000, 4096) = 0
_exit(1) = ?
So it looks like there is something very wrong here...what version of
raidtools should be used with a 2.2.preX kernel ? It looks like raidstart
is sending an ioctl with incorrect (old?) parameters...
Kate
Kate