Possible/Advisable to force two simultaneous scrubs?

All your general support questions for OpenZFS on OS X.

Possible/Advisable to force two simultaneous scrubs?

Postby RobRehnmark » Fri Aug 12, 2016 1:53 am

From reading the man page on zpool I understand that it's not possible to start two scrubs and have them run simultaneous.
Code: Select all
Because scrubbing and resilvering are I/O-intensive operations, ZFS only allows one  at  a  time.
If  a  scrub  is already  in progress, the "zpool scrub" command terminates it and starts a new scrub.


Maybe this is stupid but unless potentially disastrous it would make sense to me to scrub both my pools at the same time.
If the reason is not technical but only about system load and performance, is there any way of forcing two simultaneous scrubs?
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am

Re: Possible/Advisable to force two simultaneous scrubs?

Postby macz » Fri Aug 12, 2016 4:52 am

I routinely scrub 3 pools at the same time no issues on a lowly code duo e8400 with 8gb ram. 2 12tb pools and a 4tb pool. Some on sata sockets, some on 1068 and one 8drive pool on 1x pcie seats card.
macz
 
Posts: 53
Joined: Wed Feb 03, 2016 4:54 am

Re: Possible/Advisable to force two simultaneous scrubs?

Postby RobRehnmark » Fri Aug 12, 2016 7:49 am

Ok, I guess if that's the case then the man page doesn't reflect the actual functionality.
It says when a scrub is started it will automatically stop any other scrub.
Well, I'll give it a go..
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am

Re: Possible/Advisable to force two simultaneous scrubs?

Postby Tip » Fri Aug 12, 2016 1:18 pm

RobRehnmark wrote:Ok, I guess if that's the case then the man page doesn't reflect the actual functionality.
It says when a scrub is started it will automatically stop any other scrub.
Well, I'll give it a go..


I believe, it is meant for "scrubbing the same pool". If you start a scrub for poolA, then forget that you did and try to start a scrub for the same poolA again, it will automatically cancel the on-going scrub and start the new one.
Tip
 
Posts: 2
Joined: Thu Jun 30, 2016 5:42 am

Re: Possible/Advisable to force two simultaneous scrubs?

Postby RobRehnmark » Sat Aug 13, 2016 12:00 am

Tip wrote:
RobRehnmark wrote:Ok, I guess if that's the case then the man page doesn't reflect the actual functionality.
It says when a scrub is started it will automatically stop any other scrub.
Well, I'll give it a go..


I believe, it is meant for "scrubbing the same pool". If you start a scrub for poolA, then forget that you did and try to start a scrub for the same poolA again, it will automatically cancel the on-going scrub and start the new one.


Yes, it seems so.
Maybe that could be clarified in the man page?
As it is now it's not technically correct.
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 39 guests