From owner-freebsd-stable@FreeBSD.ORG Thu Jul 30 05:22:32 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87231106564A for ; Thu, 30 Jul 2009 05:22:32 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1B5F38FC14 for ; Thu, 30 Jul 2009 05:22:31 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by ewy2 with SMTP id 2so463783ewy.43 for ; Wed, 29 Jul 2009 22:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=H8YcST6+TzoQ6pQ4DEwo60baEt/7zIsQx9IV+a8NcKY=; b=YcrCcrcDiO7Yk1ww+bZvu1q3knORC/YeuxcVdBWgjDHUDCmG0BNUIR17tLqgLCcKRY i+CNmx/8aubmekia4Oe1mvjHuTty7APGlpx6vsU5DqDA4CptwoTPcal1AwpZAB4Zmdtp 10F9gTBm2PQjyAnX3UiGW+1Mb+0hGOy7IzTZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=POtUofcNElnZ5/AI6gZiMEQvfoKvTdlppaa008zb/uFtp7uIRWyQxiKexwlfU6428j tDfL+EYMzlY/ACjxiX1zrkj/Hbl/nJBaiZjTTBrZEEEhwEL00lX2ZNREtrAwYksdcbd4 D0bO2GNYAAN/N9EAJ469W1q1wqI1CuaqDQhN4= MIME-Version: 1.0 Received: by 10.210.112.4 with SMTP id k4mr856936ebc.22.1248931351270; Wed, 29 Jul 2009 22:22:31 -0700 (PDT) In-Reply-To: <14989d6e0907290025i499c71fbn289b64a7da0e4b97@mail.gmail.com> References: <14989d6e0907290025i499c71fbn289b64a7da0e4b97@mail.gmail.com> Date: Thu, 30 Jul 2009 01:22:31 -0400 Message-ID: From: grarpamp To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Cannot rm files when ZFS is full X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Jul 2009 05:22:32 -0000 Yep, the cp /dev/null works to truncate. So I can deal with it. Yep, everything is snapshotted. Yep, this is a Sun issue not a FreeBSD one. FreeBSD should just stay current with the versions and the minimum needed to port... fbsd dev time is valuable elsewhere. I do remember reading about copy on write, d-oh :) ZFS should probably keep track of the largest extent needed to effect any given operation and reserve that behind the scenes. If it took n bytes to create something sans data, it'll probably take n bytes to modify it. Quotas and things might work though the user under quota might run into the same problem. Who knows. Thx CW, et al.