mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Max file size on ext3?
@ 2004-03-30 18:11 R. J. Wysocki
  2004-03-30 18:21 ` Matti Aarnio
  2004-03-30 18:40 ` Richard B. Johnson
  0 siblings, 2 replies; 3+ messages in thread
From: R. J. Wysocki @ 2004-03-30 18:11 UTC (permalink / raw)
  To: linux-kernel

Can you tell me, please, what the file size limit on ext3 is (should be, if 
any)?

-- 
Rafael J. Wysocki,
SiSK
[tel. (+48) 605 053 693]
----------------------------
For a successful technology, reality must take precedence over public 
relations, for nature cannot be fooled.
					-- Richard P. Feynman

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Max file size on ext3?
  2004-03-30 18:11 Max file size on ext3? R. J. Wysocki
@ 2004-03-30 18:21 ` Matti Aarnio
  2004-03-30 18:40 ` Richard B. Johnson
  1 sibling, 0 replies; 3+ messages in thread
From: Matti Aarnio @ 2004-03-30 18:21 UTC (permalink / raw)
  To: R. J. Wysocki; +Cc: linux-kernel

On Tue, Mar 30, 2004 at 08:11:51PM +0200, R. J. Wysocki wrote:
> Can you tell me, please, what the file size limit on ext3 is
> (should be, if any)?

  Same as with EXT2.

  In theory with 4k block size:
     (4096/4)^3 * 4096 = 4 000 GB = 4 TB
  (plus a bit more, but that is minor detail)

  Your application must use LFS extensions, e.g.
     open("filename", O_LARGEFILE, ..)

  and your  "ulimit -f"  must be "unlimited", otherwise
  you will encounter 2 GB limit of original ABI.

  Another limitation that may come and bite you, is
  underlying block device capabilities.  Prior to 2.6
  kernels any block device can not exceed 1 TB size.
  (Or 2 TB, depending...)

> -- 
> Rafael J. Wysocki,
> SiSK
> [tel. (+48) 605 053 693]

/Matti Aarnio

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Max file size on ext3?
  2004-03-30 18:11 Max file size on ext3? R. J. Wysocki
  2004-03-30 18:21 ` Matti Aarnio
@ 2004-03-30 18:40 ` Richard B. Johnson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard B. Johnson @ 2004-03-30 18:40 UTC (permalink / raw)
  To: R. J. Wysocki; +Cc: linux-kernel

On Tue, 30 Mar 2004, R. J. Wysocki wrote:

> Can you tell me, please, what the file size limit on ext3 is (should be, if
> any)?
>

Depends upon the block size.

Block size		file size
1 kb			16 GB
2 kb			256 GB
4 kb			2048 GB
8 kb			2048 GB

Linux 2.4 limits single block device sizes to 2 TB.

Extracted from some information by haversain-ga on google.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-30 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30 18:11 Max file size on ext3? R. J. Wysocki
2004-03-30 18:21 ` Matti Aarnio
2004-03-30 18:40 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®