From owner-freebsd-fs@freebsd.org Mon Aug 10 10:37:09 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A1E0998F58 for ; Mon, 10 Aug 2015 10:37:09 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0A4CB25 for ; Mon, 10 Aug 2015 10:37:08 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.130.244] (helo=fabiankeil.de) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZOkP4-0005f6-0t; Mon, 10 Aug 2015 12:34:02 +0200 Date: Mon, 10 Aug 2015 12:34:53 +0200 From: Fabian Keil To: Willem Jan Withagen Cc: freebsd-fs@freebsd.org Subject: Re: Urgently need some help solving lost space due to snapshots during receive op Message-ID: <60563a3f.3d0a7128@fabiankeil.de> In-Reply-To: <55C863DE.3000200@digiware.nl> References: <55C82BCD.2050404@herveybayaustralia.com.au> <55C863DE.3000200@digiware.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/cdFuXofdsTrXI7cHWY/.W6B"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 10:37:09 -0000 --Sig_/cdFuXofdsTrXI7cHWY/.W6B Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Willem Jan Withagen wrote: > On 10-8-2015 06:42, Da Rock wrote: > > I'm trying to move a pool from one system to another - exact same hdd > > and config, different in other areas. Both register same space > > available, and so should be no issue. The old system is quite full - > > still at least 5% free though. > Are the versions of your FreeBSD also equal? >=20 > Because in newer version, the free space reservation is significantly > bigger. So if disks are equal size, then with newer FreeBSDs you have > less usable space available. > Don't know the exact SVN commit where it happened. But there are more > question on this topic in the list, and they all boil down to the same > thing: ZFS needs more reserved space to be able to do certain things > without freezing the system. >=20 > I've not read any suggestions that you can circumvent this setting. You can increase the usable space by increasing vfs.zfs.spa_slop_shift: fk@r500 ~ $sysctl vfs.zfs.spa_slop_shift vfs.zfs.spa_slop_shift: 6 fk@r500 ~ $zfs list tank NAME USED AVAIL REFER MOUNTPOINT tank 190G 34.4G 136K /tank fk@r500 ~ $sudo sysctl vfs.zfs.spa_slop_shift=3D7 vfs.zfs.spa_slop_shift: 6 -> 7 fk@r500 ~ $zfs list tank NAME USED AVAIL REFER MOUNTPOINT tank 190G 36.2G 136K /tank Fabian --Sig_/cdFuXofdsTrXI7cHWY/.W6B Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlXIfkoACgkQBYqIVf93VJ3EnACgjF1IaDtJFAX3qxTVaUI202lW qdIAn0VKfJtTGMPSDsW8ouj69sumVl+j =Rhh7 -----END PGP SIGNATURE----- --Sig_/cdFuXofdsTrXI7cHWY/.W6B--