从外部驱动器安装文件系统时出现问题

从外部驱动器安装文件系统时出现问题

前段时间,我将 Ubuntu 设置为始终在同一个挂载点上挂载外部驱动器。为此,我根据 UUID 进行挂载,例如从我的 fstab 中进行挂载:

UUID=b949cee0-9e93-44c1-b3eb-1857cf5c1167 /media/b949cee0-9e93-44c1-b3eb-1857cf5c1167 ext4 nofail,auto,noatime,rw,user 0 0

UUID=17fbaabc-84e1-49a5-aebf-e14dfd1f5502 /media/17fbaabc-84e1-49a5-aebf-e14dfd1f5502 ext4 nofail,auto,noatime,rw,user 0 0

当我使用无源(即没有电源插头) 4 端口 USB 集线器时,我这样做了:我将驱动器连接到集线器,然后将集线器连接到计算机。

我认为 UUID 是不可变的,并且我的驱动器将始终安装在同一个安装点(就我而言,由于某种原因,我也用 UUID 命名)。

但是,当驱动器连接到 USB 集线器时,它们会被挂载。当它们没有连接到集线器而是直接连接到计算机时,根本检测不到它们。它们不仅没有挂载,而且在执行 lsblk 时也不会显示出来。

这怎么可能?有什么提示吗?

编辑:

Ubuntu 版本:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

以下是 lsusb 的输出:

No Drive Attached:

Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 8087:07da Intel Corp. 
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

One Drive Attached (no hub attached)

nardo@myserver:~$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 8087:07da Intel Corp. 
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

One Drive attached through USB Hub

Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 8087:07da Intel Corp. 
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 006: ID 1058:25a2 Western Digital Technologies, Inc. 
Bus 002 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

谢谢!

相关内容