Skip to content

Scrub pause seams to do nothing -> Scrub starts at beginning #17440

@hdiethelm

Description

@hdiethelm

System information

Type Version/Name
Distribution Name Debian
Distribution Version Bookworm
Kernel Version 6.12.27+bpo-amd64
Architecture amd64
OpenZFS Version 2.3.1

Describe the problem you're observing

Scrub pause seams to be not working:

sudo zpool scrub tank1
#After some hours:
zpool status tank1
#   pool: tank1
#  state: ONLINE
#   scan: scrub in progress since Sun Jun  8 12:43:45 2025
# 	4.75T / 12.8T scanned at 327M/s, 3.06T / 12.8T issued at 211M/s
# 	0B repaired, 23.87% done, 13:28:54 to go

sudo zpool scrub -p tank1
zpool status tank1
#   pool: tank1
#  state: ONLINE
#   scan: scrub paused since Sun Jun  8 17:00:20 2025
# 	scrub started on Sun Jun  8 12:43:45 2025
# 	0B / 12.8T scanned, 0B / 12.8T issued
#  	0B repaired, 0.00% done

#Why back to 0B?

reboot
sudo zpool scrub tank1
zpool status tank1
#  pool: tank1
# state: ONLINE
#   scan: scrub in progress since Sun Jun  8 12:43:45 2025
# 	3.97T / 12.8T scanned at 94.4G/s, 4.11G / 12.8T issued at 97.9M/s
# 	0B repaired, 0.03% done, 1 days 14:05:30 to go

#After some hours
zpool status tank1
#   pool: tank1
#  state: ONLINE
#   scan: scrub in progress since Sun Jun  8 12:43:45 2025
# 	4.75T / 12.8T scanned at 553M/s, 1.78T / 12.8T issued at 207M/s
# 	0B repaired, 13.89% done, 15:29:56 to go

Describe how to reproduce the problem

See above.

Include any warning/errors/backtraces from the system logs

There is nothing, it's just starting at the beginning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions