dumpe2fs
显示ext2、ext3、ext4文件系统的超级快和块组信息。此命令的适用范围:RedHat、RHEL、Ubuntu、CentOS、SUSE、openSUSE、Fedora。
1、语法
dumpe2fs [ -bfhixV ] [ -o superblock=superblock ] [ -o blocksize=blocksize ] device
2、选项列表
选项 |
说明 |
-b |
显示文件系统中保留的损坏块 |
-o superblock=superblock |
检查文件系统时,使用指定大小的超级块。此选项通常不需要,除非文件系统向导正在检查严重损坏的文件系统的剩余部分。 |
-o blocksize=blocksize |
检查文件系统时,指定块大小。此选项通常不需要,除非文件系统向导正在检查严重损坏的文件系统的剩余部分。 |
-f |
强制执行 |
-h |
只显示超级块信息,而不显示任何块组描述符详细信息 |
-i |
显示从e2image获得的文件系统信息,使用设备作为image文件的路径名。 |
-x |
以十六进制显示文件系统信息 |
-V |
显示命令版本信息,并且退出 |
[root@zzy402 ~]# dumpe2fs -h /dev/sda1
dumpe2fs 1.41.12 (17-May-2010)
Filesystem volume name: <none>
Last mounted on: /
Filesystem UUID: 06081aff-f1a8-40c0-9cae-3f1f96461466
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: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 1212416
Block count: 4849408
Reserved block count: 242470
Free blocks: 3673319
Free inodes: 1094722
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1022
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Flex block group size: 16
Filesystem created: Thu Aug 14 00:47:49 2014
Last mount time: Fri Dec 5 13:13:34 2014
Last write time: Thu Aug 28 09:10:14 2014
Mount count: 40
Maximum mount count: -1
Last checked: Thu Aug 14 00:47:49 2014
Check interval: 0 (<none>)
Lifetime writes: 17 GB
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: 393554
Default directory hash: half_md4
Directory Hash Seed: 7891ce97-7a55-400d-b9de-8779b74a65e6
Journal backup: inode blocks
Journal features: journal_incompat_revoke
Journal size: 128M
Journal length: 32768
Journal sequence: 0x0001819f
Journal start: 1
---------------------
作者:其格乐罕
来源:CSDN
原文:https://blog.csdn.net/tw7752/article/details/44413583
版权声明:本文为博主原创文章,转载请附上博文链接!