[Bug 1548009] Re: ZFS pools should be automatically scrubbed

Richard Laager rlaager at wiktel.com
Mon Mar 14 16:50:14 UTC 2016


Is this going to make the Xenial release? What needs to be done still?

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1548009

Title:
  ZFS pools should be automatically scrubbed

Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  mdadm automatically checks MD arrays. ZFS should automatically scrub
  pools.

  I've attached a debdiff which accomplishes this.

  The meat of it is the scrub script I've been using (and recommending
  in my HOWTO) for years, which scrubs all *healthy* pools. If a pool is
  not healthy, scrubbing it is bad for two reasons: 1) It adds a lot of
  disk load which could lead to another failure. We should save that
  disk load for resilvering. 2) Performance is already less on a
  degraded pool and scrubbing will make that worse.

  The cron.d in this patch scrubs on the second Sunday of the month.
  mdadm scrubs on the first Sunday of the month. This way, if a system
  has both MD and ZFS pools, the load doesn't all happen at the same
  time. If the system doesn't have both types, it shouldn't really
  matter which week.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1548009/+subscriptions



More information about the Ubuntu-sponsors mailing list