[Top] [All Lists]

Re: Anyone know what this error means?

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Anyone know what this error means?
From: Derek Glidden <dglidden@xxxxxxxxxxxxxxx>
Date: 09 Jan 2002 12:33:57 -0500
Cc: Adam McKenna <adam-dated-1010968404.3db79f@xxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20020109115309.A3063@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20020109003323.GW4511@xxxxxxxxxxxx> <20020109115309.A3063@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
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
> settings.
> 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.

#!/usr/bin/perl -w

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \
    | extract_mpeg2 | mpeg2dec - 

http://www.eff.org/                   http://www.anti-dmca.org/

<Prev in Thread] Current Thread [Next in Thread>