From owner-freebsd-current@FreeBSD.ORG Fri Apr 9 11:19:40 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58E15106564A; Fri, 9 Apr 2010 11:19:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 060B68FC1F; Fri, 9 Apr 2010 11:19:38 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA17150; Fri, 09 Apr 2010 14:19:19 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4BBF0D36.8050900@icyb.net.ua> Date: Fri, 09 Apr 2010 14:19:18 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100319) MIME-Version: 1.0 To: Alexey Tarasov References: <1A417529-F467-4411-970A-3FF41080AC61@lexasoft.ru> <868w8yukuy.fsf@ds4.des.no> <6313EB8E-D3DA-459F-A372-0E871359FA1C@lexasoft.ru> <86zl1et4rv.fsf@ds4.des.no> <86mxxet437.fsf@ds4.des.no> <86eiiqt3kp.fsf@ds4.des.no> <846676C4-C1B8-44DB-AA01-B664614DE59F@lexasoft.ru> <20100408172421.62d73a90@ernst.jennejohn.org> <4BBDF7D3.3050300@andric.com> <4BBE4032.3030806@andric.com> <539094C7-278A-4674-8A06-E8BAF8F29E58@lexasoft.ru> In-Reply-To: <539094C7-278A-4674-8A06-E8BAF8F29E58@lexasoft.ru> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: =?UTF-8?B?YXYgU23DuHJncmF2?= , Dimitry Andric , mav@freebsd.org, current@freebsd.org Subject: Re: gpart and sector size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 11:19:40 -0000 on 09/04/2010 14:00 Alexey Tarasov said the following: > I've booted from dvd to fixit mode and got the following: > > FreeBSD 8.0-STABLE-201002 FreeBSD 8.0-STABLE-201002 #0: Tue Feb 16 21:05:59 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > ATA channel 0: > Master: ad0 ATA/ATAPI revision 0 > Slave: no device present > ATA channel 2: > Master: ad4 SATA revision 2.x > Slave: no device present > ATA channel 3: > Master: ad6 SATA revision 2.x > Slave: no device present > ATA channel 4: > Master: ad8 SATA revision 2.x > Slave: no device present > ATA channel 5: > Master: ad10 SATA revision 2.x > Slave: no device present > > /dev/ad4 > 512 # sectorsize > 1500301910016 # mediasize in bytes (1.4T) > 2930277168 # mediasize in sectors > 0 # stripesize > 0 # stripeoffset > 2907021 # Cylinders according to firmware. > 16 # Heads according to firmware. > 63 # Sectors according to firmware. > WD-WMAVU1512579 # Disk ident. > > Seems that mav@ commit doesn't work? o_O Or the disk doesn't actually report 4096 anywhere anyhow... Have you considered that? If yes, can you verify using any tools of any OS that the disk reports 4K in any way? P.S. DES's name looks strange in headers :-) P.P.S. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? > On 09.04.2010, at 0:44, Dimitry Andric wrote: > >> That said, if the physical sector size is larger than the logical >> sector size, the d_stripesize field is initialized with it. So if you >> run "diskinfo -v" on the disk, what is the output for stripesize? > > -- > Alexey Tarasov > > (\__/) > (='.'=) > E[: | | | | :]З > (")_(") > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Andriy Gapon