From owner-freebsd-questions@freebsd.org Wed May 11 18:13:54 2016 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 64C2AB37964 for ; Wed, 11 May 2016 18:13:54 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA HLL ISSUER 01" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A54217AC for ; Wed, 11 May 2016 18:13:53 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id A275861269 for ; Wed, 11 May 2016 14:13:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1eCpBTBdGpII for ; Wed, 11 May 2016 14:13:49 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id BA74D61EA2 for ; Wed, 11 May 2016 14:13:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1462990429; bh=cOMJImTW+vgd36q5aAri9vXt3iDEVYuVE2K8FPOdUmw=; h=In-Reply-To:References:Date:Subject:From:To:Reply-To; b=R8rn8PRat2j4mvC9gjb5rYsv/8GzXVnCqWpvEMd+vRfWh6cCwHK5rDEnC4iPlO7tt BLvMjG5ufL4IGcXCciJIpdlTX1FAoh/xgz8qH1+ncpZK0Y/n7oYA/ryJVhDSC+lrbR ASpGLqc53gtrL5/LoTQGrie4vMtjYIdC3xrtTXL+Jzc+pniQqMck41w0IVzms2rBkQ orz3Fo47brzQ6V2otY0cThrpIYtaehKWFTmaQ9dd7JXkgTq8SA4YDxAblirINCWs4I lqFhEI18hrM9XOw0dwzOQ/9Af7ppnzNSTjZ6Q18epf3JBlG/w+2q7apLNV+bE7k3xC LN6GfNdQusZbw== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb) by webmail.harte-lyne.ca with HTTP; Wed, 11 May 2016 14:13:49 -0400 Message-ID: <5845c9cfc3bed4171df9b4b386573782.squirrel@webmail.harte-lyne.ca> In-Reply-To: <0409d2208ccce8e2f9e0ce6526bf6756.squirrel@webmail.harte-lyne.ca> References: <0409d2208ccce8e2f9e0ce6526bf6756.squirrel@webmail.harte-lyne.ca> Date: Wed, 11 May 2016 14:13:49 -0400 Subject: Re: FreeBSD-10.3 root ZFS redux From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 18:13:54 -0000 On Wed, May 11, 2016 13:34, James B. Byrne wrote: > We have eight (8) 3Tbyte drives on a system upon which I am installing > FreeBSD. The quest arises of whether one should simply grab all of > the disks or partition them to reserve a spare area. The reason put > forth for partitioning is this statement in man zspool(8): > > > zpool replace [-f] pool device [new_device] > > Replaces old_device with new_device. This is equivalent > to attaching new_device, waiting for it to resilver, and > then detaching old_device. > > The size of new_device must be greater than or equal to > the minimum size of all the devices in a mirror or raidz > configuration. > > One can conceive of a 3Tb drive which has slightly more or fewer > accessible sectors than its nominal size. If the zspool incorporates > a drive with fewer accessible sectors than average for its nominal > size and one seeks to replace it with a similar drive that has more > than average for the same nominal capacity then what is the result? > Is the new drive accepted or rejected? > > I managed to get this reversed in my head as I composed. The question is what happens when a nominally 3TB HDD is put in that has fewer accessible sectors than a similar 3TB drive already present? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3