Artix Linux Forum

Init systems => runit => Topic started by: phoenix_king_rus on 08 February 2019, 15:59:27

Title: [SOLVED] runit: fsck with f2fs root
Post by: phoenix_king_rus on 08 February 2019, 15:59:27
Hi all!
I have recently installed Artix on f2fs and when i tried to boot with runit as init i got the following error:
Code: [Select]
Info: Fix the reported corruption.
Info: Mounted device!
Info: Check FS only due to RO
Error: Failed to open the device!
The system will be rebooted automatically in 15 seconds.
It isn't possible to fsck mounted f2fs so fsck runit script fails and rebbots system. Is there a way to skip this error somehow? The best would be config file for this script in which behavior on errors will be configured
Title: Re: runit: fsck with f2fs root
Post by: konimex on 08 February 2019, 23:40:16
Do you have f2fs-tools installed? I'll try to reproduce this next week if I'm not busy.
Title: Re: runit: fsck with f2fs root
Post by: phoenix_king_rus on 09 February 2019, 07:27:17
Yes. This is what noted me that performing fsck to mounted device is not possible
Title: Re: runit: fsck with f2fs root
Post by: konimex on 13 February 2019, 13:01:43
Confirmed from my end.

runit-rc-20190212-1 has been pushed to [gremlins] to address the problem. It'll take a while to sync from your mirror.

Can you check if it works?
Title: Re: runit: fsck with f2fs root
Post by: phoenix_king_rus on 13 February 2019, 13:18:01
Yes, it works now
Thanks!