如何在 CentOS 上删除无需系统访问权限的自动挂载

如何在 CentOS 上删除无需系统访问权限的自动挂载

我有一台 Nethserver 服务器(基于 CentOS 7),最近其中一个磁盘出现故障。磁盘上没有重要内容,所以我将其移除。

但是磁盘被设置为自动安装/mnt/disk1,从那时起系统不再启动。

我检查了日志并确认它正在尝试安装磁盘,我相信这就是它不再启动的原因。

[* ] A start job is running for dev-disk-by\x2duuid-c418cb0c\x2d...944\x2d8639\x2d90b84dc0dab2.device (1min 29s / 1min 30s[ TIME ] Timed out waiting for device dev-disk-by\ x2duuid-c418cb0c\x2d03ba\x2d4944\x2d8639\x2d90b84dc0dab2.device.
[DEPEND] Dependency failed for /mnt/disk1.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Mark the need to relabel after reboot.
[DEPEND] Dependency failed for Migrate local SELinux policy changes from the old store structure to the new structure.
[DEPEND] Dependency failed for Relabel all filesystems, if necessary.
[DEPEND] Dependency failed for Collectd statistics daemon.

有没有什么方法可以通过修改系统上的文件来禁用自动挂载,因为我无法从命令行启动它来执行此操作?

我可以从我的计算机访问磁盘,我可以编辑文件,但我不知道如何禁用它。

相关内容