ports/154930: ZFS: cannot delete/unlink file from full volume -> ENOSPC
Matthias Andree
mandree at FreeBSD.org
Mon Feb 21 09:30:09 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list