Skip to contentSkip to conversation

File size limit exceeded with mkfs

DISCUSSION Jason Tackaberry 5 participants 7 messages Nov 20, 2001 – Nov 21, 2001

lore
Share & tools
lore
#0 lore raw

Hi everyone. Please CC any responses to me as I'm not subscribed to this list.

I just installed a shiny new 80GB disk as primary slave and decided to upgrade to 2.4.14+ext3 patch. It appears that with this kernel, and also with 2.4.15-pre7, when trying to mkfs partitions greater than 2GB, I get "file size limit exceeded" and mkfs aborts. I can successfully mkfs partitions <= 2GB.

I do not have this problem with 2.4.7; all works well. Wondering if the difference was ext3, I tried compiling 2.4.15-pre7 without ext3 support and the same problem occured.

The disk is

hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63

on a dual PIII-800 (SMP kernel). Please let me know if I can supply additional information.

Cheers,
Jason.

Signature · 5 lines
Academic Computing Support Specialist         Assistant Section Editor
Algoma University College                     http://linux.com/develop
Sault Ste. Marie, Ontario                 
705-949-2301 x330                                   Personal Home Page
http://www.auc.ca                                     http://sault.org
#1 lore raw
Quoted 9 lines · Jason Tackaberry

I just installed a shiny new 80GB disk as primary slave and decided to upgrade to 2.4.14+ext3 patch. It appears that with this kernel, and also with 2.4.15-pre7, when trying to mkfs partitions greater than 2GB, I get "file size limit exceeded" and mkfs aborts. I can successfully mkfs partitions <= 2GB.

I do not have this problem with 2.4.7; all works well. Wondering if the difference was ext3, I tried compiling 2.4.15-pre7 without ext3 support and the same problem occured.

Several people have reported problems like this also. What happens is that if you are logged on as a user, then su to root, it will fail. If you log in directly as root, it will work.

I have looked through the 2.4.14 patch several times, but could not find anything that might have caused this (I don't have any problems with 2.4.13, but it may also have to do with my shell, glibc, or whatever).

Can you please try some intermediate kernels (2.4.10 would be a good start, because it had some major changes in this area, and then go forward and back depending whether it works or not).

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

#2 lore raw

Hi Andreas,

Quoted 3 lines · Andreas Dilger

Several people have reported problems like this also. What happens is that if you are logged on as a user, then su to root, it will fail. If you log in directly as root, it will work.

Yep, this is indeed the case.

Quoted 3 lines

Can you please try some intermediate kernels (2.4.10 would be a good start, because it had some major changes in this area, and then go forward and back depending whether it works or not).

2.4.10 does NOT work.
2.4.9 DOES work.

So clearly something happened in 2.4.10 which broke this. Please let me know if I can be of any more help.

Regards,
Jason.

#3 lore raw
In reply to Andreas Dilger
Quoted 7 lines · Andreas Dilger
Quoted 6 lines · Jason Tackaberry

I just installed a shiny new 80GB disk as primary slave and decided to upgrade to 2.4.14+ext3 patch. It appears that with this kernel, and also with 2.4.15-pre7, when trying to mkfs partitions greater than 2GB, I get "file size limit exceeded" and mkfs aborts. I can successfully mkfs partitions <= 2GB.

Quoted 7 lines
Quoted 3 lines

I do not have this problem with 2.4.7; all works well. Wondering if the difference was ext3, I tried compiling 2.4.15-pre7 without ext3 support and the same problem occured.

Several people have reported problems like this also. What happens is that if you are logged on as a user, then su to root, it will fail. If you log in directly as root, it will work.

This kind of differences (direct root login vs su) usualy are due to different environment variable settings.

Just US$0.02

Signature · 2 lines
Horst von Brand                             [email protected]
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616
#4 lore raw
In reply to Jason Tackaberry
Quoted 3 lines · Jason Tackaberry

Hi Andreas,

On Tue, 2001-11-20 at 13:33, Andreas Dilger wrote:

...

Quoted 6 lines
Quoted 3 lines

Can you please try some intermediate kernels (2.4.10 would be a good start, because it had some major changes in this area, and then go forward and back depending whether it works or not).

2.4.10 does NOT work.
2.4.9 DOES work.

And noting that mkfs and fsck operate on block DEVICE, no such
limits should be applied anyway. Right ?

Quoted 5 lines

So clearly something happened in 2.4.10 which broke this. Please let me know if I can be of any more help.

Regards,
Jason.

/Matti Aarnio

#5 lore raw
In reply to Jason Tackaberry
Quoted 11 lines · Jason Tackaberry
Quoted 3 lines · Andreas Dilger

Several people have reported problems like this also. What happens is that if you are logged on as a user, then su to root, it will fail. If you log in directly as root, it will work.

Yep, this is indeed the case.

Quoted 3 lines

Can you please try some intermediate kernels (2.4.10 would be a good start, because it had some major changes in this area, and then go forward and back depending whether it works or not).

Quoted 5 lines

2.4.10 does NOT work.
2.4.9 DOES work.

So clearly something happened in 2.4.10 which broke this. Please let me know if I can be of any more help.

That is unfortunate, since a lot of things changed in 2.4.10, so it will make tracking the change hard. Yet, I am running 2.4.13 and have no such problems (well, at least I think not). I don't have a spare partition > 2GB, but I can do the following without problems, which _should_ be the same thing:

dd if=/dev/vgtest/lv of=/dev/vgtest/lv bs=4k skip=1100k seek=1100k count=1

(i.e. it reads a block and writes a block from > 4GB offset in the file, and I can do this when logged in as a non-root user, which has write access to the disk, and also when su'd to root, just in case).

Can you try the above test, just to confirm that it is equivalent to your mkfs test?

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

#6 lore raw
Quoted 5 lines · Andreas Dilger

That is unfortunate, since a lot of things changed in 2.4.10, so it will make tracking the change hard. Yet, I am running 2.4.13 and have no such problems (well, at least I think not). I don't have a spare partition > 2GB, but I can do the following without problems, which _should_ be the same thing:

could it be glibc 2.1.3 specific? i _think_ thats what I saw when the first round of reports came in (2.2.x users reported no problems).

--

=====================================================================
Mohammad A. Haque http://www.haque.net/
[email protected]

"Alcohol and calculus don't mix. Developer/Project Lead
Don't drink and derive." --Unknown http://www.themes.org/
[email protected]
=====================================================================