LVM挂载失败mount: you must specify the filesystem type

因意外缘由致使机器重启,机器起来后发现磁盘挂载没有了,挂载,结果报错spa

[root@all /]# mount /dev/hdc2  /mnt/cdrom
mount: you must specify the filesystem type

解决办法:code

1.先用vgscan
2.vgchange -ay
3.lvscan
4.mount

到第三步的时候若是正常会显示出两块硬盘的lv状态都是active,此时再
#mount -t ext3 /dev/VGname/LVname /mnt/cdrom
就能够成功了。
相关文章
相关标签/搜索