Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: brainchild@mailbox.org
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Strange behavior with scrub, quotas, and snapshots
Date: Tue, 28 Apr 2026 00:03:56 -0400	[thread overview]
Message-ID: <KAR6ET.BWL8BEMZPLSV@mailbox.org> (raw)
In-Reply-To: <2bf2013f-ecc3-424a-b6b3-deec4f3b74e6@suse.com>

I am simply reporting on my observations.

Deleting all instances of the file corresponding to the identified 
inode, across all subvolumes, has resolved the problem with nbytes, but 
fix-device-size reported no action, and the super mismatch remains.

In case you have any further thoughts on finding a resolution, I am 
eager for any suggestions. I would like the volume to be fully healthy.

On Tue, Apr 28 2026 at 12:43:51 PM +09:30:00, Qu Wenruo <wqu@suse.com> 
wrote:
> 
> 
> 在 2026/4/28 12:03, brainchild 写道:
>> With swap disabled, the scrub operation seems to reach completion, 
>> with no errors found.
>>   \x7fHowever, the check operation still discovers the same errors.
> 
> Scrub is not a fsck, from man page of btrfs-scrub:
> 
> Note:
>         Scrub is not a filesystem checker (fsck, btrfs-check(8)). It 
> can only detect filesystem damage using the checksum validation, and 
> it can only repair filesystem damage by copying from other known good 
> replicas.
> 
>         btrfs-check(8) performs more exhaustive checking and can 
> sometimes be used, with expert guidance, to rebuild certain corrupted 
> filesystem structures in the absence of any good replica.
> 
> 
>>   \x7fThe output of `rescue fix-device-size' is "No device size related 
>> problem found".
>>   \x7fAfter, check still reports the same errors, including the super 
>> mismatch.
> 
> If you do not want to manually fix the nbytes mismatch, go "btrfs 
> check --repair", which may also help to fix the super block size 
> mismatch.



  reply	other threads:[~2026-04-28  4:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-26 23:52 Strange behavior with scrub, quotas, and snapshots brainchild
2026-04-27  2:05 ` Qu Wenruo
2026-04-27 20:32   ` brainchild
2026-04-27 22:10     ` Qu Wenruo
     [not found]       ` <SNC6ET.5NSSU3PO7MKD2@mailbox.org>
2026-04-27 22:58         ` Qu Wenruo
2026-04-28  0:22           ` brainchild
2026-04-28  1:16             ` Qu Wenruo
2026-04-28  1:21               ` brainchild
2026-04-28  2:33                 ` brainchild
2026-04-28  3:13                   ` Qu Wenruo
2026-04-28  4:03                     ` brainchild [this message]
2026-04-28  5:13                       ` Qu Wenruo
2026-04-28  5:29                         ` brainchild
2026-04-28  6:41                           ` Qu Wenruo
2026-04-28 19:30                             ` brainchild
2026-04-28 22:19                               ` brainchild
2026-04-28 22:26                                 ` Qu Wenruo
2026-04-28 22:50                                   ` Qu Wenruo
2026-04-28 22:23                               ` Qu Wenruo
2026-04-28 22:34                                 ` Qu Wenruo
2026-04-29  0:57                                 ` brainchild
2026-04-29  1:11                                   ` Qu Wenruo
2026-04-29  1:16                                     ` brainchild
2026-04-29  1:27                                       ` Qu Wenruo
2026-04-29  2:11                                         ` brainchild

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=KAR6ET.BWL8BEMZPLSV@mailbox.org \
    --to=brainchild@mailbox.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox