2003-01-20 20:34:05

by Justin Hibbits

[permalink] [raw]
Subject: LFS problems

For some reason, within the last 3 months, I've lost the ability to create
files, and format filesystems, larger than 4GB. I'm using kernel 2.4.18 with
the XFS patch. I'm trying to format a new filessytem, 120GB, as XFS, (also
tried as ext2), but get the error "Filesize limit exceeded". Is there
something I'm missing? I'm using the same exact kernel, and nothing else has
changed, except for some utilities. I was able to create a 120GB XFS
filesystem in October, so I'm kinda perplexed as to why it would suddenly just
decide that I can't format filesystems to be larger than 4GB anymore.

Any ideas?

Thanks in advance,
Justin Hibbits

--
Registered Linux user 260206



2003-01-20 21:55:24

by Justin Hibbits

[permalink] [raw]
Subject: Re: LFS problems

On Mon, Jan 20, 2003 at 01:53:58PM -0800, Andrew Morton wrote:
> I seem to recall that there was some silly bug wherein rlimits are applied to
> blockdevs. The workaround was to run mkfs from a new root login shell,
> rather than from `su root'. Because in the latter case, root inherited
> filesize limits.
>

Yeah, I tried that and it didn't work. Then I did a google search for the
error, and found that I have to set root's limits to unlimited, because for
some reason or another, they got messed up. Now everything is working, I just
have to run 'unlimit filesize' whenever I want to format a partition or
anything. Not sure what messed it up, but this is fine for now ;p

-Justin

--
Registered Linux user 260206