Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236775

Re: Btrfs scrub going past 100%

From Paul <p@redscript.org>
Newsgroups linux.debian.user
Subject Re: Btrfs scrub going past 100%
Date 2021-07-02 20:00 +0200
Message-ID <CwvsB-7lO-7@gated-at.bofh.it> (permalink)
References <Cwpdv-3Jo-5@gated-at.bofh.it> <CwrIl-56Q-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 7/2/21 5:48 PM, Dan Ritter wrote:

> Paul wrote:
>> I run regular btrfs scrubs through btrfsmaintenance on my disk array without
>> issues. This time, though, the scrub percentage went over 100%. I kept it
>> running so that I can file a bug if this is one.
>>
>> Which package do I file this against? I believe it's in the Linux kernel not
>> btrfs-progs, but I thought I would ask since I'm new to this.
>>
>> UUID:             xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
>> Scrub started:    Thu Jul  1 00:03:28 2021
>> Status:           running
>> Duration:         37:13:49
>> Time left:        21358913:01:19
>> ETA:              Mon Feb 11 06:18:36 4458
>> Total to scrub:   29.08TiB
>> Bytes scrubbed:   29.24TiB  (100.56%)
>> Rate:             228.79MiB/s
>> Error summary:    no errors found
> Reported to the btrfs list last year, doesn't look like there's
> any followup. Check out your time left calculation, too.
>
> https://lore.kernel.org/linux-btrfs/a17a65d0-68d4-e220-0b2d-5c19cdc7be20@petaramesh.org/

They mention "When the filesystem has grown during scrub...". I'm not sure if they mean they increased the size of the FS while it was scrubbing. Definitely not a good idea, IMO.

> It is probably significant that over the last year, I see a fair
> number of issues with crashes and unrecoverable data on the btrfs list.

I've been using Btrfs for several years. It works quite well. I chose it over ZFS for its flexibility. The only issues I had are mostly my idiocy. Thankfully I was able to recover and didn't lose any data.

Just a data point ;)

> On the ZFS list, most of the discussion is about optimal
> configurations.
>
> -dsr-
>
An update about the scrub: an hour or so later the percentage went back to 1%. I don't remember what happened to the other parameters, but I just cancelled it anyway. I didn't have any errors, thankfully, as usual.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Btrfs scrub going past 100% Paul <p.ian@redscript.org> - 2021-07-02 13:10 +0200
  Re: Btrfs scrub going past 100% Dan Ritter <dsr@randomstring.org> - 2021-07-02 15:50 +0200
    Re: Btrfs scrub going past 100% Dan Ritter <dsr@randomstring.org> - 2021-07-02 19:50 +0200
    Re: Btrfs scrub going past 100% Paul <p@redscript.org> - 2021-07-02 20:00 +0200

csiph-web