启动时间较长,因为 fsck.exfat 花费时间,因为 exfat 卷未完全卸载

启动时间较长,因为 fsck.exfat 花费时间,因为 exfat 卷未完全卸载

我在 exFat 中有一个 SDD 分区,以便在 macOS 和 Linux Manjaro 和 Linux Mint 之间有一个公共分区。

Manjaro 启动和 Linux Mint 启动非常长,因为 exFat 的 fsck 大约需要 50 秒:

systemd-分析责任|头-3

48.922s systemd-fsck@dev-disk-by\x2duuid-0C8B\x2d9265.service
 1.166s man-db.service
 1.111s systemd-random-seed.service

原因是:卷没有完全卸载(见下文)

须藤journalctl -b -u systemd-fsck*

janv. 23 21:44:29 sangorys-macbookproManjaro systemd[1]: Starting File System Check on /dev/disk/by-uuid/0C8B-9265...
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[324]: exfatfsck 1.3.0
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[324]: Checking file system on /dev/nvme0n1p6.
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[324]: WARN: volume was not unmounted cleanly.
janv. 23 21:44:29 sangorys-macbookproManjaro fsck.exfat[324]: volume was not unmounted cleanly
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: fsck.fat 4.2 (2021-01-31)
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: There are differences between boot sector and its backup.
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: This is mostly harmless. Differences: (offset:original/backup)
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]:   65:01/00
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]:   Not automatically fixing this.
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]:  Automatically removing dirty bit.
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: *** Filesystem was changed ***
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: Writing changes.
janv. 23 21:44:29 sangorys-macbookproManjaro systemd-fsck[319]: /dev/nvme0n1p1: 470 files, 20781/403266 clusters
janv. 23 21:44:32 sangorys-macbookproManjaro systemd[1]: File System Check on Root Device was skipped because of a failed condition check (Conditio>
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: File system version           1.0
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: Sector size                 512 bytes
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: Cluster size                128 KB
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: Volume size                  98 GB
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: Used space                   65 GB
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: Available space              32 GB
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: Totally 9340 directories and 48907 files.
janv. 23 21:45:18 sangorys-macbookproManjaro systemd-fsck[324]: File system checking finished. No errors found.
janv. 23 21:45:18 sangorys-macbookproManjaro systemd[1]: Finished File System Check on /dev/disk/by-uuid/0C8B-9265.

请帮我:

  • 我该如何解决这个问题?
  • 我猜 umount 没有正确完成。我可以编辑 fstab 配置中完成的自动卸载吗?
  • 或者我可以创建一个服务来手动正确卸载 exfat 分区吗?

我非常感谢你的帮助

相关内容