From owner-freebsd-questions@freebsd.org Thu Oct 8 07:20:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1490B9D0C22 for ; Thu, 8 Oct 2015 07:20:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AA2C29CD for ; Thu, 8 Oct 2015 07:20:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t987KR3B036187 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 8 Oct 2015 08:20:27 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t987KR3B036187 Authentication-Results: smtp.infracaninophile.co.uk/t987KR3B036187; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: ZFS best resilver settings? To: freebsd-questions@freebsd.org References: <5615D856.4000801@sneakertech.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56161935.9040405@FreeBSD.org> Date: Thu, 8 Oct 2015 08:20:21 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5615D856.4000801@sneakertech.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RGjFB2OAGhtrpBd3bJ6ffDBlJXFHC1vlo" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 07:20:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RGjFB2OAGhtrpBd3bJ6ffDBlJXFHC1vlo Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 08/10/2015 03:43, Quartz wrote: > (Not sure if this should be asked of -questions or -fs, I'll try here > first) >=20 > What's the best practice advice these days for how resilvering should b= e > set, assuming that "rebuilding the array before another drive dies" is > the only goal? Should the resilver be maxed out so it completes as fast= > as possible before another drive dies, should it be set as low as > possible to minimize load on the other drives to reduce the chances of > one dying, or does it matter? That depends on what other load your server is under, and how much you stand to lose if the server goes down. Resilvering doesn't necessarily trigger disk failures more frequently when done quickly as when done slowly -- if a disk spot has worn out and will fail on next access, then resilvering will eventually reach it however fast it runs. Ultimately, it's best to get the system back to full resilience promptly. The choice is between resilvering going as fast as possible vs. resilvering having as little as possible impact on the normal functioning of the server. The default settings are somewhere in the middle -- if your system will resilver in a few hours or maybe overnight, then resist the temptation to fiddle with the settings. On the other hand, if it's going to take days on end, then it may be worth while taking the temporary hit on performance and priotising resilvering just so you can get it over with. Cheers, Matthew --RGjFB2OAGhtrpBd3bJ6ffDBlJXFHC1vlo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWFhk7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT7xkP/0TJd5o9dyNKJD5EjaUiFJg7 FDQow4Dkl8mja3AIchM4LZ0dF1+cB5SYzNL4HjqmeGvWty0HZ+pUAPLZfiioGGmE WXOeS1ZU5Q8SaJQCGP7OBdzMkXz+CtKtgAGfV4O1UnANvUAC+pcU8lb/lXneiocM +OoajPwFKQ4j0j0C+DEiNZCrJj4uAoeHSxsnNb6CygiZ75NkppxSdj8lxNSxy+rJ wMYxdAtDbco5eUDSk1Gcy+pCA3JgdtlcdQI4FZEP0lkfyl6EQK323sJq3z3cEucT dkRMlK8ko92qbZp6QEijWz2dkxM1qUKSYyyxSEnrIvSg/wt/Nugw2BIG9lKbrUyu 0mDy7vHzQpXoBp24zLOIE8gbuECGPVNoQalIde81ILox/KwqxLNY+Fq4asHLe5yx ZZniiDMgbNl6UHqdeVzHOXRRFpfExFVQc4Bl3IJJjPvLPZ6rf/YXgnsjGQFipys/ +upNE59UTF3RqtnlQyLM/F4gn3P4rKQqviIcdXQUaujSG3MFghKUhpMHUvF/Anqm GGTPBpv9ObbZWqjAmMj6w3SVg24qcEy02nhl+HKuFwvBHmcvX1ipGMXCO4nUI8K9 jkDRcCDM+6Jdtd10CnQnWGRUokBtFpSagT+h2jdYVxLZH2lwfEzV7kt6XRcmnl79 qExeMtreEx1vR1VqAJb4 =CQ9R -----END PGP SIGNATURE----- --RGjFB2OAGhtrpBd3bJ6ffDBlJXFHC1vlo--