From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 08:50:55 2014 Return-Path: Delivered-To: freebsd-stable@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 5D610CB2; Thu, 16 Oct 2014 08:50:55 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBC7F1A; Thu, 16 Oct 2014 08:50:54 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id C1F9F20E7088C; Thu, 16 Oct 2014 08:50:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=8.0 tests=AWL,BAYES_00,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 9238D20E70885; Thu, 16 Oct 2014 08:50:51 +0000 (UTC) Message-ID: <2307495EDFE14A4FB34374307B3EBC55@multiplay.co.uk> From: "Steven Hartland" To: "Marcus Reid" References: <14ADE02801754E028D9A0EAB4A16527E@multiplay.co.uk> <543C3C47.4010208@ijs.si> <138CF459AA0B41EB8CB4E11B3DE932CF@multiplay.co.uk> <543D0953.1070604@ijs.si> <8F4036C658724468B34B20CCBA658E43@multiplay.co.uk> <520ED11771DE40FBAEFCC066D2FF0441@multiplay.co.uk> <20141016075518.GA14459@blazingdot.com> Subject: Re: zpool import hangs when out of space - Was: zfs pool import hangs on [tx->tx_sync_done_cv] Date: Thu, 16 Oct 2014 09:50:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: Mark Martinec , freebsd-fs@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 08:50:55 -0000 ----- Original Message ----- From: "Marcus Reid" > On Thu, Oct 16, 2014 at 03:56:23AM +0100, Steven Hartland wrote: >> Fix for this has now been committed: >> https://svnweb.freebsd.org/changeset/base/273158 >> >> I'm already talking with re@ to get this in to the 10.1 release. > > Thank you for that. I looked at your thread on the illumos zfs list, > and from what I gather, if you aren't wedged into a state where you have > to import read-only, you don't have to worry about leaked data in your > pool, correct? > > I always have a small number of 'deferred free' blocks that's always > somewhere between 8 and 10: > > 9 108K 15.5K 108K 12.0K 6.97 0.00 deferred free > > Also, if you run 'zdb -bb ' on a live pool, you can get a bunch > of: > > leaked space: vdev 0, offset 0x16464c2000, size 1048576 > ... > > and then: > > block traversal size 14586265600 != alloc 14667571200 (leaked 81305600) > > which I believe is normal and unrelated. Yep thats normal. Regards Steve