On 03/18/10 11:09 AM, Bill Sommerfeld wrote:
On 03/17/10 14:03, Ian Collins wrote:
I ran a scrub on a Solaris 10 update 8 system yesterday and it is 100%
done, but not complete:
scrub: scrub in progress for 23h57m, 100.00% done, 0h0m to go
Don't panic. If "zpool iostat" still shows active reads from all
disks in the pool, just step back and let it do its thing until it
says the scrub is complete.
There's a bug open on this:
6899970 scrub/resilver percent complete reporting in zpool status can
be overly optimistic
scrub/resilver progress reporting compares the number of blocks read
so far to the number of blocks currently allocated in the pool.
If blocks that have already been visited are freed and new blocks are
allocated, the seen:allocated ratio is no longer an accurate estimate
of how much more work is needed to complete the scrub.
Before the scrub prefetch code went in, I would routinely see scrubs
last 75 hours which had claimed to be "100.00% done" for over a day.
Arse, thanks Bill. I just stopped and restarted the scrub!
--
Ian.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss