dumpe2fs: Bad magic number in super-block


今天使用tune2fs和dumpe2fs来查看文件系统信息,出现如下图所示错误提示:

解决方法:

1、原来tune2fs和dumpe2fs只能打开ext3/ext4等文件类型。

dumpe2fs - dump ext2/ext3/ext4 filesystem information

  

tune2fs - adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems

  

2、所以首先查看,此分区的文件类型是多,使用命令:blkid

blkid - locate/print block device attributes

  

3、查看XFS的文件系统的命令:xfs_info | xfs_growfs

xfs_growfs, xfs_info - expand an XFS filesystem

  

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM