Print this page
OS-1566 filesystem limits for ZFS datasets

@@ -360,10 +360,16 @@
         zprop_register_number(ZFS_PROP_REFQUOTA, "refquota", 0, PROP_DEFAULT,
             ZFS_TYPE_FILESYSTEM, "<size> | none", "REFQUOTA");
         zprop_register_number(ZFS_PROP_REFRESERVATION, "refreservation", 0,
             PROP_DEFAULT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
             "<size> | none", "REFRESERV");
+        zprop_register_number(ZFS_PROP_FILESYSTEM_LIMIT, "filesystem_limit",
+            UINT64_MAX, PROP_DEFAULT, ZFS_TYPE_FILESYSTEM,
+            "<count> | none", "FSLIMIT");
+        zprop_register_number(ZFS_PROP_SNAPSHOT_LIMIT, "snapshot_limit",
+            UINT64_MAX, PROP_DEFAULT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
+            "<count> | none", "SSLIMIT");
 
         /* inherit number properties */
         zprop_register_number(ZFS_PROP_RECORDSIZE, "recordsize",
             SPA_MAXBLOCKSIZE, PROP_INHERIT,
             ZFS_TYPE_FILESYSTEM, "512 to 128k, power of 2", "RECSIZE");