Ext3

增加 EXT3 文件系統時是否有大小限制?

  • June 15, 2016

我有一個卷組,其大小約為 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 增加到 ~13 TByte?

或者最大尺寸會有一些限制?EXT3 Wiki 頁面建議最大大小可以是 4 到 32 TByte。有人可以澄清嗎?

https://en.wikipedia.org/wiki/Ext3

更新:–>> 塊大小:4096 所以 16 TByte 是 4K 塊的最大 FS 大小。我只需要有人確認這個 wiki 連結。

SLES 11、64 位核心

這為您提供了最大文件大小的概述https://access.redhat.com/solutions/1532。您可能需要考慮將 ext3 升級到 ext4 https://docs.fedoraproject.org/en-US/Fedora/14/html/Storage_Administration_Guide/ext4converting.html。因此,如果您的核心不是太舊,13 TB 應該沒問題,例如您正在執行 SLES 11、SP4。

引用自:https://unix.stackexchange.com/questions/289911