🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #792

Bug#1125314: xfs_scrub_all.service: does not work (report errors in log)

#792
From: Pat Suwalski
Date: Tue, 13 Oct 2026 23:00
72 lines
6172 bytes
I am seeing the same thing on trixie.

Additionally, if I try running xfs_scrub_all manually, it simply fails with:

Error: /fs1: Kernel metadata scrubbing facility is not available.

Suggesting that the kernel that Debian ships cannot use this anyway.

Indeed:

$ grep XFS.*SCRUB /boot/config-6.12.111+deb13-amd64
# CONFIG_XFS_ONLINE_SCRUB is not set

--Pat

On Mon, 12 Jan 2026 15:15:20 +0300 Michael Tokarev <mjt@tls.msk.ru> wrote:
> Package: xfsprogs
> Version: 6.13.0-2
> Severity: normal
> 
> The way how xfs_scrub is run from within xfs_scrib_all script
> seems to be wrong.  Here's an example log output from xfs_scrub_all.service:
> 
> Dec 21 03:10:41 host systemd[1]: Starting xfs_scrub_all.service - Online XFS Metadata Check for All Filesystems>
> Dec 21 03:10:41 host xfs_scrub_all[174771]: Automatically enabling file data scrub.
> Dec 21 03:10:41 host xfs_scrub_all[174771]: Scrubbing /fs1...
> Dec 21 03:10:41 host xfs_scrub_all[174771]: Scrubbing /fs2...
> Dec 21 03:10:41 host xfs_scrub_all[174779]: EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
> Dec 21 03:10:41 host xfs_scrub_all[174780]: EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
> Dec 21 03:10:41 host xfs_scrub_all[174779]: Cannot use -p with -n.
> Dec 21 03:10:41 host xfs_scrub_all[174779]: Usage: xfs_scrub [OPTIONS] mountpoint
> Dec 21 03:10:41 host xfs_scrub_all[174779]: Options:
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -a count     Stop after this many errors are found.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -b           Background mode.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -C fd        Print progress information to this fd.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -e behavior  What to do if errors are found.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -k           Do not FITRIM the free space.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -m path      Path to /etc/mtab.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -n           Dry run.  Do not modify anything.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -p           Only optimize, do not fix corruptions.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -T           Display timing/usage information.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -v           Verbose output.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -V           Print version.
> Dec 21 03:10:41 host xfs_scrub_all[174779]:   -x           Scrub file data too.
> Dec 21 03:10:41 host xfs_scrub_all[174780]: Cannot use -p with -n.
> Dec 21 03:10:41 host xfs_scrub_all[174780]: Usage: xfs_scrub [OPTIONS] mountpoint
> Dec 21 03:10:41 host xfs_scrub_all[174780]: Options:
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -a count     Stop after this many errors are found.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -b           Background mode.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -C fd        Print progress information to this fd.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -e behavior  What to do if errors are found.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -k           Do not FITRIM the free space.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -m path      Path to /etc/mtab.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -n           Dry run.  Do not modify anything.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -p           Only optimize, do not fix corruptions.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -T           Display timing/usage information.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -v           Verbose output.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -V           Print version.
> Dec 21 03:10:41 host xfs_scrub_all[174780]:   -x           Scrub file data too.
> Dec 21 03:10:41 host xfs_scrub_all[174771]: Scrubbing /fs1 done, (err=8)
> Dec 21 03:10:41 host xfs_scrub_all[174771]: Scrubbing /fs2 done, (err=8)
> 
> So actually scrubbing isn't done, instead, the service tries to report
> error and fails due to #1116595.
> 
> It'd be nice if scribbing is actually happening.
> 
> Thanks,
> 
> /mjt
> 
> 
Technical Details
Message-ID: <NNTDr-5lAg-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <Mcp3P-9ZUl-7@gated-at.bofh.it> <Mcp3P-9ZUl-7@gated-at.bofh.it> <Mcp3P-9ZUl-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Pat Suwalski <pat@suwalski.net>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1125314: xfs_scrub_all.service: does not work (report errors in log)
Date: Wed, 14 Oct 2026 01:00:01 +0200
Message-ID: <NNTDr-5lAg-5@gated-at.bofh.it>
References: <Mcp3P-9ZUl-7@gated-at.bofh.it> <Mcp3P-9ZUl-7@gated-at.bofh.it> <Mcp3P-9ZUl-7@gated-at.bofh.it>
X-Original-To: 1125314@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 22:51:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Pat Suwalski <pat@suwalski.net>, 1125314@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: linux-xfs@vger.kernel.org
X-Debian-Pr-Message: followup 1125314
X-Debian-Pr-Package: xfsprogs
X-Debian-Pr-Source: xfsprogs
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 4200 seconds by postgrey-1.37 at buxtehude; Tue, 13 Oct 2026 22:48:07 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996688
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 72
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 13 Oct 2026 16:22:10 -0400
X-Original-Message-ID: <e0bd7747-c969-45f4-bffe-bbc57a34442f@suwalski.net>
X-Original-References: <176822012050.858602.3283497005616407284.reportbug@localhost> <176822012050.858602.3283497005616407284.reportbug@localhost> <176822012050.858602.3283497005616407284.reportbug@localhost>