* Files >2Gb on Linux/alpha?
@ 1999-11-05 5:00 Serguei Patchkovskii
1999-11-05 5:00 ` Christian Weisgerber
1999-11-11 5:00 ` Richard Simpson
0 siblings, 2 replies; 5+ messages in thread
From: Serguei Patchkovskii @ 1999-11-05 5:00 UTC (permalink / raw)
Is it possible to have files larger than 2Gb on a *local* file system on
Linux/alpha? From looking at the ext2fs kernel include files (for, admittedly,
a fairly old 2.0.36 kernel), it looks like ext2fs uses 32-bit file length
field in ext2fs inode, and so is limited to 2^31 bytes, or 2Gb. The _llseek
manual page says the same thing, and trying to dd or cat a 2Gb+1byte file to
a local ext2fs file system fails with EFBIG ...
So, is this true, and there is no possibility to have a file >2Gb on a
Linux/alpha system? Or had this changed in some later kernel version?
Thanks for your time,
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Files >2Gb on Linux/alpha?
1999-11-05 5:00 Files >2Gb on Linux/alpha? Serguei Patchkovskii
@ 1999-11-05 5:00 ` Christian Weisgerber
1999-11-05 5:00 ` Serguei Patchkovskii
1999-11-11 5:00 ` Richard Simpson
1 sibling, 1 reply; 5+ messages in thread
From: Christian Weisgerber @ 1999-11-05 5:00 UTC (permalink / raw)
Serguei Patchkovskii <patchkov@acs1.acs.ucalgary.ca> wrote:
> Is it possible to have files larger than 2Gb on a *local* file system on
> Linux/alpha?
Yes.
> and trying to dd or cat a 2Gb+1byte file to a local ext2fs file
> system fails with EFBIG ...
I don't have the disk space, but using dd(1) to create a >2GB sparse
file works fine here.
--
Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Files >2Gb on Linux/alpha?
1999-11-05 5:00 Files >2Gb on Linux/alpha? Serguei Patchkovskii
1999-11-05 5:00 ` Christian Weisgerber
@ 1999-11-11 5:00 ` Richard Simpson
1 sibling, 0 replies; 5+ messages in thread
From: Richard Simpson @ 1999-11-11 5:00 UTC (permalink / raw)
Serguei Patchkovskii <patchkov@acs1.acs.ucalgary.ca> wrote:
: Is it possible to have files larger than 2Gb on a *local* file system on
: Linux/alpha? From looking at the ext2fs kernel include files (for, admittedly,
: a fairly old 2.0.36 kernel)
Alpha Linux has supported large files since about 2.1.97 and this feature
works on all 2.2.x kernels. You don't need to do anything special. I use
it all the time and it just works.
--
----------------------------------------------------------------------------
Richard Simpson
Farnborough, Hants, Uk Fax: 01252 392118
rsimpson@ewrcsdra.Cut_This_Out.demon.co.uk
I am not aware of any views shared by myself and my employers.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-11-11 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-05 5:00 Files >2Gb on Linux/alpha? Serguei Patchkovskii
1999-11-05 5:00 ` Christian Weisgerber
1999-11-05 5:00 ` Serguei Patchkovskii
1999-11-06 5:00 ` Christian Weisgerber
1999-11-11 5:00 ` Richard Simpson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox