Date: Mon, 19 Jul 2010 15:25:43 -1000 From: Clifton Royston <cliftonr@lava.net> To: Garrett Moore <garrettmoore@gmail.com> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: Problems replacing failing drive in ZFS pool Message-ID: <20100720012542.GA25848@lava.net> In-Reply-To: <AANLkTinwLoewve_f7dw4kMh_2Wl9WEmD8JaKHQZqSPix@mail.gmail.com> References: <AANLkTimOIgCIO4txpPeeoMrRSYAqM25V7cm-h7djmZUC@mail.gmail.com> <AANLkTikPOgIqkm3GhIsEnvuvEHvlc44cnh6GJQ1k7Ja_@mail.gmail.com> <AANLkTimgi2Btzv9krZZPHCPiyCcwtQyF72BmRzA1kuvi@mail.gmail.com> <AANLkTinm-kYD2vwTBCh49AeU0oxuPSOPXjusMa3FGk1h@mail.gmail.com> <AANLkTikPJDoiTUwNHVtTDiFMdFkm6v6_ra8JYkuChBJC@mail.gmail.com> <AANLkTikCCmGmIcRpj7gjnRBEfLE40IjOmelMYu9WkSUO@mail.gmail.com> <4C44B104.2050000@libeljournal.com> <AANLkTinnAxJxARcJrDgYxnpql2n2a_6bQc7fSuZLAzuF@mail.gmail.com> <AANLkTinG0k8oi_eTBNsKES9Gt2qXEvDGz6pwAp-kUeSg@mail.gmail.com> <AANLkTinwLoewve_f7dw4kMh_2Wl9WEmD8JaKHQZqSPix@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 19, 2010 at 06:28:16PM -0400, Garrett Moore wrote: > Well thank you very much Western Digital for your absolutely pathetic RMA > service sending me an inferior drive. I'll call tomorrow and see what can be > done; I'm going to insist on these 00R6B0 drives being sent back, and being > given a drive of >= 1,500,301,910,016 bytes capacity. > > At least now I learned how to hotswap :/ This is the wrong time to find it out, I know, but: For geom mirror purposes I have taken to carving out HD partitions which are exactly a round number of GiB, and at least 100 MiB less than the claimed capacity. I then label the partitions using geom label, and use the partition label specification in setting up the mirror. The first means that when an unannounced change in drive capacity like this happens, I can still add the smaller drive into a RAID set of larger drives painlessly, because the partition sizes will still match exactly. (It also means that if I can only find a larger drive, e.g. if 1TB drives later drop off the market or are more expensive than larger drives, I can easily add a larger drive into the set by making its partition size match the rest.) The second means that if the BIOS/probing sequence does its little dance and the drives end up getting renumbered, it does not affect which drive is which part of what mirror in the slightest. The space sacrificed is trivial compared to the convenience and safety net. I think I got both those suggestions on this list, and I would hope (assume?) that they have equivalents under ZFS. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100720012542.GA25848>