我有一个通用 8Tb 外部 HDD,我想将其安装到/lovelace
。这在过去是有效的,但通常当我重新启动机器时,它不会自动重新安装,然后我在重新安装它时遇到了无穷无尽的问题。一些可能相关的信息:
- 驱动器位于
/dev/sda2
- 我有一个模糊的记忆,有一次我试图使用 GUI 来解决这个问题,我循环浏览了我的驱动器,发现其他一个正在自动安装在那里。
所以,我尝试过
$ sudo mount /dev/sda2 /lovelace
$ ls /lovelace # there should be a number of directories
$ sudo umount /lovelace
umount: /lovelace: not mounted
$ sudo rmdir /lovelace; sudo mkdir /lovelace; sudo mount /dev/sda2 /lovelace
$ ls /lovelace
$
所以这是奇怪的事情 - 我基本上可以将驱动器安装在其他任何地方
$ sudo mount /dev/sda2 /media/drive
$ ls /media/drive
echo genomes humann2_databases lost+found students
我什至可以将其安装在/Lovelace
(大写L
),但无论我尝试什么,我都无法将其安装在/lovelace
。我可以做什么来调试这个?
❯ df -aTh
Filesystem Type Size Used Avail Use% Mounted on
sysfs sysfs 0 0 0 - /sys
proc proc 0 0 0 - /proc
udev devtmpfs 32G 0 32G 0% /dev
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 6.3G 1.9M 6.3G 1% /run
/dev/nvme0n1p3 ext4 220G 133G 77G 64% /
securityfs securityfs 0 0 0 - /sys/kernel/security
tmpfs tmpfs 32G 0 32G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 32G 0 32G 0% /sys/fs/cgroup
cgroup2 cgroup2 0 0 0 - /sys/fs/cgroup/unified
cgroup cgroup 0 0 0 - /sys/fs/cgroup/systemd
pstore pstore 0 0 0 - /sys/fs/pstore
efivarfs efivarfs 0 0 0 - /sys/firmware/efi/efivars
none bpf 0 0 0 - /sys/fs/bpf
cgroup cgroup 0 0 0 - /sys/fs/cgroup/devices
cgroup cgroup 0 0 0 - /sys/fs/cgroup/net_cls,net_prio
cgroup cgroup 0 0 0 - /sys/fs/cgroup/cpu,cpuacct
cgroup cgroup 0 0 0 - /sys/fs/cgroup/perf_event
cgroup cgroup 0 0 0 - /sys/fs/cgroup/memory
cgroup cgroup 0 0 0 - /sys/fs/cgroup/blkio
cgroup cgroup 0 0 0 - /sys/fs/cgroup/hugetlb
cgroup cgroup 0 0 0 - /sys/fs/cgroup/cpuset
cgroup cgroup 0 0 0 - /sys/fs/cgroup/pids
cgroup cgroup 0 0 0 - /sys/fs/cgroup/rdma
cgroup cgroup 0 0 0 - /sys/fs/cgroup/freezer
systemd-1 - - - - - /proc/sys/fs/binfmt_misc
hugetlbfs hugetlbfs 0 0 0 - /dev/hugepages
mqueue mqueue 0 0 0 - /dev/mqueue
debugfs debugfs 0 0 0 - /sys/kernel/debug
tracefs tracefs 0 0 0 - /sys/kernel/tracing
fusectl fusectl 0 0 0 - /sys/fs/fuse/connections
configfs configfs 0 0 0 - /sys/kernel/config
/dev/loop1 squashfs 56M 56M 0 100% /snap/core18/1944
/dev/loop3 squashfs 62M 62M 0 100% /snap/emote/9
/dev/loop2 squashfs 62M 62M 0 100% /snap/emote/11
/dev/loop4 squashfs 65M 65M 0 100% /snap/gtk-common-themes/1513
/dev/loop0 squashfs 56M 56M 0 100% /snap/core18/1932
/dev/loop5 squashfs 32M 32M 0 100% /snap/snapd/10492
/dev/nvme0n1p2 vfat 4.0G 2.1G 2.0G 52% /recovery
/dev/nvme0n1p1 vfat 498M 308M 190M 62% /boot/efi
/dev/loop6 squashfs 163M 163M 0 100% /snap/gnome-3-28-1804/145
/dev/loop7 squashfs 32M 32M 0 100% /snap/snapd/10707
/dev/loop8 squashfs 65M 65M 0 100% /snap/gtk-common-themes/1514
tmpfs tmpfs 6.3G 20K 6.3G 1% /run/user/120
gvfsd-fuse - - - - - /run/user/120/gvfs
binfmt_misc binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
/dev/sdb1 ext4 1.9T 262G 1.5T 15% /babbage
/dev/sda2 ext4 7.3T 6.3T 645G 91% /media/drive
/dev/sda2 ext4 7.3T 6.3T 645G 91% /Lovelace