Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2024 22:24:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 280216] UFS deadly hangs while removing snapshot
Message-ID:  <bug-280216-3630-2X19veNVc1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280216-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280216-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280216

Kirk McKusick <mckusick@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|fs@FreeBSD.org              |mckusick@FreeBSD.org
                 CC|                            |mckusick@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Kirk McKusick <mckusick@FreeBSD.org> ---
The problem that you are experiencing is because gjournal does not properly
understand how to handle snapshots when cleaning up unused blocks. Fixing i=
t is
a considerable amount of work for a rarely used feature. I will make a chan=
ge
to disallow the taking of snapshots when gjournal is enabled.

For your system you either need to stop taking snapshots or stop using
gjournal. It is my recommendation that you stop using gjournal. You should
enable soft updates as they will give you much better performance.

For fast recovery after a crash you also need to enable soft update journal=
ing.
 Unfortunately you cannot use snapshots with soft update journaling on 12-b=
ased
systems. You will need to upgrade to at least 13 and if you are upgrading y=
ou
might as well go to 14 to get a system that can take snapshots when running
with soft update journaling.

Soft updates journaling comes with a higher write load when running, but
enables fsck to run in under a minute (and usually just a few seconds) afte=
r a
crash. Generally its recovery is even faster than gjournal provides.

Please make my suggested changes and let me know if it solves you hangs.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280216-3630-2X19veNVc1>