挂在emmc失败 couldn't mount RDWR because of unsupported optional features (400)

[0]root@bpi-iot-ros-ai:/mnt# mount -t ext4 /dev/mmcblk1p2 /mnt/emmcbk2
mount: mounting /dev/mmcblk1p2 on /mnt/emmcbk2 failed: Invalid argument
[  138.611302] EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (2c0)
[  138.711183] EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (2c0)
[  138.801268] EXT4-fs (mmcblk1p2): couldn't mount RDWR because of unsupported optional features (400)
[  139.632489] UDF-fs: warning (device mmcblk1p2): udf_fill_super: No partition found (1)
[  304.524105] EXT4-fs (mmcblk1p2): couldn't mount RDWR because of unsupported optional features (400)
[  828.625474] EXT4-fs (mmcblk1p2): couldn't mount RDWR because of unsupported optional features (400)

这种情况是因为mkfs.ext4的时候制定的参数,旧的内核不支持导致,解决方法如下:重新格式化关闭不支持的特性:

sudo mke2fs /dev/sdb1 -O ^metadata_csum
 

The ext4 feature (400) is the new metadata_csum feature. If this feature is enabled and old tools are used to mount the filesystem they will only be able to mount read-only.

https://ext4.wiki.kernel.org/index.php/Ext4_Metadata_Checksums

To create a ext4 filesystem without this feature:

sudo mke2fs /dev/sdb1 -O ^metadata_csum

Or turn it off on an already created filesystem:

sudo tune2fs -O ^metadata_csum /dev/sdb1

” 

参考链接:https://unix.stackexchange.com/questions/287159/linux-couldnt-mount-rdwr-because-of-unsupported-optional-features-400

发布了13 篇原创文章 · 获赞 9 · 访问量 2万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览