Skip to contentSkip to conversation

Odd output from scrub status

DISCUSSION David C. Partridge 4 participants 9 messages Jul 17, 2022 – Jul 19, 2022 Btrfs file system

lore
Share & tools
lore
#0 lore raw
root@charon:~/bin# btrfs scrub status /dev/sdb1
UUID:             f9655777-8c81-4d5e-8f14-c1906b7b27a3
Scrub started:    Sun Jul 17 10:27:39 2022
Status:           running
Duration:         1:59:29
Time left:        6095267:46:37
ETA:              Tue Nov 20 23:13:45 2717
Total to scrub:   4.99TiB
Bytes scrubbed:   5.48TiB
Rate:             801.72MiB/s
Error summary:    no errors found
root@charon:~/bin#

Cheers, David

#1 lore raw
Quoted 2 lines · David C. Partridge
Total to scrub:   4.99TiB
Bytes scrubbed:   5.48TiB

What kind of raid profiles are in use on this filesystem?

#2 lore raw

Hardware Raid 5 It may have got confused because I did btrfs subvolume delete of a few subvolumes just before I started the scrub?

David

-----Original Message-----
From: Nikolay Borisov <[email protected]>
Sent: 18 July 2022 09:02
To: David C. Partridge <[email protected]>; [email protected]
Subject: Re: Odd output from scrub status

Quoted 2 lines · David C. Partridge
Total to scrub:   4.99TiB
Bytes scrubbed:   5.48TiB

What kind of raid profiles are in use on this filesystem?

#3 lore raw
In reply to David C. Partridge
Quoted 13 lines · David C. Partridge
root@charon:~/bin# btrfs scrub status /dev/sdb1
UUID:             f9655777-8c81-4d5e-8f14-c1906b7b27a3
Scrub started:    Sun Jul 17 10:27:39 2022
Status:           running
Duration:         1:59:29
Time left:        6095267:46:37
ETA:              Tue Nov 20 23:13:45 2717
Total to scrub:   4.99TiB
Bytes scrubbed:   5.48TiB
Rate:             801.72MiB/s
Error summary:    no errors found
root@charon:~/bin#
Quoted 3 lines

Cheers, David

Mind to share the following commands output?

# btrfs fi df <mnt>
# btrfs fi usage <mnt>
# uname -a

I'm considering if it's RAID56 or other profiles causing the problem.

Thanks,
Qu

#4 lore raw
Quoted 1 line

Mind to share the following commands output?

Sure, no problem

root@charon:/home/amonra# btrfs fi df /shared
Data, single: total=8.37TiB, used=5.76TiB
System, DUP: total=32.00MiB, used=1.09MiB
Metadata, DUP: total=11.00GiB, used=5.56GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
root@charon:/home/amonra# btrfs fi usage /shared
Overall:
    Device size:		  25.46TiB
    Device allocated:		   8.39TiB
    Device unallocated:		  17.07TiB
    Device missing:		     0.00B
    Used:			   5.77TiB
    Free (estimated):		  19.68TiB	(min: 11.14TiB)
    Data ratio:			      1.00
    Metadata ratio:		      2.00
    Global reserve:		 512.00MiB	(used: 0.00B)

Data,single: Size:8.37TiB, Used:5.76TiB (68.89%)
/dev/sdb1 8.37TiB

Metadata,DUP: Size:11.00GiB, Used:5.56GiB (50.53%)
/dev/sdb1 22.00GiB

System,DUP: Size:32.00MiB, Used:1.09MiB (3.42%)
/dev/sdb1 64.00MiB

Unallocated:
/dev/sdb1 17.07TiB

root@charon:/home/amonra# uname -a
Linux charon 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@charon:/home/amonra#

David

#5 lore raw
In reply to David C. Partridge
Quoted 13 lines · David C. Partridge
root@charon:~/bin# btrfs scrub status /dev/sdb1
UUID:             f9655777-8c81-4d5e-8f14-c1906b7b27a3
Scrub started:    Sun Jul 17 10:27:39 2022
Status:           running
Duration:         1:59:29
Time left:        6095267:46:37
ETA:              Tue Nov 20 23:13:45 2717
Total to scrub:   4.99TiB
Bytes scrubbed:   5.48TiB
Rate:             801.72MiB/s
Error summary:    no errors found
root@charon:~/bin#

What version of btrfs-progs? Looks like 96ed8e801 fixed an issue with ETA reporting, which I'm guessing made it into btrfs-progs 5.2 or 5.2.1?

Signature · 1 line
Chris Murphy
#6 lore raw

btrfs-progs 5.4.1-2

-----Original Message-----
From: Chris Murphy <[email protected]>
Sent: 18 July 2022 20:51
To: David C. Partridge <[email protected]>
Cc: Btrfs BTRFS <[email protected]>
Subject: Re: Odd output from scrub status

Quoted 13 lines · David C. Partridge
root@charon:~/bin# btrfs scrub status /dev/sdb1
UUID:             f9655777-8c81-4d5e-8f14-c1906b7b27a3
Scrub started:    Sun Jul 17 10:27:39 2022
Status:           running
Duration:         1:59:29
Time left:        6095267:46:37
ETA:              Tue Nov 20 23:13:45 2717
Total to scrub:   4.99TiB
Bytes scrubbed:   5.48TiB
Rate:             801.72MiB/s
Error summary:    no errors found
root@charon:~/bin#

What version of btrfs-progs? Looks like 96ed8e801 fixed an issue with ETA reporting, which I'm guessing made it into btrfs-progs 5.2 or 5.2.1?

Signature · 1 line
Chris Murphy
#7 lore raw
Quoted 2 lines · David C. Partridge

btrfs-progs 5.4.1-2

Well, if you can find a newer version that'd help determine if it's a current bug or one long since fixed. Current version is 5.18.1.

Signature · 1 line
Chris Murphy
#8 lore raw

Intermittent problem ...

-----Original Message-----
From: Chris Murphy <[email protected]>
Sent: 19 July 2022 04:35
To: David C. Partridge <[email protected]>
Cc: Chris Murphy <[email protected]>; Btrfs BTRFS <[email protected]>
Subject: Re: Odd output from scrub status

Quoted 2 lines · David C. Partridge

btrfs-progs 5.4.1-2

Well, if you can find a newer version that'd help determine if it's a current bug or one long since fixed. Current version is 5.18.1.

Signature · 1 line
Chris Murphy