码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-11-26 23:04:26      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:

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

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

解决办法:

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

到第三步的时候如果正常会显示出两块硬盘的lv状态都是active,此时再
#mount -t ext3 /dev/VGname/LVname /mnt/cdrom
就可以成功了。

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

标签:

原文地址:http://www.cnblogs.com/aresxin/p/4999006.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!