Mark Wymer wrote: > Something for consideration perhaps, as well as being able to specify the > quota and reservation sizes as an absolute number it would be nice to be able > to specify a relative percentage too. > > i.e. zfs create -o quota=10% tank/testfs > > This would enable the quota to grow as/when the size of the pool is increased.
Sounds like a reasonable suggestion to me. I've cc'd zfs-discuss@ since that will catch more of the ZFS developers and lots of other users. > A step further would be to have an indicator to differentiate between a > percentage of the pool without taking into concideration the quotas of other > datasets in the pool or after taking account of the quotas of other datasets > in the pool. > > Cheers, > Mark. > e.g. if your pool had 100Gb > zfs create -o quota=50g tank/fs1 > zfs create -o quota=-10% = 10Gb (100Gb * 10%) - ignores the quota for fs1 > zfs create -o quota=+10% = 5Gb (100Gb - 50Gb * 10%) - accounts for the > 50Gb for fs1 I think in the +10% you would actually want a reservration of 50g on tank/fs1 to achieve this effect. -- Darren J Moffat _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss