Re: File size limit exceeded with mkfs

Andreas Dilger (adilger@turbolabs.com)
Tue, 20 Nov 2001 16:35:23 -0700


On Nov 20, 2001 15:29 -0500, Jason Tackaberry wrote:
> On Tue, 2001-11-20 at 13:33, Andreas Dilger wrote:
> > 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.
>
> > 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.

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/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/