Date: Fri, 21 May 1999 13:03:09 +1000
From: Bob Smart <[EMAIL PROTECTED]>
I don't have RAID, but I got the error
"invalid argument passed to ext2 library while setting up superblock"
when running mkfs on the 3rd partition created on a 13 Gig disk.
This was using RH 6.0. It seemed to be using the ext2 tools 1.14.
Were you using mkfs or mke2fs? And what arguments were you giving it?
Also, since I'm not on linux-raid, please be aware that I'm clearly
missing some context about this thread; what sort of problems are people
having with mke2fs and RAID?
I went to the home web site http://web.mit.edu/tytso/www/linux/e2fsprogs.html
and found that this was the latest version. I thought I'd run gdb on it
to see what was happening. So I got the tar file and compiled it. When
I ran mke2fs it worked: no error!
Was this exactly the same way you invoked mkfs/mke2fs above?
So either mkfs does some mistaken checking before running mke2fs,
or there are different versions of 1.14 around (or ???). This may or
may not relate to the RAID problem, but you might like to get the
latest version.
RedHat sometimes does apply their own patches to their packages. What
you have to do is download their e2fsprogs SPRM, unpack it, and see if
they have included one or more patch files in the source RPM. They're
very good about keeping their patches separate from the "official"
source package, so it's pretty easy to determine this. I haven't had a
chance to check myself yet to see if this is the case, since I'm on the
road and don't have easy access to the RH 6.0 e2fsprogs RPM.
- Ted