Besser nicht beginnen als nicht beenden.
QQ :15778000
E-MAIL :kernbombe@21cn.com
核弹 / KernBombe系统 :
http://www.xyabc.cn/software/nuclear/kb_zh_utf8.iso
linux Maximum On-Disk Sizes of the Filesystems
上一篇 /
下一篇 2007-04-20 02:15:12
/ 个人分类:KernBombe
Maximum On-Disk Sizes of the Filesystems
| Filesystem | File Size Limit | Filesystem Size Limit |
|---|
| ext2/ext3 with 1 KiB blocksize | 16448 MiB (~ 16 GiB) | 2048 GiB (= 2 TiB) |
| ext2/3 with 2 KiB blocksize | 256 GiB | 8192 GiB (= 8 TiB) |
| ext2/3 with 4 KiB blocksize | 2048 GiB (= 2 TiB) | 8192 GiB (= 8 TiB) |
| ext2/3 with 8 KiB blocksize (Systems with 8 KiB pages like Alpha only) | 65568 GiB (~ 64 TiB) | 32768 GiB (= 32 TiB) |
| ReiserFS 3.5 | 2 GiB | 16384 GiB (= 16 TiB) |
| ReiserFS 3.6 (as in Linux 2.4) | 1 EiB | 16384 GiB (= 16 TiB) |
| XFS | 8 EiB | 8 EiB |
| JFS with 512 Bytes blocksize | 8 EiB | 512 TiB |
| JFS with 4KiB blocksize | 8 EiB | 4 PiB |
| NFSv2 (client side) | 2 GiB | 8 EiB |
| NFSv3 (client side) | 8 EiB | 8 EiB |
Note Kernel Limitations:The table above describes limitations of the on-disk format. 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 263(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 273(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.
Note in the above: 1024 Bytes = 1 KiB; 1024 KiB = 1 MiB; 1024 MiB = 1 GiB; 1024 GiB = 1 TiB; 1024 TiB = 1 PiB; 1024 PiB = 1 EiB (checkhttp://physics.nist.gov/cuu/Units/binary.html)
Prefixes for binary multiples
|
| Factor | Name | Symbol | Origin | Derivation | | 210 | kibi | Ki | kilobinary: (210)1 | kilo: (103)1 | | 220 | mebi | Mi | megabinary: (210)2 | mega: (103)2 | | 230 | gibi | Gi | gigabinary: (210)3 | giga: (103)3 | | 240 | tebi | Ti | terabinary: (210)4 | tera: (103)4 | | 250 | pebi | Pi | petabinary: (210)5 | peta: (103)5 | | 260 | exbi | Ei | exabinary: (210)6 | exa: (103)6 |
|
|
| Examples and comparisons with SI prefixes | | onekibibit | 1 Kibit = 210bit =1024 bit | | onekilobit | 1 kbit = 103bit =1000 bit | | onemebibyte | 1 MiB = 220B =1 048 576 B | | onemegabyte | 1 MB = 106B =1 000 000 B | | onegibibyte | 1 GiB = 230B =1 073 741 824 B | | onegigabyte | 1 GB = 109B =1 000 000 000 B |
|
Maximum Number of Partitions
An IDE disk has 64 minors, one is used for the full disk and therefore 63 partitions are possible. A SCSI disk has 16 minors and therefore only 15 partitions maximal.
---------------------------------------------------
相关阅读:
- 更改Raid卡和HBA卡在linux下的启动顺序 (kernbombe, 2007-3-31)
- 有关BIOS (kernbombe, 2007-4-09)
- linux中C语言写超过2G大小的文件的方法 (kernbombe, 2007-4-20)
- 控制shell程序的资源---ulimit (kernbombe, 2007-4-20)
- Bash最常见的激活模式 (kernbombe, 2007-4-20)
- 深入理解C语言指针的奥秘 (kernbombe, 2007-7-01)
- Shell 编程实例集锦 (kernbombe, 2007-7-01)
- 强烈推荐使用永中集成Office 2007作linux办公平台 (kernbombe, 2007-7-03)
- Linux更新工具Yumex&yum揭秘 (kernbombe, 2007-7-05)
- 通过yum安装LAMP (kernbombe, 2007-7-05)
导入论坛
收藏
分享给好友
管理
举报
TAG:
Linux
KernBombe