linux-xfs.vger.kernel.org archive mirror
 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

* Re: [Bug 217604] New: Kernel metadata repair facility is not available, but kernel has CONFIG_XFS_ONLINE_REPAIR=y
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Dave Chinner @ 2023-06-28 21:58 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-xfs

On Wed, Jun 28, 2023 at 08:50:43AM +0000, bugzilla-daemon@kernel.org wrote:
> 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

We haven't merged all the online repair code yet so it is not yet
available to use. Please close the bug and monitor the upstream XFS
list to find out when the repair code is fully merged and enabled
at runtime.

FWIW, it is far better to send a message to the mailing list
(linux-xfs@vger.kernel.org) to find out what the status of something
is than it is to raise a bug just to ask a question about support...

-Dave.
-- 
Dave Chinner
david@fromorbit.com

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

* [Bug 217604] Kernel metadata repair facility is not available, but kernel has XFS_ONLINE_REPAIR=y
  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 ` bugzilla-daemon
  2023-06-29  7:10 ` bugzilla-daemon
  2023-06-29 14:55 ` bugzilla-daemon
  3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-06-28 21:58 UTC (permalink / raw)
  To: linux-xfs

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

--- Comment #1 from Dave Chinner (david@fromorbit.com) ---
On Wed, Jun 28, 2023 at 08:50:43AM +0000, bugzilla-daemon@kernel.org wrote:
> 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

We haven't merged all the online repair code yet so it is not yet
available to use. Please close the bug and monitor the upstream XFS
list to find out when the repair code is fully merged and enabled
at runtime.

FWIW, it is far better to send a message to the mailing list
(linux-xfs@vger.kernel.org) to find out what the status of something
is than it is to raise a bug just to ask a question about support...

-Dave.

-- 
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

* [Bug 217604] Kernel metadata repair facility is not available, but kernel has XFS_ONLINE_REPAIR=y
  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
  3 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon @ 2023-06-29  7:10 UTC (permalink / raw)
  To: linux-xfs

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

j.fikar@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DOCUMENTED

--- Comment #2 from j.fikar@gmail.com ---
OK Dave, I'll do that. Maybe the help for XFS_ONLINE_REPAIR can mention that it
is not yet working, to avoid future confusion.

Actually, I was reporting another kernel bug (vmalloc error), which was
probably seen before and currently it is in network drivers (no idea, why it is
there).

I'm telling you, as it might be XFS related. I see the bug exactly once a day
and when I look at my cron.daily jobs, it happens during xfs_fsr run.

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

-- 
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

* Re: [Bug 217604] Kernel metadata repair facility is not available, but kernel has XFS_ONLINE_REPAIR=y
  2023-06-29  7:10 ` bugzilla-daemon
@ 2023-06-29 14:55   ` Darrick J. Wong
  0 siblings, 0 replies; 6+ messages in thread
From: Darrick J. Wong @ 2023-06-29 14:55 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-xfs

On Thu, Jun 29, 2023 at 07:10:35AM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=217604
> 
> j.fikar@gmail.com changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|---                         |DOCUMENTED
> 
> --- Comment #2 from j.fikar@gmail.com ---
> OK Dave, I'll do that. Maybe the help for XFS_ONLINE_REPAIR can mention that it
> is not yet working, to avoid future confusion.

Both kernel and userspace yell EXPERIMENTAL when you invoke any part of
the online fsck system; I thought that was sufficient...

--D

> Actually, I was reporting another kernel bug (vmalloc error), which was
> probably seen before and currently it is in network drivers (no idea, why it is
> there).
> 
> I'm telling you, as it might be XFS related. I see the bug exactly once a day
> and when I look at my cron.daily jobs, it happens during xfs_fsr run.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=217502
> 
> -- 
> 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

* [Bug 217604] Kernel metadata repair facility is not available, but kernel has XFS_ONLINE_REPAIR=y
  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
                   ` (2 preceding siblings ...)
  2023-06-29  7:10 ` bugzilla-daemon
@ 2023-06-29 14:55 ` bugzilla-daemon
  3 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2023-06-29 14:55 UTC (permalink / raw)
  To: linux-xfs

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

--- Comment #3 from Darrick J. Wong (djwong@kernel.org) ---
On Thu, Jun 29, 2023 at 07:10:35AM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=217604
> 
> j.fikar@gmail.com changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|---                         |DOCUMENTED
> 
> --- Comment #2 from j.fikar@gmail.com ---
> OK Dave, I'll do that. Maybe the help for XFS_ONLINE_REPAIR can mention that
> it
> is not yet working, to avoid future confusion.

Both kernel and userspace yell EXPERIMENTAL when you invoke any part of
the online fsck system; I thought that was sufficient...

--D

> Actually, I was reporting another kernel bug (vmalloc error), which was
> probably seen before and currently it is in network drivers (no idea, why it
> is
> there).
> 
> I'm telling you, as it might be XFS related. I see the bug exactly once a day
> and when I look at my cron.daily jobs, it happens during xfs_fsr run.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=217502
> 
> -- 
> You may reply to this email to add a comment.
> 
> You are receiving this mail because:
> You are watching the assignee of the bug.

-- 
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;
as well as URLs for NNTP newsgroup(s).