open("/dev/md0", O_RDONLY) = 9
ioctl(9, 0x800c0910, 0x804fab8) = -1 EINVAL (Invalid argument)
And the following error;
write(2, "mkraid: aborted, see the syslog "..., 70) = 70
Which essentially tols us to look at syslog and the /proc/mdstat file,
which had nothing in it.
Finally, in a fit of rage, I rebooted into the stock RedHat 6.1 kernel and
issued the same commands. Presto! It all worked like it was supposed to, I
was able to format the raid and add it to the /etc/fstab. No problems! So
I've been running the stock kernel ever since...
On further investigation, it seems that Redhat applies some patches to the
kernel that look like they came out of a 2.2.13 pre release kernel.
Specifically, they include a patch in their SRPM called
"raid-2.2.13-B0.gz".
Anyone have any comments or clues? Is 2.2.12 md drive just broken?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/