用过的linux命令

dumpe2fs

 

sudo dumpe2fs -h /dev/sda1
mop@ubuntu:~$ sudo dumpe2fs -h /dev/sda1
dumpe2fs 1.44.6 (5-Mar-2019)
Filesystem volume name:   <none>
Last mounted on:          /
Filesystem UUID:          ca62659e-fc9f-4743-a4af-d26871e1430d
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              7864320
Block count:              31456768
Reserved block count:     1572838
Free blocks:              28312221
Free inodes:              7645506
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Sat Feb  2 06:09:05 2019
Last mount time:          Wed May 22 06:12:25 2019
Last write time:          Wed May 22 06:12:24 2019
Mount count:              38
Maximum mount count:      -1
Last checked:             Sat Feb  2 06:09:05 2019
Check interval:           0 (<none>)
Lifetime writes:          64 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
First orphan inode:       6423611
Default directory hash:   half_md4
Directory Hash Seed:      f58d6935-8fd6-4715-8d03-ba65d2abed3c
Journal backup:           inode blocks
Checksum type:            crc32c
Checksum:                 0x8f63e777
Journal features:         journal_incompat_revoke journal_64bit journal_checksum_v3
Journal size:             512M
Journal length:           131072
Journal sequence:         0x000ed80f
Journal start:            73149
Journal checksum type:    crc32c
Journal checksum:         0x88ea8aed

debugfs

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值