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

  

猜你喜欢

转载自www.cnblogs.com/eeexu123/p/10900053.html
今日推荐