* file size > 2 GB
@ 2001-11-08 7:45 Dirk Wollherr
2001-11-08 9:06 ` Jacob Sparre Andersen
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Dirk Wollherr @ 2001-11-08 7:45 UTC (permalink / raw)
Hello,
I'm running into some confusion about maximum file size under Linux: so
far my understanding is that Linux (ext2) supports file sizes > 2GB, but
only on 64 bit architechture. Is that correct so far?
We are running a bunch of diskless clients booting over the network via
bootp. The idea is to replace the Athlon file server by an Alpha server
which should support large files due to it's 64 bit architecture. NFS3
also claims to support large files. But will the (Athlon-) clients be
able to handle these large files provided over NFS without recompiling
tools like cp, cat, ...? What about Samba - any problems with large
files there?
Thanks for your help,
Dirk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 7:45 file size > 2 GB Dirk Wollherr
@ 2001-11-08 9:06 ` Jacob Sparre Andersen
2001-11-08 11:21 ` Moritz Franosch
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Jacob Sparre Andersen @ 2001-11-08 9:06 UTC (permalink / raw)
Dirk:
> I'm running into some confusion about maximum file size under Linux: so
> far my understanding is that Linux (ext2) supports file sizes > 2GB, but
> only on 64 bit architechture. Is that correct so far?
AFAIK, Linux supports file sizes above 2 Gb even for 32 bit
architectures, but you have to use some kind of "large
files" API to exploit it.
Jacob
--
"Unix, Perl og Ole har man for at slippe for at g�re
arbejdet selv."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 7:45 file size > 2 GB Dirk Wollherr
2001-11-08 9:06 ` Jacob Sparre Andersen
@ 2001-11-08 11:21 ` Moritz Franosch
2001-11-08 13:22 ` Erik Saarts
2001-11-12 23:20 ` Michele Bariani
3 siblings, 0 replies; 11+ messages in thread
From: Moritz Franosch @ 2001-11-08 11:21 UTC (permalink / raw)
Dirk Wollherr <dirk.wollherr@tu-berlin.de> writes:
> I'm running into some confusion about maximum file size under Linux:
> so far my understanding is that Linux (ext2) supports file sizes >
> 2GB, but
See
http://www.suse.de/~aj/linux_lfs.html
> NFS3 also claims to support large files. But will the (Athlon-)
> clients be able to handle these large files provided over NFS
> without recompiling tools like cp, cat, ...? What about Samba - any
> problems with large files there?
Recent Linux distributions for Intel 32 Bit should all support large
files. I'd just try it out.
Moritz
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 7:45 file size > 2 GB Dirk Wollherr
2001-11-08 9:06 ` Jacob Sparre Andersen
2001-11-08 11:21 ` Moritz Franosch
@ 2001-11-08 13:22 ` Erik Saarts
2001-11-08 21:46 ` Falk Hueffner
2001-11-12 23:20 ` Michele Bariani
3 siblings, 1 reply; 11+ messages in thread
From: Erik Saarts @ 2001-11-08 13:22 UTC (permalink / raw)
Dirk Wollherr wrote:
> Hello,
>
> I'm running into some confusion about maximum file size under Linux: so
> far my understanding is that Linux (ext2) supports file sizes > 2GB, but
> only on 64 bit architechture. Is that correct so far?
>
> We are running a bunch of diskless clients booting over the network via
> bootp. The idea is to replace the Athlon file server by an Alpha server
> which should support large files due to it's 64 bit architecture. NFS3
> also claims to support large files. But will the (Athlon-) clients be
> able to handle these large files provided over NFS without recompiling
> tools like cp, cat, ...? What about Samba - any problems with large
> files there?
>
> Thanks for your help,
>
> Dirk
>
Thats filesystem issue (limitation of ext2 filesystem). Installing new
filesystem ext3/reiserfs/(some others prolly) is enough i guess.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 13:22 ` Erik Saarts
@ 2001-11-08 21:46 ` Falk Hueffner
2001-11-08 23:04 ` Marijan Peh
2001-11-08 23:39 ` Erik Saarts
0 siblings, 2 replies; 11+ messages in thread
From: Falk Hueffner @ 2001-11-08 21:46 UTC (permalink / raw)
Erik Saarts <erik@ut.ee> writes:
> > bootp. The idea is to replace the Athlon file server by an Alpha
> > server which should support large files due to it's 64 bit
> > architecture. NFS3 also claims to support large files. But will
> > the (Athlon-) clients be able to handle these large files provided
> > over NFS without recompiling tools like cp, cat, ...? What about
> > Samba - any problems with large files there? Thanks for your
> > help,
>
> Thats filesystem issue (limitation of ext2 filesystem).
Not really. The file size limit for ext2 with 4k blocks (as it is
commonly used nowadays) is 2 TB. The question is mainly whether you
have a glibc supporting 64 bit file offsets, and if all the utils and
applications were compiled with appropriate flags. This depends on
your distribution. See e. g. http://www.suse.de/~aj/linux_lfs.html.
Falk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 21:46 ` Falk Hueffner
@ 2001-11-08 23:04 ` Marijan Peh
2001-11-10 20:37 ` Nicolas Barbier
2001-11-08 23:39 ` Erik Saarts
1 sibling, 1 reply; 11+ messages in thread
From: Marijan Peh @ 2001-11-08 23:04 UTC (permalink / raw)
On 08 Nov 2001 22:46:59 +0100, Falk Hueffner wrote:
>Erik Saarts <erik@ut.ee> writes:
>
>> > bootp. The idea is to replace the Athlon file server by an Alpha
>> > server which should support large files due to it's 64 bit
>> > architecture. NFS3 also claims to support large files. But will
>> > the (Athlon-) clients be able to handle these large files provided
>> > over NFS without recompiling tools like cp, cat, ...? What about
>> > Samba - any problems with large files there? Thanks for your
>> > help,
>>
>> Thats filesystem issue (limitation of ext2 filesystem).
>
>Not really. The file size limit for ext2 with 4k blocks (as it is
>commonly used nowadays) is 2 TB. The question is mainly whether you
>have a glibc supporting 64 bit file offsets, and if all the utils and
>applications were compiled with appropriate flags. This depends on
>your distribution. See e. g. http://www.suse.de/~aj/linux_lfs.html.
http://www.theregister.co.uk/content/54/22693.html
--
You came out of nowhere with drums of thunder and a heart of gold.
Welcome to the inner circle.
You're the king of the digital hill.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 21:46 ` Falk Hueffner
2001-11-08 23:04 ` Marijan Peh
@ 2001-11-08 23:39 ` Erik Saarts
2001-11-11 8:10 ` Juergen Pfann
1 sibling, 1 reply; 11+ messages in thread
From: Erik Saarts @ 2001-11-08 23:39 UTC (permalink / raw)
Falk Hueffner wrote:
> Erik Saarts <erik@ut.ee> writes:
>
>
>>>bootp. The idea is to replace the Athlon file server by an Alpha
>>>server which should support large files due to it's 64 bit
>>>architecture. NFS3 also claims to support large files. But will
>>>the (Athlon-) clients be able to handle these large files provided
>>>over NFS without recompiling tools like cp, cat, ...? What about
>>>Samba - any problems with large files there? Thanks for your
>>>help,
>>>
>>Thats filesystem issue (limitation of ext2 filesystem).
>>
>
> Not really. The file size limit for ext2 with 4k blocks (as it is
> commonly used nowadays) is 2 TB. The question is mainly whether you
> have a glibc supporting 64 bit file offsets, and if all the utils and
> applications were compiled with appropriate flags. This depends on
> your distribution. See e. g. http://www.suse.de/~aj/linux_lfs.html.
>
> Falk
>
>
Indeed i was wrong, thanks for the link. Even created 3GB test file on
ext2 filesystem to convince myself :P
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 23:04 ` Marijan Peh
@ 2001-11-10 20:37 ` Nicolas Barbier
2001-11-11 22:04 ` Marijan Peh
0 siblings, 1 reply; 11+ messages in thread
From: Nicolas Barbier @ 2001-11-10 20:37 UTC (permalink / raw)
"Marijan Peh" wrote
> http://www.theregister.co.uk/content/54/22693.html
is _not_ about filesize (although the title says so), but about the size of
block device special files (eg partitions)
afaik there has never been a 2 GB restriction on these
Nicolas Barbier
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 23:39 ` Erik Saarts
@ 2001-11-11 8:10 ` Juergen Pfann
0 siblings, 0 replies; 11+ messages in thread
From: Juergen Pfann @ 2001-11-11 8:10 UTC (permalink / raw)
Erik Saarts wrote:
>
> Indeed i was wrong, thanks for the link. Even created 3GB test file on
> ext2 filesystem to convince myself :P
Also tested this recently, with a 3 GB file as well, on
SuSE 7.3.
The shell, ls, and so on, coped fine with the situation,
but "midnight commander" complained "file cannot be
stat-ed".
There might still be one or more app left in
your distro, too, that doesn't support large files....
Juergen
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-10 20:37 ` Nicolas Barbier
@ 2001-11-11 22:04 ` Marijan Peh
0 siblings, 0 replies; 11+ messages in thread
From: Marijan Peh @ 2001-11-11 22:04 UTC (permalink / raw)
On Sat, 10 Nov 2001 21:37:27 +0100, Nicolas Barbier wrote:
> "Marijan Peh" wrote
>
>> http://www.theregister.co.uk/content/54/22693.html
>
> is _not_ about filesize (although the title says so), but about the size of
> block device special files (eg partitions)
> afaik there has never been a 2 GB restriction on these
Hmm, sorry, i was just looking the title not the content :)
--
You came out of nowhere with drums of thunder and a heart of gold.
Welcome to the inner circle.
You're the king of the digital hill.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: file size > 2 GB
2001-11-08 7:45 file size > 2 GB Dirk Wollherr
` (2 preceding siblings ...)
2001-11-08 13:22 ` Erik Saarts
@ 2001-11-12 23:20 ` Michele Bariani
3 siblings, 0 replies; 11+ messages in thread
From: Michele Bariani @ 2001-11-12 23:20 UTC (permalink / raw)
Dirk Wollherr wrote:
> Hello,
>
> I'm running into some confusion about maximum file size under Linux: so
> far my understanding is that Linux (ext2) supports file sizes > 2GB, but
> only on 64 bit architechture. Is that correct so far?
No, the 2 Gb limit is a kernel one. Kernel 2.2.x and older have this
limitation, that has disappeared in the 2.4.x versions.
Michele
--
Michele Bariani
michele@ferrara.linux.it
http://members.ferrara.linux.it/michele
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2001-11-12 23:20 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-08 7:45 file size > 2 GB Dirk Wollherr
2001-11-08 9:06 ` Jacob Sparre Andersen
2001-11-08 11:21 ` Moritz Franosch
2001-11-08 13:22 ` Erik Saarts
2001-11-08 21:46 ` Falk Hueffner
2001-11-08 23:04 ` Marijan Peh
2001-11-10 20:37 ` Nicolas Barbier
2001-11-11 22:04 ` Marijan Peh
2001-11-08 23:39 ` Erik Saarts
2001-11-11 8:10 ` Juergen Pfann
2001-11-12 23:20 ` Michele Bariani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox