Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 08:30:22 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: getting to 4K disk blocks in ZFS
Message-ID:  <5411A3EE.4040202@denninger.net>
In-Reply-To: <E1XS0KJ-000Hhc-Lu@dilbert.ingresso.co.uk>
References:  <540FF3C4.6010305@ish.com.au> <54100258.2000505@freebsd.org> <E1XS0KJ-000Hhc-Lu@dilbert.ingresso.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms030001000802070007020408
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable


On 9/11/2014 4:06 AM, Pete French wrote:
>> This may never hit you, but ZFS is built on the assumption, that it
>> cannot happen at all, which is no longer true with 4KB drives that
>> are used with ashift=3D9.
> Have just been reading this thread, and as people are suggesting
> moving ashift from 9 to 12, doesnt using use 512B drives with
> ahift=3D12 also violate this ? Or is it smart enough ot know that
> the underlying sectors are separate ?
>

No, because in order for the "write" (as ZFS sees it) to succeed all of=20
them must succeed.

The problem comes when the *drive* (or controller) does a=20
read-replace-write, because ZFS is unaware of the underlying act and=20
"silent" corruption can thus (at least theoretically) happen.

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/

--------------ms030001000802070007020408
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFTzCC
BUswggQzoAMCAQICAQgwDQYJKoZIhvcNAQEFBQAwgZ0xCzAJBgNVBAYTAlVTMRAwDgYDVQQI
EwdGbG9yaWRhMRIwEAYDVQQHEwlOaWNldmlsbGUxGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM
TEMxHDAaBgNVBAMTE0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2pTndcZtXvnhU8ZObxV8uywCxcbj0K4VD
CzswW+93eA/3FcYeNj/Az2iIIJUcoutKZedujk5e58C4RDn5m5eBtFRcMGMeqSs7nnB4CVwn
HF708wjKE9WiFWBYZgkTOWBtZJaIhIfPdpmcDKL2DfojbU3NxtYN1FZm0FU0FcKtAQcigJS/
2RWmYP/5/mwCcXsbHBPpRKIoLnWhNy3PKEL65IWCbleKYljHMtzSccC/k9qaBExtz9u8vYV6
wa+8bP4AAAAAAAA=
--------------ms030001000802070007020408--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5411A3EE.4040202>