From: David Kirkby on
I've got a cron job that scrubs my ZFS pools once a month. When the
scrub is in progress, running

# zpool status

I would see that a scrub is in progress, how long it has taken, and
the estimated time to complete. Yet very often, when I run 'zpool
status' it does not show the date of the last scrub, but shows 'none
requested'. See below.

The hardware is a Sun Ultra 27, with 2 x 500 GB disks and 2 x 2 TB
disks. It is running OpenSolaris 06/2009.

drkirkby(a)hawk:~$ /usr/sbin/zpool status
pool: bpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
bpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c7t3d0 ONLINE 0 0 0
c7t4d0 ONLINE 0 0 0

errors: No known data errors

pool: rpool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c7t1d0s0 ONLINE 0 0 0
c7t2d0s0 ONLINE 0 0 0

errors: No known data errors


Any ideas?

From: Casper H.S. Dik on
David Kirkby <drkirkby(a)gmail.com> writes:

>I've got a cron job that scrubs my ZFS pools once a month. When the
>scrub is in progress, running

># zpool status

>I would see that a scrub is in progress, how long it has taken, and
>the estimated time to complete. Yet very often, when I run 'zpool
>status' it does not show the date of the last scrub, but shows 'none
>requested'. See below.

>The hardware is a Sun Ultra 27, with 2 x 500 GB disks and 2 x 2 TB
>disks. It is running OpenSolaris 06/2009.

>drkirkby(a)hawk:~$ /usr/sbin/zpool status
> pool: bpool
> state: ONLINE
> scrub: none requested

The data is not remembered after a reboot.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
From: David Kirkby on
On Feb 25, 10:03 am, Casper H.S. Dik <Casper....(a)Sun.COM> wrote:
> David Kirkby <drkir...(a)gmail.com> writes:
> >I've got a cron job that scrubs my ZFS pools once a month. When the
> >scrub is in progress, running
> ># zpool status
> >I would see that a scrub is in progress, how long it has taken, and
> >the estimated time to complete. Yet very often, when I run 'zpool
> >status' it does not show the date of the last scrub, but shows 'none
> >requested'. See below.
> >The hardware is a Sun Ultra 27, with 2 x 500 GB disks and 2 x 2 TB
> >disks. It is running OpenSolaris 06/2009.
> >drkirkby(a)hawk:~$ /usr/sbin/zpool status
> >  pool: bpool
> > state: ONLINE
> > scrub: none requested
>
> The data is not remembered after a reboot.
>
> Casper

Thank you Casper. That explains it.

Dave