From owner-svn-src-all@FreeBSD.ORG Mon Dec 6 21:16:09 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28A6D1065696; Mon, 6 Dec 2010 21:16:09 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id B687F8FC1C; Mon, 6 Dec 2010 21:16:08 +0000 (UTC) Received: by muon.cran.org.uk (Postfix, from userid 1001) id 1A867E7170; Mon, 6 Dec 2010 21:16:08 +0000 (GMT) Date: Mon, 6 Dec 2010 21:16:08 +0000 From: Bruce Cran To: Ivan Voras Message-ID: <20101206211607.GA65110@muon.cran.org.uk> References: <201012061218.oB6CI3oW032770@svn.freebsd.org> <20101206195327.GD1936@garage.freebsd.pl> <201012061518.49835.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek , John Baldwin Subject: Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 21:16:09 -0000 On Mon, Dec 06, 2010 at 09:31:39PM +0100, Ivan Voras wrote: > For what it's worth, apparently linux has the concept of "physical" > and "logical" sector sizes (possibly in addition to "stripe size"), > with physical being 4096 and logical 512, for example: > > # hdparm -I /dev/sde | grep size > Logical Sector size: 512 bytes > Physical Sector size: 4096 bytes > device size with M = 1024*1024: 1430799 MBytes > device size with M = 1000*1000: 1500301 MBytes (1500 GB) So do we, except they're both the same for Advanced Format drives: # camcontrol identify /dev/ada1 ... device model WDC WD10EARS-00Z5B1 ... sector size logical 512, physical 512, offset 0 I don't know if Linux has a quirks list that 'corrects' the physical sector size? -- Bruce Cran