ASHIFT=13 by default.

Xin Li delphij at delphij.net
Thu Dec 4 22:47:41 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 12/04/14 12:25, Steven Hartland wrote:
> If thats the case the underlying storage will be reporting a
> logical block size of 8k.
> 
> Assuming that's the case then this is expected / correct behavior.

It is: 8k is the default zvol blocksize.

BTW. Why bother to create zpools over zvols?  Wouldn't it mean double
checksumming?

Cheers,

> On 04/12/2014 19:05, Zaphod Beeblebrox wrote:
>> So... I think I answered at least a small part of my confusion
>> with the test ZFS datasets.  I created them with 'zpool create
>> vrx raidz /dev/zvol/*' ... and it would appear that the default
>> behavior for this is to assign ASHIFT to be 13 ... which makes
>> these test pools rater unrepresentative of ordinary zfs pools.
>> 
>> That means that many people using test ZFS pools are testing with
>> 8k blocks (not even just 4k blocks).  While I can immediately
>> understand what I need to do to get a representative test, I'm
>> posting because other people may have been similarly confused. 
>> _______________________________________________ 
>> freebsd-fs at freebsd.org mailing list 
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs To
>> unsubscribe, send any mail to
>> "freebsd-fs-unsubscribe at freebsd.org"
> 
> _______________________________________________ 
> freebsd-fs at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs To
> unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


- -- 
Xin LI <delphij at delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.0 (FreeBSD)

iQIcBAEBCgAGBQJUgOSJAAoJEJW2GBstM+nsCyQP/12VpHMjMvDTDKzvJW2XeE5/
K4tF6YU8fP6/5MD+YIongCKeUBd9lkRaRH0WU0jdIwH60OlQMniJAngd+4ENw9Bn
VBj3QWI7SmU0EQ5xJbxx6P68JjmA0ySZx2cq6qrAZSiE/yNkKfvFphYRNKAuHcdn
m9CJBzP+THlVPCioeD++MF3AaQ8jSHQ59HRY2qU49vnrqc5HdNWRo79coh+tYlld
xMNGSj9y4/r5LFjI2bUqKBqg5XoAdx6678WtDVq43i7FXTa0OUk/IEHhJDCuJuQ7
kIutG2Dz43ElezoLFSUTqlhR0rotHaHVZEWLb6pz01bb0FOgWP4YAHEaOIoLA2bT
GOTjY6T4Y0drc0FBiIGpvNXSweEWxA259h9prr8JIjMnd/kiq3HyznoIxr2HYoPv
Hznnli3aBl3I4SKyGOXfxV6qyv7RGIht7jjS94clLl+YcWiIWy68wEV351/yyRb9
ylx5zwqLkoW26r4Z+M0edZRtlsoVaRCvoekaQXYENqEsydfQcr4Xjng5ww20t/F5
aXTWa8mXmiPhSGxWaVNh5qY71yPIsPWhIHda0e4Kyo7N0/xBJUTuOHSN1vwInDgk
1ksulExXvIizR53zotzhLDm3wa0H5kxNav9A8KHoZJEtu//dbWb4JMnOn6UvqDfx
3E6GAv+bWgIRuYjtNgue
=xpV9
-----END PGP SIGNATURE-----


More information about the freebsd-fs mailing list