zfs quota not set
Martin Matuska
mm at FreeBSD.org
Sun Apr 21 22:24:21 UTC 2013
This is a new bug introduced in libzfs_core.
It happens only on pools up to version 21.
I have reported the problem and proposed a patch to illumos:
https://www.illumos.org/issues/3739
As of now, you can try a kernel (or just the zfs module) with the
attached patch applied.
I am discussing the fix with Illumos guys, if they have no objections I
will put it to HEAD with an asap MFC.
mm
On 21.4.2013 20:00, Steve Wills wrote:
> Hi,
>
> I am running r249735 and seem to have some trouble with setting ZFS
> quotas:
>
> % zfs get all zroot/tmp | grep quota
> zroot/tmp quota none default
> zroot/tmp refquota none local
> % sudo zfs set quota=1g zroot/tmp
> % sudo zfs set refquota=1g zroot/tmp
> % zfs get all zroot/tmp | grep quota
> zroot/tmp quota none default
> zroot/tmp refquota 1G local
> %
>
> Any ideas?
>
> Thanks,
> Steve
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
--
Martin Matuska
FreeBSD committer
http://blog.vx.sk
-------------- next part --------------
Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c
===================================================================
--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c (revision 249649)
+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c (working copy)
@@ -557,10 +557,6 @@
}
if (version < SPA_VERSION_RECVD_PROPS) {
- zfs_prop_t prop = zfs_name_to_prop(propname);
- if (prop == ZFS_PROP_QUOTA || prop == ZFS_PROP_RESERVATION)
- return;
-
if (source & ZPROP_SRC_NONE)
source = ZPROP_SRC_NONE;
else if (source & ZPROP_SRC_RECEIVED)
More information about the freebsd-fs
mailing list