Date: Thu, 18 Dec 2014 01:12:00 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: Mike Tancsa <mike@sentex.net>, "freebsd-hardware@freebsd.org" <freebsd-hardware@FreeBSD.org>, freebsd-questions <freebsd-questions@FreeBSD.org> Subject: Re: zfs and 512/4096 sector sizes Message-ID: <54920DC0.8030200@FreeBSD.org> In-Reply-To: <5491E462.2020902@sentex.net> References: <5491E462.2020902@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17/12/2014 22:15, Mike Tancsa wrote: > 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 Does zpool clear help in this situation? -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54920DC0.8030200>