`scrub` just hangs if pool is imported readonly

Developer discussions.

`scrub` just hangs if pool is imported readonly

Postby mrfusion » Thu May 15, 2025 4:25 am

I don't know where to report bugs, so I'll do it here.

$ zpool import -o readonly=on tank
$ zpool scrub tank

=> command just hangs forever. Should either work or return something like "Scrubbing a read-only pool is not supported".

zfs-macOS-2.2.3-1
zfs-kmod-2.2.2-1
mrfusion
 
Posts: 3
Joined: Thu May 25, 2023 2:51 pm

Re: `scrub` just hangs if pool is imported readonly

Postby Sharko » Mon May 19, 2025 8:07 pm

What version of the operating system are you running, and on which hardware platform (Apple Silicon/Intel)?
Sharko
 
Posts: 261
Joined: Thu May 12, 2016 12:19 pm

Re: `scrub` just hangs if pool is imported readonly

Postby Jimbo » Fri May 23, 2025 7:21 pm

Those kext versions don’t match, so something has gone wrong there - they should probably both be 2.2.3.

You might want to uninstall/reinstall and check again.
Jimbo
 
Posts: 150
Joined: Sun Sep 17, 2017 5:12 am


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 11 guests