Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 14:44:47 -0600
From:      Dustin Wenz <dustinwenz@ebureau.com>
To:        "<freebsd-fs@freebsd.org>" <freebsd-fs@freebsd.org>
Subject:   Using the *real* sector/block size of a mass storage device for ZFS
Message-ID:  <1487AF77-7731-4AF8-8E44-FF814BB8A717@ebureau.com>

next in thread | raw e-mail | index | archive | help
We have been upgrading systems from FreeBSD 9.2 to 10.0-RELEASE, and I'm =
noticing that all of my zpools now show this status: "One or more =
devices are configured to use a non-native block size. Expect reduced =
performance." Specifically, each disk reports: "block size: 512B =
configured, 4096B native".

I've checked these disks with diskinfo and smartctl, and they report a =
sector size of 512B. I understand that modern disks often use larger =
sectors due to addressing limits, but I'm unsure how ZFS can disagree =
with these other tools.

In any case, it looks like I will need to rebuild every zpool. There are =
many thousands of disks involved and the process will take months (if =
not years). How can I be I sure that this is done correctly this time? =
Will ZFS automatically choose the correct block size, assuming that it's =
really capable of this?

In the meantime, how can I turn off that warning message on all of my =
disks? "zpool status -x" is almost worthless due to the extreme number =
of errors reported.

	- .Dustin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1487AF77-7731-4AF8-8E44-FF814BB8A717>