2001-07-16 02:20:30

by Aaron Smith

[permalink] [raw]
Subject: "oversized" files

I'm really not sure if this is pertinent to Linux Kernel, but I'm asking here anyway, 0 in advance if it's not.

I have a file that is approximately 3.25GB and my system keeps bitching about "Value too large for defined data type." Is there any way to stop this? Since I'm sure you're wondering why I have a file that large, I'm using it via loopback as my MP3 partition, so I can remove it fairly quick if the need should ever arise.
--
-Aaron

Don't hate yourself in the morning, sleep till noon


2001-07-16 02:37:25

by Vladimir Dergachev

[permalink] [raw]
Subject: Re: "oversized" files



On Sun, 15 Jul 2001, Aaron Smith wrote:

> I'm really not sure if this is pertinent to Linux Kernel, but I'm asking here anyway, 0 in advance if it's not.
>
> I have a file that is approximately 3.25GB and my system keeps bitching about "Value too large for defined data type." Is there any way to stop this? Since I'm sure you're wondering why I have a file that large, I'm using it via loopback as my MP3 partition, so I can remove it fairly quick if the need should ever arise.

As was explained to me (just today ;) ) this is an issue of 32bit versus
64bit file sizes (and not filesystem returning junk values as I thought),
so to get this working you need a version of fileutils and C library that
supports this.

I still don't know how to upgrade by compiling the source code, but
installation of latest (8.0) Slackware packages for C library and
fileutils fixed things for me. Be careful while upgrading your C library -
things might break.

Vladimir Dergachev

> --
> -Aaron
>
> Don't hate yourself in the morning, sleep till noon
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


2001-07-16 02:52:08

by Ignacio Vazquez-Abrams

[permalink] [raw]
Subject: Re: "oversized" files

On Sun, 15 Jul 2001 [email protected] wrote:

> On Sun, 15 Jul 2001, Aaron Smith wrote:
>
> > I'm really not sure if this is pertinent to Linux Kernel, but I'm asking here anyway, 0 in advance if it's not.
> >
> > I have a file that is approximately 3.25GB and my system keeps bitching about "Value too large for defined data type." Is there any way to stop this? Since I'm sure you're wondering why I have a file that large, I'm using it via loopback as my MP3 partition, so I can remove it fairly quick if the need should ever arise.
>
> As was explained to me (just today ;) ) this is an issue of 32bit versus
> 64bit file sizes (and not filesystem returning junk values as I thought),
> so to get this working you need a version of fileutils and C library that
> supports this.
>
> I still don't know how to upgrade by compiling the source code, but
> installation of latest (8.0) Slackware packages for C library and
> fileutils fixed things for me. Be careful while upgrading your C library -
> things might break.
>
> Vladimir Dergachev
> > --
> > -Aaron

Actually, in this case it will probably require losetup to be rebuilt.

And as always, the kernel will require LFS support as well.

--
Ignacio Vazquez-Abrams <[email protected]>


2001-07-16 11:14:33

by Alan

[permalink] [raw]
Subject: Re: "oversized" files

> I have a file that is approximately 3.25GB and my system keeps bitching about "Value too large for defined data type." Is there any way to stop this? Since I'm sure you're wondering why I have a file that large, I'm using it via loopback as my MP3 partition, so I can remove it fairly quick if the need should ever arise.

You need a 2.4 kernel and you need to be using NFSv3 to handle files >2Gb

2001-07-29 08:18:32

by Rogier Wolff

[permalink] [raw]
Subject: Re: "oversized" files

Alan Cox wrote:

> > I have a file that is approximately 3.25GB and my system keeps
> > bitching about "Value too large for defined data type." Is there
> > any way to stop this? Since I'm sure you're wondering why I have a
> > file that large, I'm using it via loopback as my MP3 partition, so I
> > can remove it fairly quick if the need should ever arise.

> You need a 2.4 kernel and you need to be using NFSv3 to handle files >2Gb

But the error message he posted is mostly from local apps. You need
a set of apps compiled with recent GLIBC to be able to handle files
bigger than 2G.

Roger.

--
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots.
* There are also old, bald pilots.