Date: Thu, 8 Oct 2015 08:20:21 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: ZFS best resilver settings? Message-ID: <56161935.9040405@FreeBSD.org> In-Reply-To: <5615D856.4000801@sneakertech.com> References: <5615D856.4000801@sneakertech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56161935.9040405>