You are not logged in.

#1 2021-12-01 07:32:08

badrobot
Member
Registered: 2021-12-01
Posts: 4

F2FS fsck on every boot

My root partition is formatted as f2fs and spans two LUKS volumes. Both volumes are unlocked in the initramfs using the sd-encrypt hook. Every shutdown, I can see a message flash by very quickly complaining that dm-0 and dm-1 cannot not be unmounted as they are busy. This happened earlier when I was using btrfs too. Except with f2fs this seems to require an fsck on every boot up, and this is really slow. I don't mind the occasional wait for a long fsck, but this happens on every boot up without fail. It takes around 2 minutes to finish. How can I make sure that my root partition cleanly unmounts on shutdown?

This is a desktop with 2 NVMe SSDs with a LUKS volume on a partition on each device. The root f2fs partition spans both of these LUKS volumes. I also have an NVIDIA graphics card and I'm using the nvidia driver.

Last edited by badrobot (2021-12-01 07:35:55)

Offline

#2 2021-12-02 00:30:23

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: F2FS fsck on every boot

Have you looked at https://bugs.archlinux.org/task/63697 in particular findings related to the nvidia driver?

Offline

#3 2021-12-02 04:50:35

badrobot
Member
Registered: 2021-12-01
Posts: 4

Re: F2FS fsck on every boot

The nvidia fix worked for me. I'm wondering where to report this issue. Is it an arch issue, or systemd, or nvidia?

Offline

Board footer

Powered by FluxBB