From owner-freebsd-fs@FreeBSD.ORG Tue Feb 22 15:50:09 2011 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1634106566B for ; Tue, 22 Feb 2011 15:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 803218FC17 for ; Tue, 22 Feb 2011 15:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1MFo9dO054162 for ; Tue, 22 Feb 2011 15:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1MFo9Ld054161; Tue, 22 Feb 2011 15:50:09 GMT (envelope-from gnats) Date: Tue, 22 Feb 2011 15:50:09 GMT Message-Id: <201102221550.p1MFo9Ld054161@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Matthias Andree Cc: Subject: Re: kern/154930: [zfs] cannot delete/unlink file from full volume -> ENOSPC X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Andree List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 15:50:09 -0000 The following reply was made to PR kern/154930; it has been noted by GNATS. From: Matthias Andree To: Martin Matuska Cc: bug-followup@FreeBSD.org Subject: Re: kern/154930: [zfs] cannot delete/unlink file from full volume -> ENOSPC Date: Tue, 22 Feb 2011 16:06:47 +0100 Am 22.02.2011 15:30, schrieb Martin Matuska: > I was unable to reproduce your problem. > > But I was able to reproduce a different situation: > - on a dataset with one or more snapshots I am unable to delete files > (ENOSPC) if the dataset got full. > > If this is your case, then: > - deleting files does not unlink them from the snapshot. > - you must first delete a specific snapshot (or all snapshots linking > the file) to free space. Hi Martin, no snapshots were ever used on the zpools or zfs volumes -- I had checked that previously. Only truncation of a 20 M file would allow me to delete files. Best regards Matthias -- Matthias Andree ports committer