Date: Fri, 12 Sep 2014 21:18:45 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Mike Tancsa" <mike@sentex.net>, "Willem Jan Withagen" <wjw@digiware.nl>, "Peter Wemm" <peter@wemm.org>, <freebsd-stable@freebsd.org> Cc: Andriy Gapon <avg@freebsd.org>, Aristedes Maniatis <ari@ish.com.au> Subject: Re: getting to 4K disk blocks in ZFS Message-ID: <1319C84209BE4390AD5D7FAD8170BEB0@multiplay.co.uk> References: <540FF3C4.6010305@ish.com.au> <A0A549F7A4094F519A3660697AB4983F@multiplay.co.uk> <54114029.3060507@FreeBSD.org> <2128347.Ah5i0RTCvp@overcee.wemm.org> <541230F1.3060402@digiware.nl> <EC1EE440B161449CA1A578DBCCEEA274@multiplay.co.uk> <54132C13.6060605@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Mike Tancsa" <mike@sentex.net>
To: "Steven Hartland" <killing@multiplay.co.uk>; "Willem Jan Withagen" <wjw@digiware.nl>; "Peter Wemm" <peter@wemm.org>;
<freebsd-stable@freebsd.org>
Cc: "Andriy Gapon" <avg@freebsd.org>; "Aristedes Maniatis" <ari@ish.com.au>
Sent: Friday, September 12, 2014 6:23 PM
Subject: Re: getting to 4K disk blocks in ZFS
> On 9/12/2014 4:17 AM, Steven Hartland wrote:
>>>
>>> I reported the same fact for the new set of WD REDs I installed.
>>> Seems that ada and da have different quirks tables...
>>> So disks on SATA connectors on the motherboard are diagnosed as being
>>> 4Kb.
>>> The disks on my twa don't get the quirk and are considered 512b
>>
>> LMK the ident strings and I'll look to update the quirks tables.
>
> How does it work for controllers like mfi ? The disks come up as mfisyspd#
>
> They are supposedly 4K drives (when attached to ada). If I set vfs.zfs.min_auto_ashift=12 will it "fix" the problem ?
>
> === START OF INFORMATION SECTION ===
> Model Family: Samsung based SSDs
> Device Model: Samsung SSD 840 PRO Series
> Serial Number: S1ANNSAF225154J
> LU WWN Device Id: 5 002538 5a01d79fd
> Firmware Version: DXM05B0Q
> User Capacity: 128,035,676,160 bytes [128 GB]
> Sector Size: 512 bytes logical/physical
> Rotation Rate: Solid State Device
> Device is: In smartctl database [for details use: -P show]
> ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
> SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
> Local Time is: Fri Sep 12 09:17:42 2014 EDT
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> # mfiutil show drives
> mfi0 Physical Drives:
> 8 ( 119G) JBOD <Samsung SSD 840 5B0Q serial=S1ANNSAF225154J> SATA E1:S1
> 9 ( 119G) JBOD <Samsung SSD 840 5B0Q serial=S1ANNSAF225153X> SATA E1:S0
> 10 ( 119G) JBOD <Samsung SSD 840 5B0Q serial=S1ANNSAF225159P> SATA E1:S3
> 11 ( 119G) JBOD <Samsung SSD 840 5B0Q serial=S1ANNSAF225160E> SATA E1:S2
Quirks are only valid for CAM supported drivers, any RAID which don't use
CAM will bypass this. If you set min_auto_ashift=12 you will ensure that
new pools created will use a min of 4k blocks.
Regards
Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1319C84209BE4390AD5D7FAD8170BEB0>
