From owner-freebsd-doc@FreeBSD.ORG Sat Dec 22 04:35:37 2012 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DF8365B for ; Sat, 22 Dec 2012 04:35:37 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx1.freebsd.org (Postfix) with ESMTP id 844488FC0C for ; Sat, 22 Dec 2012 04:35:35 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id w12so6078746lag.26 for ; Fri, 21 Dec 2012 20:35:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=UTV89qakMwOZ+2HiRktX41e4NmcT05/ETruS2x9qk5M=; b=I5NSmo/KumIfpkstXZp+GpmV+KMuf3R6aCtt3huW1LtCVGDKJuhaD5CWuoBFE6B/nw Mekhy8YER64WHJnxzPRmnXnQooKJylyNwOQjUUTNzhcjZs3Gk9jbDVpPoGUG0FRUOiJN jp171kTpmSp6uRvXQYAMhCHEtcewa6cvzb9BE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=UTV89qakMwOZ+2HiRktX41e4NmcT05/ETruS2x9qk5M=; b=YB1SmIt2bl6creJVFHpAHCyAqGgnB/KfILKOu+kXmDCMR7N98JFhcB5OEe9AVV7hZW Q4WctVy2zAzZTH21yFf98Ij9aY8IyCfwSIiuABDc/LdVrGouob0W8D4mhWP1ADeuCZvS ODWljnDDxCYdN+3c1HW5IVEW6tVQKgCsvYJNY9LR5wWeaJIJkZMjxxSBfk1Uc3ykB09d lJHY8dM7+RZ+idiDQol3tq8pmobm0K0bVa2VQpSmPAtmPmCvlMo6Nigs2nbGIEayp/Jz F3/vtO6+QZz2jNjM73ULBlW6LZ5Q299BiyDuNrE7srGSZMeZGzDaLyF6GtqhrhOqC4in wjPQ== Received: by 10.112.83.7 with SMTP id m7mr6403599lby.15.1356150929257; Fri, 21 Dec 2012 20:35:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.162.100 with HTTP; Fri, 21 Dec 2012 20:34:54 -0800 (PST) In-Reply-To: References: <50CF471D.10407@rdtan.net> <50D139D3.2010604@rdtan.net> From: Eitan Adler Date: Fri, 21 Dec 2012 23:34:54 -0500 Message-ID: Subject: Re: [RFC] Q&A propose to add into FAQ To: Alexander Yerenkow Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQku3YLtrIH4qcbt+f3OYX+fLCAJOKpYRVEZBXBznhzRmTdS531DoLpoqdmF0xKkyTWpyXVy Cc: Edward , freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 04:35:37 -0000 On 19 December 2012 11:24, Alexander Yerenkow wrote: ... How is this? commit 718eb1816af2871981f338ed509fced6b4c570fb Author: Eitan Adler Date: Wed Dec 19 09:26:56 2012 -0500 Answer the question "I can not delete or or create files on my ZFS pool. How can I fix this?" Submitted by: Alexander Yerenkow Reviewed by: -doc Approved by: ??? (mentor) diff --git a/en_US.ISO8859-1/books/faq/book.xml b/en_US.ISO8859-1/books/faq/book.xml index 7410446..999a5a9 100644 --- a/en_US.ISO8859-1/books/faq/book.xml +++ b/en_US.ISO8859-1/books/faq/book.xml @@ -4464,6 +4464,26 @@ C:\="DOS" slower. + + + + I can not delete or create files on my ZFS pool. + How can I fix this? + + + + This could happen because the pool is 100% full. + ZFS requires space on the disk in order to write + transaction meta data. In order to restore the pool + to a usable state, truncate a file you want to + delete. + + &prompt.user; truncate -s 0 unimportant-file + + File truncation works because a new transaction is + not started, new spare blocks are created instead. + + -- Eitan Adler