Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2008 00:13:23 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        freebsd-fs@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>, ticso@cicely.de
Subject:   Re: It's 2008. 1 TB disk drives cost $160. Quotas are 32-bit.
Message-ID:  <20080701221323.GE17364@cicely7.cicely.de>
In-Reply-To: <20080701213006.37D675B4B@mail.bitblocks.com>
References:  <20080701200254.GB17364@cicely7.cicely.de> <20080701213006.37D675B4B@mail.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 01, 2008 at 02:30:06PM -0700, Bakul Shah wrote:
> On Tue, 01 Jul 2008 22:02:54 +0200 Bernd Walter <ticso@cicely7.cicely.de>  wrote:
> > On Tue, Jul 01, 2008 at 10:59:31AM -0700, Bakul Shah wrote:
> > > To bring this back on topic, perhaps John Kobuzik can just
> > > use the zfs since it already has quota support? For example,
> > > 
> > > # zfs create z/foo
> > > # zfs quota=10M z/foo
> > > dd < /dev/zero bs=1M count=20 > /z/foo/xx
> > > dd: stdout: Disc quota exceeded
> > > 11+0 records in
> > > 10+0 records out
> > > 10485760 bytes transferred in 4.718700 secs (2222171 bytes/sec)
> > > # zfs set quota=10T z/foo
> > > # zfs get quota z/foo
> > > NAME   PROPERTY  VALUE  SOURCE
> > > z/foo  quota     10T    local
> > 
> > This is basicly what the partition size is for normal filesystems,
> > with the great ability of course to change it cheaply at any time.
> > But this is in no way a per user quota in the way ufs does.
> 
> It is not the same but can serve a similer purpose if each
> user gets his own filesystem (and yes, I am aware of the
> rebooting issue with zfs with thousands of filesystems).  He
> wanted support for 2TB+ quota on ufs by July 20.  If that
> doesn't happen at least he can limp along with this.

This works for home, but not for /tmp, where you may need support for
user quota as well.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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