错误安装驱动时错误

2023-09-11 08:49:42 作者:别拿精子射爱情

我创建了一个亚马逊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

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.