>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 r...@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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"