[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    Re: Cannot rm files when ZFS is full
From:       "Andrey V. Elsukov" <bu7cher () yandex ! ru>
Date:       2009-07-30 11:30:11
Message-ID: 4A718443.4020200 () yandex ! ru
[Download RAW message or body]

Arnaud Houdelette wrote:
> [carenath] /testpool# zfs list -r -o name,used,avail,refer,quota testpool
> NAME            USED  AVAIL  REFER  QUOTA
> testpool        156M      0   156M   156M
> testpool@test  22.6K      -   153M      -
> [carenath] /testpool# ll -h
> total 159295
> -rw-r--r--  1 root  wheel    15M Jul 30 11:29 random
> -rw-r--r--  1 root  wheel    61M Jul 30 11:35 random2
> -rw-r--r--  1 root  wheel    77M Jul 30 11:37 zero
> -rw-r--r--  1 root  wheel   2.6M Jul 30 11:44 zero2
> [carenath] /testpool# rm zero
> rm: zero: Disc quota exceeded
> 
> So quota workaround doesn't quite works.
> It could possibly be an issue where quota limited users fill up their 
> allowed space : they can free space by themselves.

Just try to use refquota instead of quota property.
Also you can use both quota and refquota (should be smaller that quota).

-- 
WBR, Andrey V. Elsukov
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic