From owner-freebsd-fs@FreeBSD.ORG Wed Dec 8 01:40:44 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CDFD1065670 for ; Wed, 8 Dec 2010 01:40:44 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by mx1.freebsd.org (Postfix) with ESMTP id E12B98FC08 for ; Wed, 8 Dec 2010 01:40:43 +0000 (UTC) Received: by eyh5 with SMTP id 5so496728eyh.37 for ; Tue, 07 Dec 2010 17:40:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.11.147 with SMTP id 19mr7145180eex.14.1291771091724; Tue, 07 Dec 2010 17:18:11 -0800 (PST) Received: by 10.14.53.67 with HTTP; Tue, 7 Dec 2010 17:18:11 -0800 (PST) X-Originating-IP: [64.81.163.112] In-Reply-To: <7554F69B-0E03-42E3-8BB2-FD7CFE19805A@pean.org> References: <4CF017C8-9D3C-483D-B508-5BF70E32AA14@pean.org> <4CF949B0.5060405@obsysa.net> <20101203210045.GB7429@lor.one-eyed-alien.net> <7554F69B-0E03-42E3-8BB2-FD7CFE19805A@pean.org> Date: Tue, 7 Dec 2010 17:18:11 -0800 Message-ID: From: David Brodbeck To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: zfs snapshots. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2010 01:40:44 -0000 On Fri, Dec 3, 2010 at 1:25 PM, Peter Ankerst=E5l wrote: >>>> >>> >>> Yes, this is correct. But it still uses up 10MB from the parent >>> filesystem. This is a problem if you use both snapshots and quotas. >>> (and use alot of snapshots) >> >> You many be able to use the refquota attribute instead of quota unless >> you're trying to place quotas on filesystem hiearchies. >> >> -- Brooks > > Oh. Thanks. How could I miss that.. It seems I have to change some of the > "logic" in my setup for this to work as needed but overall this will work= fine. If this is an NFS share, you might want to test what happens if you set a refquota, then exceed it. I know on OpenSolaris there have been some bugs where you get a 'no space left on device' when you try to rm files, in that situation, making it difficult for a user to recover from exceeding their quota. It's possible FreeBSD doesn't suffer from this, but you should test it if it's likely to come up.