From owner-freebsd-fs@freebsd.org Fri Nov 2 13:59:14 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 083A710F7B72 for ; Fri, 2 Nov 2018 13:59:14 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4DC6BDBF for ; Fri, 2 Nov 2018 13:59:13 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lj1-x229.google.com with SMTP id k19-v6so1818199lji.11 for ; Fri, 02 Nov 2018 06:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e2x4csgEa6zGA1bes6hP3pxYu+SsFtK+6YIMuVeUy7Y=; b=lPYhMH0r17EO6eN6WK21DwcO6Qgro5AiMl6nR/V8EcjK6455xYMvKCVxIpd71Y7Jzl z9Y/1FuvFCM2n1tRonpiYL+Miv+rbBX6IEM/t3Ry1/dVQ55WztCzgfzSFjtHLg1tHODJ xT7296a0OeE5gzC6FehJjoOCTYWnVqIQcaqOkOOB6zKb1v69ac9aCyBq/VbftAFqEINg FWu78zlIJeqllsQJ1J/6Jt4sttxIHR8f1r8TNWkDpOf2RX16DVTju6WDqr3NeEo81LXt NmdRK5X1Mo96TOX4296ECzK45VUIazzy7DufsI2HXooETfL3SGSSmpgG3hfLlMMkc+3d tg6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e2x4csgEa6zGA1bes6hP3pxYu+SsFtK+6YIMuVeUy7Y=; b=uNY2ZXwsbogH9NevwNa2nH2Itwd0vSanJtwTle1PowxeUWckVLw6ryvFa/AUrCR2Kr KTiWPXDQLg9xjXcTwQ7F4qVE9i/F5ekiuq/uWmsHc8juacAbvtDW84LUiRguDJDfex2Z T5E6ASJOw0gcYruwkcdT8kX3/gROqon1nmiFBWWiMTZ1Nc/7SSlSn1misRzgmdPR/66H DoAOdaS1Nyc+BennePvAORREhBT+VQKLueqNI6GOUEXBaBNucremRZjCUGZmFR/r+jNX OclFgooCtrn98Pe2Eo/LtBHNSEOoyWEgHJ3h3ovhA7VF3C74oUvcygc6eIhBR+L+pFo7 irCQ== X-Gm-Message-State: AGRZ1gJJd/MTutzqwtRLoMxK1NcgZiaRO+kkAfv55IvbE3bbhtAYPvPZ HVUU/EoekPay66JnU6bO7kRF74hD7g7un2eVFBXZbM36 X-Google-Smtp-Source: AJdET5e1p+ZIH4lwi3r2jEgxVyfvRFkhfRdCZflYWQwZ++mJhI/0JFhQpWkXf5Djkg5ctYbrjHxsi1pbsE4QvRZyKL8= X-Received: by 2002:a2e:59ca:: with SMTP id g71-v6mr7810081ljf.79.1541167151815; Fri, 02 Nov 2018 06:59:11 -0700 (PDT) MIME-Version: 1.0 References: <5BDC3DF5.9020501@andyit.com.au> In-Reply-To: From: Andreas Nilsson Date: Fri, 2 Nov 2018 14:54:56 +0100 Message-ID: Subject: Re: zpool scrub 9TB finishes in ~40 mins To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 13:59:14 -0000 On Fri, Nov 2, 2018 at 2:22 PM Miroslav Lachman <000.fbsd@quip.cz> wrote: > Andy Farkas wrote on 2018/11/02 13:07: > > > # zpool status z > > pool: z > > state: ONLINE > > status: One or more devices has experienced an error resulting in data > > corruption. Applications may be affected. > > action: Restore the file in question if possible. Otherwise restore the > > entire pool from backup. > > see: http://illumos.org/msg/ZFS-8000-8A > > scan: scrub in progress since Fri Nov 2 16:59:24 2018 > > 365G scanned out of 11.9T at 228M/s, 14h47m to go > > 2.47M repaired, 2.99% done > > I definitely need this speed of scrub! 238M/s is awesome. > I have RAIDZ from 4x ST4000VN000-1H4168 SC43 and the speed of scrub is > about 20MB/s. > > Scrub takes more than week to finish: > > pool: tank0 > state: ONLINE > status: Some supported features are not enabled on the pool. The pool can > still be used, but some features are unavailable. > action: Enable all features using 'zpool upgrade'. Once this is done, > the pool may no longer be accessible by software that does not > support > the features. See zpool-features(7) for details. > scan: scrub repaired 0 in 262h56m with 0 errors on Sun Sep 16 > 02:04:25 2018 > config: > > NAME STATE READ WRITE CKSUM > tank0 ONLINE 0 0 0 > raidz1-0 ONLINE 0 0 0 > gpt/disk0tank0 ONLINE 0 0 0 > gpt/disk1tank0 ONLINE 0 0 0 > gpt/disk2tank0 ONLINE 0 0 0 > gpt/disk3tank0 ONLINE 0 0 0 > > This is on HP ProLiant ML 110 G5 (very old machine) with only 5GB of RAM. > > Miroslav Lachman > As a data point I can add: $ zpool status storage-0 pool: storage-0 state: ONLINE scan: scrub in progress since Fri Nov 2 14:39:55 2018 293G scanned out of 2.85T at 424M/s, 1h45m to go 0 repaired, 10.06% done config: NAME STATE READ WRITE CKSUM storage-0 ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gpt/store-00 ONLINE 0 0 0 gpt/store-01 ONLINE 0 0 0 gpt/store-02 ONLINE 0 0 0 gpt/store-03 ONLINE 0 0 0 Speed is till increasing. This is on an old supermicro with CPU: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz and 8 gb of ram with and ST2000LM015-2E8174 SDM1 2.5'' spinning rust connected to the ahci0: Best regards Andreas