Richard Arends wrote: > On Fri, Nov 09, 2007 at 09:35:59PM +0100, Henri Hennebert wrote: > >>> This won't start the scrubs at the same time, but after each other. And >>> the second will only start if the first one not fails (exitcode == 0) >>> >> Not at all, the scrub is asynchronious, I'm sure of it > > Running 2 commands seperated by && will not run at the same time. Scrub > could be asynchronious, i don't know, but that has nothing to do with the > way you are running it. > > See: echo "sleep 1" && time sleep 2 && echo "sleep 2" && time sleep 2 > and: ls -l /notfound && echo yes Per the man page, zpool scrub *begin* a scrub witch go on in background, so two scrubs are running simustaneously on 2 different pools. HenriReceived on Fri Nov 09 2007 - 21:28:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC