From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 20 21:39:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5014316A420 for ; Thu, 20 Oct 2005 21:39:56 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08CF843D62 for ; Thu, 20 Oct 2005 21:39:55 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 3682931354; Thu, 20 Oct 2005 17:39:54 -0400 (EDT) Date: Thu, 20 Oct 2005 17:39:54 -0400 (EDT) From: user To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Fri, 21 Oct 2005 12:54:35 +0000 Subject: unexpected (temporary) free space when unlinking files on a snapshot FS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 21:39:56 -0000 Create 8 1gig files. (check free space on disk) Create a snapshot. Delete all 8 1gig files. At this point you would expect the free space on disk to match what it was when you just checked it earlier (see above). However, for a small amount of time (a minute or so ?) You actually get a fair amount of that space back - and it is reported as free in `df`. And then it goes back down to what it was when you made the snapshot. Why does df report (temporarily) a gain in disk space after deleting these files (which should not result in any disk space gain) Thank you.