The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "lk" <linux_kernel@patni.com>
To: "Iwan Sanders" <iwan.sanders@tuxproject.info>,
	<linux-kernel@vger.kernel.org>
Subject: Re: File and partition sizes
Date: Thu, 28 Apr 2005 04:40:06 -0700	[thread overview]
Message-ID: <002001c54be7$0661abc0$5e91a8c0@patni.com> (raw)
In-Reply-To: 4270A7F3.3020707@tuxproject.info

the table which shows the size limits depending upon the files system...

___________________________________________________________
File System     File Size [Byte]   File System Size [Byte]
____________________________________________________________
Ext2 or Ext3 (1 kB block size)   2^34 (16 GB)   2^41 (2 TB)
Ext2 or Ext3 (2 kB block size)   2^38 (256 GB)   2^43 (8 TB)
Ext2 or Ext3 (4 kB block size)   2^41 (2 TB)   2^44 (16 TB)
Ext2 or Ext3 (8 kB block size)   2^46 (64 TB)   2^45 (32 TB)
ReiserFS 3.5     2^32 (4 GB)   2^44 (16 TB)
ReiserFS 3.6 (under Linux 2.4)    2^60 (1 EB)   2^44 (16 TB)
XFS      2^63 (8 EB)   2^63 (8 EB)
JFS (512 Bytes block size)   2^63 (8 EB)   2^49 (512 TB)
JFS (4 kB block size)    2^63 (8 EB)   2^52 (4 PB)
NFSv2 (client side)    2^31 (2 GB)   2^63 (8 EB)
NFSv3 (client side)    2^63 (8 EB)   2^63 (8 EB)
____________________________________________________________

apart from this the following kernel limits exist:

On 32-bit systems with Kernel 2.4.x: The size of a file and a block device
is limited to 2 TiB. By using LVM several block devices can be combined
enabling the handling of larger file systems.

64-bit systems: The sizes of a filesytem and of a file are limited by 2^63
(8 EiB). But there might be hardware driver limits that do not allow to
access such large devices.

Kernel 2.6: For both 32-bit systems with option CONFIG_LBD set and for
64-bit systems: The size of a file system is limited to 2^73 (far too much
for today). On 32-bit systems (without CONFIG_LBD set) the size of a file is
limited to 2 TiB. Note that not all filesystems and hardware drivers might
handle such large filesystems.



regards

lk

----- Original Message ----- 
From: "Iwan Sanders" <iwan.sanders@tuxproject.info>
To: <linux-kernel@vger.kernel.org>
Sent: Thursday, April 28, 2005 2:08 AM
Subject: File and partition sizes


> Hi,
>
> I am examining the large file support in Linux. A couple of questions
> remained unanswered that's why I thought to
> ask the experts ;-)
>
> I was wondering what the current size limitation of a partition is and
> what kernel versions will allow files larger then
> 4 GB and why they do that.
>
> Regards,
>
> Iwan Sanders
>
>
> -
> 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/
>



      reply	other threads:[~2005-04-28 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28  9:08 File and partition sizes Iwan Sanders
2005-04-28 11:40 ` lk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002001c54be7$0661abc0$5e91a8c0@patni.com' \
    --to=linux_kernel@patni.com \
    --cc=iwan.sanders@tuxproject.info \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox