Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 19:16:23 +0600 (OMST)
From:      Victor Sudakov <sudakov@sibptus.tomsk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/131081: User cannot delete a file when a ZFS dataset is full.
Message-ID:  <200901281316.n0SDGN7M007027@admin.sibptus.tomsk.ru>
Resent-Message-ID: <200901281420.n0SEK2vK021914@freefall.freebsd.org>

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

>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:



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