全新安装 20.04 LTS 后,多个驱动器出现只读错误

全新安装 20.04 LTS 后,多个驱动器出现只读错误

我已经使用 CentOS 很长时间了,但由于 Red Hat 决定淘汰它,我决定尝试一下 Ubuntu。然而,我从一开始就遇到了问题。我首先在一个新的 2TB 驱动器上安装了 20.04 LTS,但在安装顺利之后,我开始出现只读文件系统错误。我认为磁盘有问题,所以我使用了另一个全新的驱动器(8TB)。

在对分区进行一些调整(一个单独的问题)后,我能够安装。但是,在使用 30 分钟后,我再次开始看到这些错误。可以排除硬盘错误,因为错误同时发生在两个独立的物理驱动器上(操作系统和额外的 18TB 加密数据驱动器)。重新启动可以清除它们,但它们会在几分钟后再次出现,因此系统无法使用。

系统日志未找到明确原因。它只是开始转储 FileNotFoundException:

Aug 27 12:39:41 redwood nautilus[2185]: message repeated 5 times: [ gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed]
Aug 27 12:39:45 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'
Aug 27 12:39:45 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
Aug 27 12:39:45 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'
Aug 27 12:39:45 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
Aug 27 12:41:01 redwood nautilus[2185]: gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed
Aug 27 12:41:03 redwood nautilus[2185]: message repeated 3 times: [ gtk_revealer_set_reveal_child: assertion 'GTK_IS_REVEALER (revealer)' failed]
Aug 27 12:42:33 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'
Aug 27 12:42:33 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
Aug 27 12:42:33 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'
Aug 27 12:42:33 redwood gnome-shell[1835]: value "-1.000000" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
Aug 27 12:42:33 redwood org.gnome.Nautilus[1703]: java.io.FileNotFoundException: /work/apps/cpp/workspace/.metadata/.plugins/org.eclipse.linuxtools.cdt.libhover/C/tmpFile (No such file or directory)
Aug 27 12:42:33 redwood org.gnome.Nautilus[1703]: #011at java.base/java.io.FileOutputStream.open0(Native Method)
Aug 27 12:42:33 redwood org.gnome.Nautilus[1703]: #011at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
Aug 27 12:42:33 redwood org.gnome.Nautilus[1703]: #011at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
Aug 27 12:42:33 redwood org.gnome.Nautilus[1703]: #011at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123)

在经历了几次类似的例外之后,情况如下:

Aug 27 12:42:34 redwood gnome-session[1706]: gnome-session-binary[1706]: WARNING: Client '/org/gnome/SessionManager/Client26' failed to reply before timeout
Aug 27 12:42:34 redwood gnome-session-binary[1706]: WARNING: Client '/org/gnome/SessionManager/Client26' failed to reply before timeout
Aug 27 12:42:35 redwood gnome-session-binary[1706]: Entering running state
Aug 27 12:42:35 redwood gnome-shell[1835]: Ignored exception from dbus method: Gio.IOErrorEnum: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code19: Operation was cancelled

最后:

Aug 27 12:42:40 redwood gnome-session[1706]: gnome-session-binary[1706]: WARNING: Unable to open shell end session dialog: GDBus.Error:org.gnome.Shell.ModalDialog.GrabError: Cannot grab pointer and keyboard
Aug 27 12:42:40 redwood gnome-session-binary[1706]: WARNING: Unable to open shell end session dialog: GDBus.Error:org.gnome.Shell.ModalDialog.GrabError: Cannot grab pointer and keyboard
Aug 27 12:42:40 redwood gnome-session-binary[1706]: Entering running state
Aug 27 12:43:03 redwood gsd-print-notif[1972]: Source ID 2 was not found when attempting to remove it
Aug 27 12:43:03 redwood kernel: [ 1461.533551] rfkill: input handler enabled
Aug 27 12:43:03 redwood systemd[1675]: Stopping D-Bus User Message Bus...
Aug 27 12:43:03 redwood gsd-color[1522]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Dell_Inc__DELL_2707WFP_RJ4907AG02DS_sasha_1000
Aug 27 12:43:03 redwood gnome-session[1706]: gnome-session-binary[1706]: GLib-GIO-WARNING: Error releasing name org.gnome.SessionManager: The connection is closed
Aug 27 12:43:03 redwood gnome-session-binary[1706]: GLib-GIO-WARNING: Error releasing name org.gnome.SessionManager: The connection is closed
Aug 27 12:43:03 redwood gvfsd[1845]: A connection to the bus can't be made
Aug 27 12:43:03 redwood systemd[1675]: xdg-permission-store.service: Main process exited, code=exited, status=1/FAILURE
Aug 27 12:43:03 redwood systemd[1675]: xdg-permission-store.service: Failed with result 'exit-code'.
Aug 27 12:43:03 redwood deja-dup-monito[2404]: Owner of volume monitor org.gtk.vfs.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Aug 27 12:43:03 redwood deja-dup-monito[2404]: Owner of volume monitor org.gtk.vfs.GoaVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Aug 27 12:43:03 redwood deja-dup-monito[2404]: Owner of volume monitor org.gtk.vfs.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Aug 27 12:43:03 redwood deja-dup-monito[2404]: Owner of volume monitor org.gtk.vfs.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Aug 27 12:43:03 redwood deja-dup-monito[2404]: Owner of volume monitor org.gtk.vfs.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Aug 27 12:43:03 redwood zeitgeist-daemon[2507]: #033[31m[16:43:03.622973 WARNING]#033[0m zeitgeist-daemon.vala:454: The connection is closed
Aug 27 12:43:03 redwood zeitgeist-fts[2515]: Error releasing name org.gnome.zeitgeist.SimpleIndexer: The connection is closed
Aug 27 12:43:03 redwood zeitgeist-fts[2515]: zeitgeist-fts.vala:252: The connection is closed
Aug 27 12:43:03 redwood gnome-software[2234]: lost session service

到目前为止,这看起来很像是一个操作系统问题。也许它与主板 (ASUS Z9PE-D8 WS) 不兼容,但不清楚为什么一段时间内一切都运行正常,然后突然两个物理磁盘都进入只读模式。

我确实尝试安装 18.04 LTS,但过了一段时间它又开始出现同样的问题。有人能帮忙吗?

在此先感谢您的任何建议

萨沙

答案1

通过反复试验,我找到了问题的原因。我在原始帖子中提到了一个 18 TB 的加密驱动器,结果发现操作系统无法使用它超过几分钟。驱动器本身没有问题(我现在正在使用它),但操作系统根本无法在加密的情况下使用它。几分钟后,它会锁定所有驱动器并使系统无法使用。

我仍然不知道为什么会发生这种情况,因为日志中没有包含任何有用的信息。如果有人遇到类似问题,请发布它,至少可以作为故障排除的起点。

相关内容