可以手动挂载 ThunderBay 8 磁盘但 fstab 失败

可以手动挂载 ThunderBay 8 磁盘但 fstab 失败

我已在 mergerfs 磁盘池中配置并运行这些,但遇到了问题,最终需要重新安装 Ubuntu 服务器。从那时起,我可以手动将驱动器安装在我的 ThunderBay 8 中,但将它们添加到我的 fstab 后系统无法启动。

例如

# sudo mount /dev/disk/by-uuid/5c3245c8-29a4-416f-b1b4-b49841b81ce2 /mnt/disk1
# lsblk -f
NAME    FSTYPE  FSVER LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
sdb
└─sdb1  ext4    1.0         5c3245c8-29a4-416f-b1b4-b49841b81ce2    370.7G    92% /mnt/disk1

添加到 /etc/ftsab:

UUID="5c3245c8-29a4-416f-b1b4-b49841b81ce2" /mnt/disk1   ext4 defaults 0 0

# sudo mount -a
# reboot

系统只会在紧急模式下重新启动,并建议查看 journalctl -xb

   The job identifier is 20 and the job result is dependency.
Jun 04 16:57:21 ghost systemd[1]: mnt-disk2.mount: Job mnt-disk2.mount/start failed with result 'dependency'.
Jun 04 16:57:21 ghost systemd[1]: dev-disk-by\x2duuid-146fef04\x2d22d9\x2d479e\x2db379\x2d3e090bf73fbd.device: Job dev-disk-by\x2duuid-146fef04\x2d22d9\x2d479e\x2db379\x2d3e090bf73fbd.device/start failed with r>
Jun 04 16:57:21 ghost systemd[1]: dev-disk-by\x2duuid-5c3245c8\x2d29a4\x2d416f\x2db1b4\x2db49841b81ce2.device: Job dev-disk-by\x2duuid-5c3245c8\x2d29a4\x2d416f\x2db1b4\x2db49841b81ce2.device/start timed out.
Jun 04 16:57:21 ghost systemd[1]: Timed out waiting for device /dev/disk/by-uuid/5c3245c8-29a4-416f-b1b4-b49841b81ce2.
   Subject: A start job for unit dev-disk-by\x2duuid-5c3245c8\x2d29a4\x2d416f\x2db1b4\x2db49841b81ce2.device has failed
   Defined-By: systemd
   Support: http://www.ubuntu.com/support

   A start job for unit dev-disk-by\x2duuid-5c3245c8\x2d29a4\x2d416f\x2db1b4\x2db49841b81ce2.device has finished with a failure.

   The job identifier is 35 and the job result is timeout.
Jun 04 16:57:21 ghost systemd[1]: Dependency failed for /mnt/disk1.
   Subject: A start job for unit mnt-disk1.mount has failed
   Defined-By: systemd
   Support: http://www.ubuntu.com/support

   A start job for unit mnt-disk1.mount has finished with a failure.

   The job identifier is 34 and the job result is dependency.
Jun 04 16:57:21 ghost systemd[1]: mnt-disk1.mount: Job mnt-disk1.mount/start failed with result 'dependency'.
Jun 04 16:57:21 ghost systemd[1]: dev-disk-by\x2duuid-5c3245c8\x2d29a4\x2d416f\x2db1b4\x2db49841b81ce2.device: Job dev-disk-by\x2duuid-5c3245c8\x2d29a4\x2d416f\x2db1b4\x2db49841b81ce2.device/start failed with r>
Jun 04 16:57:21 ghost systemd[1]: dev-disk-by\x2duuid-905b4733\x2d0ec2\x2d4396\x2d9cbb\x2dc918658f79e9.device: Job dev-disk-by\x2duuid-905b4733\x2d0ec2\x2d4396\x2d9cbb\x2dc918658f79e9.device/start timed out.
Jun 04 16:57:21 ghost systemd[1]: Timed out waiting for device /dev/disk/by-uuid/905b4733-0ec2-4396-9cbb-c918658f79e9.
   Subject: A start job for unit dev-disk-by\x2duuid-905b4733\x2d0ec2\x2d4396\x2d9cbb\x2dc918658f79e9.device has failed
   Defined-By: systemd
   Support: http://www.ubuntu.com/support

   A start job for unit dev-disk-by\x2duuid-905b4733\x2d0ec2\x2d4396\x2d9cbb\x2dc918658f79e9.device has finished with a failure.

不确定这是否相关,但 Thunderbay 有一个 DisplayPort 输出,我多次看到“PPM init failed (-110)”错误。想知道这是否是驱动程序的问题,但在线搜索似乎没有返回任何结果。我只在 fstab 条目处于活动状态时看到 PPM 错误。

目前我很茫然,非常感谢任何帮助!

答案1

答案似乎是在 fstab 条目中添加 nofail,即

UUID="5c3245c8-29a4-416f-b1b4-b49841b81ce2" /mnt/disk1   ext4 defaults,nofail 0 0

相关内容