Linux用tune2fs 命令查看磁盘Inode count总数信息,额外空间大小
# tune2fs -l /dev/sdbtune2fs 1.41.12 (17-May-2010)
Filesystem volume name: <none>
Last mounted on: /data
Filesystem UUID: f37ae9a2-aeb0-4116-821b-aac52d29bd99
Filesystem magic number:0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 953984
Block count: 244190646
Reserved block count: 12209532
Free blocks: 244063867
Free inodes: 953973
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 965
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 128
Inode blocks per group: 8
RAID stride: 1
Flex block group size: 16
Filesystem created: Wed Jan 17 08:24:58 2018
Last mount time: Wed Jan 17 08:25:48 2018
Last write time: Wed Jan 17 08:25:48 2018
Mount count: 1
Maximum mount count: 29
Last checked: Wed Jan 17 08:24:58 2018
Check interval: 15552000 (6 months)
Next check after: Mon Jul 16 08:24:58 2018
Lifetime writes: 371 MB
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
First orphan inode: 796747
Default directory hash: half_md4
Directory Hash Seed: 2b3665a5-8f0d-47b0-947f-127530401ae5
Journal backup: inode blocks
如上方,看到Inode count为953984总数,Inode size大小256,Lifetime writes占用了371MB额外空间
这空间会导致你的硬盘总容量降低,根据你自己选择了
页:
[1]