kern/131081: User cannot delete a file when a ZFS dataset is full.
Victor Sudakov
sudakov at sibptus.tomsk.ru
Wed Jan 28 06:20:03 PST 2009
>Number: 131081
>Category: kern
>Synopsis: User cannot delete a file when a ZFS dataset is full.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 28 14:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Victor Sudakov
>Release: FreeBSD 7.1-RELEASE i386
>Organization:
AO "Svyaztransneft", SibPTUS
>Environment:
FreeBSD 7.1-RELEASE i386
>Description:
When a user exceeds the disk quota configured for a dataset, the
dataset becomes unusable: the user cannot even delete her own files
from it to free some disk space.
>How-To-Repeat:
$ zfs list -o quota,mountpoint d01/home
QUOTA MOUNTPOINT
6G /home
$ pwd
/home/sudakov
$ dd if=/dev/zero of=bigfile bs=1m
dd: bigfile: Disc quota exceeded
2869+0 records in
2868+1 records out
3007447040 bytes transferred in 88.749210 secs (33887029 bytes/sec)
$ rm bigfile
rm: bigfile: Disc quota exceeded
$
>Fix:
A workaround:
echo . > bigfile
This workaround is not helpful unless the user has shell access to the system.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list