From owner-freebsd-fs@FreeBSD.ORG Thu Dec 4 22:47:41 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 632A52F8 for ; Thu, 4 Dec 2014 22:47:41 +0000 (UTC) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A3BC1A4 for ; Thu, 4 Dec 2014 22:47:41 +0000 (UTC) Received: from zeta.ixsystems.com (unknown [12.229.62.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id E14A413AC0; Thu, 4 Dec 2014 14:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1417733260; x=1417747660; bh=6RJXJf+NNdXNMyWcGm1lEjyYVoofTGzbYysMxnNmLx4=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=1s5K20i+vlch30xuPQBCT0P3vegqww52A3MU1o+u9svWUaOFZHP6gAy6nC2fMILSS 9SFuuXVW8ADAqYQ1H6d1C7aokxCT4bqbA5aVgnPAitoNn+4rJNm8A5XuBx2zSsQrkz Op7cDmmUlkbgRy/SXX+fev/ew9cGHFmD7hzrbN0c= Message-ID: <5480E48C.6040801@delphij.net> Date: Thu, 04 Dec 2014 14:47:40 -0800 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: Steven Hartland , freebsd-fs@freebsd.org Subject: Re: ASHIFT=13 by default. References: <5480C336.8020901@multiplay.co.uk> In-Reply-To: <5480C336.8020901@multiplay.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 22:47:41 -0000 -----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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs To >> unsubscribe, send any mail to >> "freebsd-fs-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs To > unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" - -- Xin LI 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-----