错误安装驱动时 [英] Error when mounting drive
问题描述
我创建了一个亚马逊EC2实例(Ubuntu的),并创造了从一个可用的快照卷。该卷已成功地连接到我的实例为的/ dev / SDF
。
我执行以下命令:执行:的mkdir /空间
当我尝试执行以下命令:
须藤设置/ dev / SDF1 /空间
我得到这个消息:
安装:特种设备/ dev / SDF1
不存在
我该如何解决这个问题呢?
尝试安装设备的/ dev / SDF而不是的/ dev / SDF1。
如果仍然不行,请尝试安装它作为的/ dev / xvdf或的/ dev / xvda1,如:
须藤设置/ dev / xvda1 /空间
这个名称不匹配的解释可在EC2管理界面的附加卷对话框中找到:
注:新的Linux内核可以通过为/ dev / xvdp重命名你的设备到/ dev / xvdf内部,即使在设备名称此处输入(在详细信息显示)是/ dev / SDF通过的/ dev / SDP <。 / P>
I created an EC2 amazon instance (ubuntu) and created a volume from an available snapshot. The volume has been successfully attached to my instance as /dev/sdf
.
I executed the following command: performed: mkdir /space
When I try to execute the following command:
sudo mount /dev/sdf1 /space
I get this message:
mount: special device /dev/sdf1
does not exist
How can I solve this issue ?
Try mounting the device "/dev/sdf" instead of "/dev/sdf1".
If that still doesn't work, try mounting it as "/dev/xvdf" or "/dev/xvda1", e.g.:
sudo mount /dev/xvda1 /space
The explanation for this name mismatch can be found in the "Attach Volume" dialog of the EC2 management screen:
Note: Newer linux kernels may rename your devices to /dev/xvdf through /dev/xvdp internally, even when the device name entered here (and shown in the details) is /dev/sdf through /dev/sdp.
这篇关于错误安装驱动时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!