From owner-freebsd-current@FreeBSD.ORG Fri Apr 9 11:59:25 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 12A031065672 for ; Fri, 9 Apr 2010 11:59:25 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 868DF8FC21 for ; Fri, 9 Apr 2010 11:59:24 +0000 (UTC) Received: by fxm25 with SMTP id 25so683397fxm.3 for ; Fri, 09 Apr 2010 04:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=SH2nAToBACI2UUkrDSgzco079AE107El1CnUH8NgpkQ=; b=uWK9FEoMpF5Hb2Nej3LiEF7XZZuT0QyMylz8LCcczuIT5DqukIc5RONI6YwHzMu5Zd cjNI6ikSMVAwF6eze1I1UQR2+//73MkuDWEETqTr8Sqx5k1ZFOFOe1tZC5+OeaB2xOV7 I2o/ZRpMhctnflUG94YUtBDeFMIgt36aGToGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=mwwht45J0k2mVhS88LINfs+ZdfhD3TsVk3m7n+VahvFCa2cZdA83Bnsh/IPYEpdbma zcE1WVY7IqwSbW66H9tcWCMJTNyzFwvbU05erLVG7k+tjWSBZ6oFBeXIfG1SJAny9vxM icA+WV4+QGbNhqZAdYj81FMbpKCPIhho+MboU= Received: by 10.223.144.84 with SMTP id y20mr1531757fau.78.1270814363365; Fri, 09 Apr 2010 04:59:23 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 15sm693075fxm.15.2010.04.09.04.59.21 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 04:59:22 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BBF1694.8020604@FreeBSD.org> Date: Fri, 09 Apr 2010 14:59:16 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Andriy Gapon 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> <4BBF0D36.8050900@icyb.net.ua> <4BBF160B.8060104@FreeBSD.org> In-Reply-To: <4BBF160B.8060104@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?YXYgU23DuHJncmF2?= , Dimitry Andric , Alexey Tarasov , 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:59:25 -0000 Alexander Motin wrote: > Andriy Gapon wrote: >> on 09/04/2010 14:00 Alexey Tarasov said the following: >>> I've booted from dvd to fixit mode and got the following: >>> /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 > > Commit was to "ada" driver, not to "ad". > >> 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? > > My testing WDC Green disk with Advanced Format doesn't reports it's > physical sector size. I've studied it's IDENTIFY output even manually. > `camcontrol devinfo ada0 -v` dumps full identify data. Oops, I've meant `camcontrol identify ada0 -v`. -- Alexander Motin