On Tue, 2002-01-08 at 19:53, Nathan Scott wrote:
> On Tue, Jan 08, 2002 at 04:33:23PM -0800, Adam McKenna wrote:
> > This is an approx. 270 Gig RAID5 partition on an AMI Megaraid card on
> > 2.2.14-xfs (snapshot)..
> > I get the following error when trying to create the filesystem:
> > ...
> > File size limit exceeded
> [assuming 2.4.14] - sounds familiar, think it was a bug from Linus'
> kernel; using a more recent kernel version (2.4.16/17) should fix it.
I did post this to lkml and got this in response from Andrew Morton:
> > I've been experiencing random and occasional encounters with "File size
> > limit exceeded" errors under 2.4 kernels when trying to make
> > filesystems.
> I don't know if anyone has come forth to fix this yet.
> Apparently it's something to do with your shell setting
> rlimits, and block devices are (bogusly) honouring those
> The word is that if you log in as `root' at the login
> prompt, rather than using `su', the problem goes away.
It apparently *is* a kernel bug, with the basic problem being that for
some reason the kernel isn't recognizing ulimits if you 'su' to the root
user. (Although in my experience it will also pop up if you "ssh"
directly in as root.) If you log into the console as "root" and attempt
the "mkfs" you should bypass this bug. I've run into it numerous times
and I have been able to "mkfs" when logged in the console where I wasn't
able to if logged in remotely.
AFAIK, it's *not* fixed in recent kernels, as I've had the problem as
recently as 2.4.16+xfs. It seems to have popped in somewhere around
2.4.9 or 2.4.10 or so, as that's the first time I saw people complaining
about this problem on this list.
usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \
| extract_mpeg2 | mpeg2dec -