Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2025 20:33:02 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        FreeBSD-CURRENT <freebsd-current@freebsd.org>
Subject:   Re: No longer single-user on unclean fs?
Message-ID:  <a6d32b27-f2ac-4db5-a573-f4b2e5a0400f@gmail.com>
In-Reply-To: <VxCjc2ydCzxF9Ot-UxKTxhjOVX5AkiJFEPC_Y16pJFxJ9BxbxpuL_NvxK766MUc3MthAOZ1ywzq2HoxlRZ3z8dxb1-WPT3M1HgDMl4OCEmU=@proton.me>
References:  <s5rn1qp6-14p2-7o76-6q8r-rr5po3o5os57@yvfgf.mnoonqbm.arg> <CANCZdfrk-OV14g1h645EY3XvJNp_%2BFzcTt=0RvcV-ZNx2zKbOQ@mail.gmail.com> <VxCjc2ydCzxF9Ot-UxKTxhjOVX5AkiJFEPC_Y16pJFxJ9BxbxpuL_NvxK766MUc3MthAOZ1ywzq2HoxlRZ3z8dxb1-WPT3M1HgDMl4OCEmU=@proton.me>

index | next in thread | previous in thread | raw e-mail

On 24/08/2025 17:37, polyduekes@proton.me wrote:
> …
>
> i agree with bz, there have been numerous times where i was dropped to 
> single user for unclean shutdown which could be fixed with fsck
>
> …


Have you tuned the delays for syncing files, directories, and metadata?

<https://man.freebsd.org/cgi/man.cgi?query=syncer&sektion=4&manpath=freebsd-current#DESCRIPTION>;

If not tuned, IIRC there's a window of up to sixty seconds during which 
an unclean shutdown might result in data loss with UFS.

(I can't recall how I calculated the sixty, sorry.)



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6d32b27-f2ac-4db5-a573-f4b2e5a0400f>