From owner-freebsd-doc@FreeBSD.ORG Wed Dec 19 16:24:30 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 E515A80 for ; Wed, 19 Dec 2012 16:24:30 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by mx1.freebsd.org (Postfix) with ESMTP id 9B53C8FC17 for ; Wed, 19 Dec 2012 16:24:30 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id h2so2236714oag.21 for ; Wed, 19 Dec 2012 08:24:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ULbJ2IigcDIxT6CEnTI2EyLiStekaSGHYLMCsDWYhOI=; b=nqAelwQy8QO0WmEebYBpwzqNX0A/pGy2kbTg+HVaP0jfLzInazVwnRcGs8RyHipZSX T0QMqRN9NVQcuXKqyex/Jj3HCqAXTAQPRi8H9TrnrDW8jd/zuc6z0rmKOVod1W6s1YmD 3vo0i3isPj+FWdVVrzdCpMeZ5vGa08b/uhcBzBlkt5aQNXphysDEIv0tIHPjQKaVl0ry On3cyFpI3MTBzmdLtGp9H/InQMyPYcS71tE32mLdZHuRpLD6SPE88H8VCo+eK+nsW6S8 8FBIBrS9ABbKFxy4+p3ziRT66OiUcE/x+YjK5TuLgHLZbgoA0rshi6Krjc+opNsQAisJ Pp+w== MIME-Version: 1.0 Received: by 10.182.18.165 with SMTP id x5mr5346840obd.73.1355934264193; Wed, 19 Dec 2012 08:24:24 -0800 (PST) Received: by 10.60.170.167 with HTTP; Wed, 19 Dec 2012 08:24:24 -0800 (PST) In-Reply-To: References: <50CF471D.10407@rdtan.net> <50D139D3.2010604@rdtan.net> Date: Wed, 19 Dec 2012 18:24:24 +0200 Message-ID: Subject: Re: [RFC] Q&A propose to add into FAQ From: Alexander Yerenkow To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 19 Dec 2012 16:24:31 -0000 2012/12/19 Eitan Adler > On 19 December 2012 10:47, Alexander Yerenkow wrote: > > Seems good to me. Maybe there should be added for curious ones ( If you > need > > more info why is that - you should read about copy-on-write and > transactions > > in ZFS). > > I have a pretty good idea of what might cause this behavior. I'm not > sure how technical the FAQ should be. On one hand this type of thing > *should* be documented. On the other hand, the FAQ is aimed at > end-users, not developers. > > Can you write some proposed content and maybe we can talk some/all of it? > Sure, my try (Feel free to adapt/fix my non-native language): I can't delete nor create any file on my ZFS disk. How can I fix this? This could happen in case you filled it up to 100%. Since ZFS using transactions for file manipulating, it can't delete any file in such case (to delete something, there should be free space to write new transaction with file deletion info, but there is no free space). This situation can be confusing, but it's not helpless. In order to restore the zpool to a usable state, truncate the file you can afford to lost, e.g. some old log: &prompt.user; truncate -s 0 unimportant-file File truncation will work, since no new transaction made, but spare blocks are created. After this, you can either delete unneeded files, or remove unneeded snapshots (if any exists). > > > -- > Eitan Adler > -- Regards, Alexander Yerenkow