From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 24 18:20:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A37ECBCD for ; Mon, 24 Mar 2014 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7E63A8AE for ; Mon, 24 Mar 2014 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OIK0L7052183 for ; Mon, 24 Mar 2014 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2OIK0eE052181; Mon, 24 Mar 2014 18:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 24 Mar 2014 18:20:00 GMT Resent-Message-Id: <201403241820.s2OIK0eE052181@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Vladislav V. Prodan" Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2E7DFA0C for ; Mon, 24 Mar 2014 18:14:04 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0EB90856 for ; Mon, 24 Mar 2014 18:14:04 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OIE3BO096167 for ; Mon, 24 Mar 2014 18:14:03 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2OIE3b9096166; Mon, 24 Mar 2014 18:14:03 GMT (envelope-from nobody) Message-Id: <201403241814.s2OIE3b9096166@cgiserv.freebsd.org> Date: Mon, 24 Mar 2014 18:14:03 GMT From: "Vladislav V. Prodan" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/187905: Confusion zpool with a block size in HDD - block size: 512B configured, 4096B native X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 18:20:00 -0000 >Number: 187905 >Category: misc >Synopsis: Confusion zpool with a block size in HDD - block size: 512B configured, 4096B native >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 18:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Vladislav V. Prodan >Release: FreeBSD 10.0 >Organization: support.od.ua >Environment: FreeBSD bimbo.YYY 10.0-STABLE FreeBSD 10.0-STABLE #0: Sun Mar 23 08:14:35 EET 2014 root@bimbo.YYY:/usr/obj/usr/src/sys/bimbo.3 amd64 >Description: On a machine using ZFS, after upgrading from 9.0 to 10.0, zpool status says: # zpool status pool: tank state: ONLINE status: One or more devices are configured to use a non-native block size. Expect reduced performance. action: Replace affected devices with devices that support the configured block size, or migrate data to a properly configured pool. scan: scrub repaired 0 in 4h42m with 0 errors on Mon Mar 24 05:38:49 2014 config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 gpt/system-ada1 ONLINE 0 0 0 block size: 512B configured, 4096B native errors: No known data errors ashift: 9 # zdb -U /boot/zfs/zpool.cache tank: version: 28 name: 'tank' state: 0 txg: 9794975 pool_guid: 14509785011519350988 hostid: 3616469326 hostname: 'bimbo.fitnessfactor.com.ua' vdev_children: 1 vdev_tree: type: 'root' id: 0 guid: 14509785011519350988 children[0]: type: 'disk' id: 0 guid: 17960990484356700785 path: '/dev/gpt/system-ada1' phys_path: '/dev/gpt/system-ada1' whole_disk: 1 metaslab_array: 30 metaslab_shift: 31 ashift: 9 asize: 495807889408 is_log: 0 DTL: 82314 create_txg: 4 # diskinfo -v /dev/ada0 /dev/ada0 512 # sectorsize 500107862016 # mediasize in bytes (466G) 976773168 # mediasize in sectors 4096 # stripesize 0 # stripeoffset 969021 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. S20BJ90D306953 # Disk ident. # smartctl -a /dev/ada0 smartctl 6.2 2014-02-18 r3874 [FreeBSD 10.0-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda SpinPoint F3 Device Model: ST500DM005 HD502HJ Serial Number: S20BJ90D306953 LU WWN Device Id: 5 0004cf 209d3bdd6 Firmware Version: 1AJ10001 User Capacity: 500 107 862 016 bytes [500 GB] Sector Size: 512 bytes logical/physical Rotation Rate: 7200 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 6 SATA Version is: SATA 2.6, 3.0 Gb/s Local Time is: Mon Mar 24 20:00:48 2014 EET SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED .. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: