It's 2008. 1 TB disk drives cost $160. Quotas are 32-bit.

Bernd Walter ticso at cicely7.cicely.de
Tue Jul 1 22:13:38 UTC 2008


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 at 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 at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-fs mailing list