Skip to contentSkip to conversation

LFS problems

DISCUSSION Justin Hibbits 1 participant 2 messages Jan 20, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Registered Linux user 260206

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · Andrew Morton

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

Signature · 1 line
Registered Linux user 260206