Linux挂盘出现的问题

1.挂盘后将盘卸掉再挂盘失败

    我通过修改/etc/fstab配置文件然后执行mount–a命令挂盘,然后想再次测试,执行umount /dev/vdb1卸盘,并将/etc/fstab中配置删除,再次挂盘发现不行。

    解决方法:将/etc/fstab中配置删除后多次执行mount–a

2.使用shell语句挂盘失败

    具体情况是我需要挂两个盘,/dev/vdb1和/dev/vdb2,执行到修改/etc/fstab配置文件如下:

执行mount –a时报错。

mount: wrong fs type, bad option,bad superblock on /dev/vdb2,

       missing codepage or helper program, orother error

       In some cases useful info is found insyslog - try

       dmesg | tail or so.

根据提示执行dmesg | tail

回显:

EXT3-fs (vdb2): error: no journalfound. mounting ext3 over ext2?

然后将/dev/vdb2在/etc/fstab中的配置ext3改为ext2后成功,这里感觉很奇怪为什么/dev/vdb1挂盘是成功的。



猜你喜欢

转载自blog.csdn.net/u011294519/article/details/80925431
今日推荐