[OpenIndiana-discuss] Scrub on single ZFS volume

Michelle michelle at msknight.com
Mon Oct 23 08:43:44 UTC 2023


On Mon, 2023-10-23 at 10:30 +0200, Marcel Telka wrote:
> > Does a scrub still make sense when there isn't any parity?
> Yes
> From the zpool man page:
> 
>      zpool scrub [-s | -p] pool...
>              Begins a scrub or resumes a paused scrub.  The scrub
> examines all
>              data in the specified pools to verify that it checksums
> correctly.
>              For replicated (mirror or raidz) devices, ZFS
> automatically repairs
>              any damage discovered during the scrub.  The zpool
> status command
>              reports the progress of the scrub and summarizes the
> results of the
>              scrub upon completion.
> 

OK - so basically, even though it can't repair damage, (as there is no
parity) at least it can flag up that checksums didn't check.




More information about the openindiana-discuss mailing list