Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 09:24:12 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154930: ZFS: cannot delete/unlink file from full volume -> ENOSPC
Message-ID:  <201102210924.p1L9OC9k045208@red.freebsd.org>
Resent-Message-ID: <201102210930.p1L9U8Bn066166@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154930
>Category:       ports
>Synopsis:       ZFS: cannot delete/unlink file from full volume -> ENOSPC
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 21 09:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        8.2-PRERELEASE
>Organization:
FreeBSD
>Environment:
FreeBSD apollo.emma.line.org 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #61: Tue Feb 15 23:03:47 CET 2011     root@apollo.emma.line.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
On a 100% full ZFS volume, deleting files is not possible and results in ENOSPC (no space on device).  I suppose this is due to the write-ahead logging nature.

Workaround: truncate files to be deleted to make room for the logs.

Suggestion: consider implicitly truncating a file to be deleted if there is not sufficient disk space to delete the file otherwise.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102210924.p1L9OC9k045208>