endless zpool scrub?

Goran Lowkrantz glz at hidden-powers.com
Wed Nov 26 04:59:41 PST 2008


--On November 26, 2008 14:42:14 +0200 Andriy Gapon <avg at icyb.net.ua> wrote:

> on 26/11/2008 13:24 Goran Lowkrantz said the following:
>> Do you have a script or something that creates snapshots running?
>>
>> I used sysutils/zfs-snapshot-mgmt and did see the same as you, as a
>> running scrub is reset by a snapshot creation.
>
> Yes, I've just realized I had recently enabled zfs-snapshot-mgmt on this
> machine. And the time when scrub is "disrupted" is the time when
> snapshots are taken. Thank you!
>
>> If you are using this script, we have tested a modified version that
>> suspends snapshot creation on a pool that is scrubbing.
>
> I would be very grateful for the patch!
>
> --
> Andriy Gapon

Attached is the latest we have from the author. It suspends snapshots 
during scrubs and support recursive snapshots.

/glz


---
"There is hopeful symbolism in the fact that flags do not wave in a vacuum."
                -- Arthur C. Clarke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zfs-snapshot-mgmt
Type: application/octet-stream
Size: 6093 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20081126/f3ae88d9/zfs-snapshot-mgmt.obj


More information about the freebsd-fs mailing list