Re: ZFS scrub is finished?

2009-07-11 Thread Steve Bertrand
xorquew...@googlemail.com wrote: > On 2009-07-11 16:37:20, Steve Bertrand wrote: >> xorquew...@googlemail.com wrote: >>> On 2009-07-11 15:08:04, Steve Bertrand wrote: Perhaps it is as simple as cron-ing something like the following (of course, replace "zpool scrub" with my cat commands. >

Re: ZFS scrub is finished?

2009-07-11 Thread xorquewasp
On 2009-07-11 16:37:20, Steve Bertrand wrote: > xorquew...@googlemail.com wrote: > > On 2009-07-11 15:08:04, Steve Bertrand wrote: > > >> Perhaps it is as simple as cron-ing something like the following (of > >> course, replace "zpool scrub" with my cat commands. > > > Problem is that 'zpool scru

Re: ZFS scrub is finished?

2009-07-11 Thread Steve Bertrand
xorquew...@googlemail.com wrote: > On 2009-07-11 15:08:04, Steve Bertrand wrote: >> Perhaps it is as simple as cron-ing something like the following (of >> course, replace "zpool scrub" with my cat commands. > Problem is that 'zpool scrub' immediately returns with a success > error code if comman

Re: ZFS scrub is finished?

2009-07-11 Thread xorquewasp
On 2009-07-11 15:08:04, Steve Bertrand wrote: > xorquew...@googlemail.com wrote: > > Hello. > > > > I'd like to write a little shell script to run 'zpool scrub' on > > my disks weekly. I have two zpools. The manual page says that only > > one 'scrub' can be active at a time. > > > > Is there any

Re: ZFS scrub is finished?

2009-07-11 Thread Steve Bertrand
xorquew...@googlemail.com wrote: > Hello. > > I'd like to write a little shell script to run 'zpool scrub' on > my disks weekly. I have two zpools. The manual page says that only > one 'scrub' can be active at a time. > > Is there any reliable way to run 'zpool scrub X' and then run > 'zpool scru

ZFS scrub is finished?

2009-07-11 Thread xorquewasp
Hello. I'd like to write a little shell script to run 'zpool scrub' on my disks weekly. I have two zpools. The manual page says that only one 'scrub' can be active at a time. Is there any reliable way to run 'zpool scrub X' and then run 'zpool scrub Y' when the first has finished? Please CC me a