问题一 : mount挂载硬盘出错mount you must specify the filesystem type lvm
问题详释:
RHEL 6.4 在虚拟机中挂载光盘报错
[root@localhost ~]# mkdir /mnt/cdrom/
[root@localhost ~]# mount /dev/sr0 /mnt/cdrom
mount: you must specify the filesystem type
[root@localhost ~]# mount -o loop /dev/sr0 /mnt/cdrom/
/dev/sr0: 找不到介质
原因及其解决方案:
原因一:
虚拟机的光盘设置有误
会出现以下问题
解决方案:确认设备连接正常
命令成功执行:
[root@localhost ~]# mount /dev/cdrom /mnt/cdrom/
mount: block device /dev/sr0 is write-protected, mounting read-only
会出现
原因二:
文件系统不正确
解决方案:
方案一:文件系统为iso9660
[root@localhost ~]# mount -t iso9660 /dev/cdrom /mnt/cdrom/
方案二:文件系统为udf
[root@localhost ~]# mount -t udf /dev/cdrom /mnt/cdrom/
出现下列问题
![](/attachment/201406/24/29723056_1403596089ZP5t.png)
则一定是
设备状态没有选为连接
总结:
个人认为:一般出现第二种情况很少,基本上都是因为没有选择连接选项才会导致的。
阅读(2195) | 评论(0) | 转发(0) |