public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 217604] New: Kernel metadata repair facility is not available, but kernel has CONFIG_XFS_ONLINE_REPAIR=y
@ 2023-06-28  8:50 bugzilla-daemon
  2023-06-28 21:58 ` Dave Chinner
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-06-28  8:50 UTC (permalink / raw)
  To: linux-xfs

https://bugzilla.kernel.org/show_bug.cgi?id=217604

            Bug ID: 217604
           Summary: Kernel metadata repair facility is not available, but
                    kernel has CONFIG_XFS_ONLINE_REPAIR=y
           Product: File System
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: XFS
          Assignee: filesystem_xfs@kernel-bugs.kernel.org
          Reporter: j.fikar@gmail.com
        Regression: No

Hi,

I'm trying the new xfs_scrub and I get this error:

$ sudo xfs_scrub /mnt/xfs
EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
Error: /mnt/xfs: Kernel metadata repair facility is not available.  Use -n to
scrub.
Info: /mnt/xfs: Scrub aborted after phase 1.
/mnt/xfs: operational errors found: 1

But the XFS_ONLINE_SCRUB and XFS_ONLINE_REPAIR are enabled in my kernel:

$ zcat /proc/config.gz | grep XFS
CONFIG_XFS_FS=y
CONFIG_XFS_SUPPORT_V4=y
# CONFIG_XFS_QUOTA is not set
CONFIG_XFS_POSIX_ACL=y
# CONFIG_XFS_RT is not set
CONFIG_XFS_ONLINE_SCRUB=y
CONFIG_XFS_ONLINE_REPAIR=y
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_VXFS_FS is not set

I'm on kernel 6.3.8 and xfsprogs 6.3.0. Do I need to enable XFS_DEBUG as well?

xfs_scrub -n seems to run fine.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-29 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28  8:50 [Bug 217604] New: Kernel metadata repair facility is not available, but kernel has CONFIG_XFS_ONLINE_REPAIR=y bugzilla-daemon
2023-06-28 21:58 ` Dave Chinner
2023-06-28 21:58 ` [Bug 217604] Kernel metadata repair facility is not available, but kernel has XFS_ONLINE_REPAIR=y bugzilla-daemon
2023-06-29  7:10 ` bugzilla-daemon
2023-06-29 14:55   ` Darrick J. Wong
2023-06-29 14:55 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox