🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
功能: 导出文件系统内部相关信息,例如超级块、inode、block信息 选项: -h 仅仅打印超级块信息 范例: 1) 查看系统的inode信息 [root@fenfa test]# dumpe2fs /dev/vdc1|egrep -i "inode size|inode count" dumpe2fs 1.41.12 (17-May-2010) Inode count: 122400---单位:个 Inode size: 128 -----boot分区默认128字节 [root@fenfa test]# dumpe2fs /dev/vdb1|egrep -i "inode size|inode count" dumpe2fs 1.41.12 (17-May-2010) Inode count: 131328 Inode size: 256 ---普通分区默认256字节 查看系统的block信息 [root@fenfa test]# dumpe2fs /dev/vdc1|egrep -i "block count|block size" dumpe2fs 1.41.12 (17-May-2010) Block count: 488264 Reserved block count: 24413 Block size: 1024 boot分区1024 You have mail in /var/spool/mail/root You have mail in /var/spool/mail/root [root@fenfa test]# dumpe2fs /dev/vdb1|egrep -i "block count|block size" dumpe2fs 1.41.12 (17-May-2010) Block count: 524288 Reserved block count: 26220 Block size: 4096 普通分区4K