我有一个卷组,其大小约为 30 TByte。它有一个 EXT3 文件系统:
SERVER:/home/usfman # dumpe2fs -h /dev/mapper/datavg-foolv
dumpe2fs 1.41.9 (22-Aug-2009)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: censored
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 289669120
Block count: 1158676480
Reserved block count: 57920704
Free blocks: 216859296
Free inodes: 289592213
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 747
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Filesystem created: censored
Last mount time: censored
Last write time: censored
Mount count: 5
Maximum mount count: 33
Last checked: censored
Check interval: 15552000 (6 months)
Next check after: censored
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: censored
Journal backup: inode blocks
Journal size: 128M
SERVER:/home/usfman #
问题:我们可以将此 FS 从 4.3TB 增加到 ~13TByte 吗?
或者最大尺寸会有一些限制? EXT3 Wiki 页面建议最大大小可以为 4 到 32 TByte。有人可以澄清一下吗?
https://en.wikipedia.org/wiki/Ext3
更新: -->> 块大小:4096 因此 16 TByte 是 4K 块的最大 FS 大小。我只需要有人确认此维基链接。
SLES 11,64 位内核
答案1
这为您提供了最大文件大小的概述https://access.redhat.com/solutions/1532。您可能需要考虑将 ext3 升级到 ext4https://docs.fedoraproject.org/en-US/Fedora/14/html/Storage_Administration_Guide/ext4converting.html。因此,如果您的内核不是太旧,例如您运行的是 SLES 11、SP4,则 13 TB 应该没问题。