Re: zfs and 512/4096 sector sizes
Andriy Gapon <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.hardware,gmane.os.freebsd.questions |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "[email protected]"