From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 04:15:48 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4A29E9FA; Thu, 4 Jul 2013 04:15:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B62EC1C17; Thu, 4 Jul 2013 04:15:47 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r644FdjJ031978; Thu, 4 Jul 2013 07:15:39 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r644FdjJ031978 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r644FdGQ031977; Thu, 4 Jul 2013 07:15:39 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 4 Jul 2013 07:15:39 +0300 From: Konstantin Belousov To: Steven Hartland Subject: Re: kern/180236: [zfs] [nullfs] Leakage free space using ZFS with nullfs on 9.1-STABLE Message-ID: <20130704041539.GE91021@kib.kiev.ua> References: <201307040000.r64001v6076818@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ra0fXv3AZ0rgmm73" Content-Disposition: inline In-Reply-To: <201307040000.r64001v6076818@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 04:15:48 -0000 --Ra0fXv3AZ0rgmm73 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 04, 2013 at 12:00:01AM +0000, Steven Hartland wrote: > The following reply was made to PR kern/180236; it has been noted by GNAT= S. >=20 > From: "Steven Hartland" > To: , > "Ivan Klymenko" > Cc: =20 > Subject: Re: kern/180236: [zfs] [nullfs] Leakage free space using ZFS wit= h nullfs on 9.1-STABLE > Date: Thu, 4 Jul 2013 00:58:13 +0100 >=20 > Looks like nullfs isn't cleaning up correctly in the case > where a rename colides with an existing file hence results > in an implicit remove. > =20 > This can be seen in the zdb output for the volume in that > before the unmount all the plain file entries still exist > but after the unmount of nullfs they are gone. Can you demonstrate the scenario of the problem, e.g. using the basic filesystem commands, like cp(1), mv(1) ? Does the issue reproduce on UFS ? --Ra0fXv3AZ0rgmm73 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJR1PbqAAoJEJDCuSvBvK1BDCYQAJSg0HnLLVtNiNzCsvX38w47 Y3My8bKkunwltQAc3bYF+16tVoeOX1XTeCnlH0WxMaWz/O6jwcB2SJGapeZ/YmjC AXkj0nHUw267vJUQzesgcPrOD3LhXUnuEO5K4ULVV6Oy3MVhKkCEAJ4gcgLn2cHF HxJZilag68kAFgrXzRav5o5muQZM2PVovenYZVN98e/TpA5kojBNILZ6fR7p5fjs G39m2TnHT/OLX5QHUukG08OzEugU/vV37aZoYCuuA7CouLaCwGg5pf4ETHj/JPx+ Eadk0cSIah4IdmKbAu6D1qnwKKBEY/YlbKb0draBOhUBTVWv0KjsjOlRTHedk1vv dlB+tZ0nGDrM1bdLNtahLHF3rgP7Qe1nYngQiIfKfoQkOFzJ1d1U9nA85zbq3wDX 8eoajQbpITaJD2ZX/xKXcgX1yPDQj21EZF3/nP0QCOLhLGVM7YRcNCB/iaNPi+j9 3RqOjwNr3zRZYS7s/yM6kYR0+CF/4/YEqFoqHKGx8pzy5ydiPf7OkleMylDuZT8c T6KBcWIDVQzI5yQhx6v9Bq58gDAeI3lUi48WE7KPfV2Dvkgc4MkyFHqIvod8ylmx dTr/j1bBy0FWc74PKi5Vdv0BF3zNaoLlO3v1p/VynoE7BfRuK3PQKqsd2O4B9tDi DIjsQs3Qfqp/Om+4i3VR =C6b+ -----END PGP SIGNATURE----- --Ra0fXv3AZ0rgmm73--