On a remote server, I replaced a dead 2TB disk with a new one that had 4096K sectors.

2014-12-11.22:40:30 zpool replace -f tank1 16144392433229115618 /dev/ada0


My ZFS pool then warned me after

  pool: tank1
 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.

Camcontrol and smartctl confirm the 2TB drive was indeed 4096. (All my previous ones were 512, so didnt think to check)

# camcontrol identify ada0 | grep secto
sectors/track         63
sector size           logical 512, physical 4096, offset 0
LBA supported         268435455 sectors
LBA48 supported       3907029168 sectors

# smartctl -a /dev/ada0 | grep -i 512
Sector Sizes:     512 bytes logical, 4096 bytes physical

So, with a new drive, I replaced the 4096 drive

2014-12-16.17:07:14 zpool replace tank1 ada0 ada11

# smartctl -a /dev/ada11 | grep -i 512
Sector Size:      512 bytes logical/physical
# camcontrol identify ada11 | grep -i sector
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       3907029168 sectors

yet, zfs is still complaining

# zpool status
  pool: tank1
 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: resilvered 898G in 8h4m with 0 errors on Wed Dec 17 15:01:18 2014
config:

        NAME        STATE     READ WRITE CKSUM
        tank1       ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            ada12   ONLINE       0     0     0
            ada10   ONLINE       0     0     0
            ada6    ONLINE       0     0     0
            ada14   ONLINE       0     0     0
          raidz1-1  ONLINE       0     0     0
ada11 ONLINE 0 0 0 block size: 512B configured, 4096B native
            ada1    ONLINE       0     0     0
            ada8    ONLINE       0     0     0
            ada9    ONLINE       0     0     0
          raidz1-2  ONLINE       0     0     0
            ada13   ONLINE       0     0     0
            ada4    ONLINE       0     0     0
            ada5    ONLINE       0     0     0
            ada7    ONLINE       0     0     0

errors: No known data errors


# zdb | grep -i shift
            metaslab_shift: 35
            ashift: 9
            metaslab_shift: 35
            ashift: 9
            metaslab_shift: 35
            ashift: 9

This is RELENG_9 r275680

Any ideas if the reporting is cosmetic ? Or there is an issue

Sorry for the xpost as this is sort of both a hardware and config issue.

        ---Mike


--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
freebsd-hardware@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "freebsd-hardware-unsubscr...@freebsd.org"

Reply via email to