Print this page
OS-1566 filesystem limits for ZFS datasets

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/zfs.1m
          +++ new/usr/src/man/man1m/zfs.1m
↓ open down ↓ 393 lines elided ↑ open up ↑
 394  394  .LP
 395  395  The physical properties of an added file system are controlled by the global
 396  396  administrator. However, the zone administrator can create, modify, or destroy
 397  397  files within the added file system, depending on how the file system is
 398  398  mounted.
 399  399  .sp
 400  400  .LP
 401  401  A dataset can also be delegated to a non-global zone by using the \fBzonecfg\fR
 402  402  \fBadd dataset\fR subcommand. You cannot delegate a dataset to one zone and the
 403  403  children of the same dataset to another zone. The zone administrator can change
 404      -properties of the dataset or any of its children. However, the \fBquota\fR
 405      -property is controlled by the global administrator.
      404 +properties of the dataset or any of its children. However, the \fBquota\fR,
      405 +\fBfilesystem_limit\fR and \fBsnapshot_limit\fR properties are controlled by the
      406 +global administrator.
 406  407  .sp
 407  408  .LP
 408  409  A \fBZFS\fR volume can be added as a device to a non-global zone by using the
 409  410  \fBzonecfg\fR \fBadd device\fR subcommand. However, its physical properties can
 410  411  be modified only by the global administrator.
 411  412  .sp
 412  413  .LP
 413  414  For more information about \fBzonecfg\fR syntax, see \fBzonecfg\fR(1M).
 414  415  .sp
 415  416  .LP
↓ open down ↓ 545 lines elided ↑ open up ↑
 961  962  .ad
 962  963  .sp .6
 963  964  .RS 4n
 964  965  Controls whether processes can be executed from within this file system. The
 965  966  default value is \fBon\fR.
 966  967  .RE
 967  968  
 968  969  .sp
 969  970  .ne 2
 970  971  .na
      972 +\fB\fBfilesystem_limit\fR=\fIcount\fR | \fBnone\fR\fR
      973 +.ad
      974 +.sp .6
      975 +.RS 4n
      976 +Limits the number of filesystems that can exist at this point in the filesystem
      977 +tree. The count of nested filesystems includes the filesystem on which the
      978 +limit is set, thus the minimum value is 1. The limit is not enforced in the
      979 +global zone. Setting a filesystem_limit on a descendent of a filesystem that
      980 +already has a filesystem_limit does not override the ancestor's
      981 +filesystem_limit, but rather imposes an additional limit. This feature must be
      982 +enabled to be used (see \fBzpool-features\fR(5)).
      983 +.RE
      984 +.sp
      985 +.ne 2
      986 +.na
 971  987  \fB\fBmountpoint\fR=\fIpath\fR | \fBnone\fR | \fBlegacy\fR\fR
 972  988  .ad
 973  989  .sp .6
 974  990  .RS 4n
 975  991  Controls the mount point used for this file system. See the "Mount Points"
 976  992  section for more information on how this property is used.
 977  993  .sp
 978  994  When the \fBmountpoint\fR property is changed for a file system, the file
 979  995  system and any children that inherit the mount point are unmounted. If the new
 980  996  value is \fBlegacy\fR, then they remain unmounted. Otherwise, they are
↓ open down ↓ 43 lines elided ↑ open up ↑
1024 1040  quota on a descendent of a dataset that already has a quota does not override
1025 1041  the ancestor's quota, but rather imposes an additional limit.
1026 1042  .sp
1027 1043  Quotas cannot be set on volumes, as the \fBvolsize\fR property acts as an
1028 1044  implicit quota.
1029 1045  .RE
1030 1046  
1031 1047  .sp
1032 1048  .ne 2
1033 1049  .na
     1050 +\fB\fBsnapshot_limit\fR=\fIcount\fR | \fBnone\fR\fR
     1051 +.ad
     1052 +.sp .6
     1053 +.RS 4n
     1054 +Limits the number of snapshots that can be created on a dataset and its
     1055 +descendents. Setting a snapshot_limit on a descendent of a dataset that already
     1056 +has a snapshot_limit does not override the ancestor's snapshot_limit, but
     1057 +rather imposes an additional limit. The limit is not enforced in the global
     1058 +zone, but recursive snapshots taken from the global zone are counted on each
     1059 +dataset. This feature must be enabled to be used (see \fBzpool-features\fR(5)).
     1060 +.RE
     1061 +
     1062 +.sp
     1063 +.ne 2
     1064 +.na
1034 1065  \fB\fBuserquota@\fR\fIuser\fR=\fIsize\fR | \fBnone\fR\fR
1035 1066  .ad
1036 1067  .sp .6
1037 1068  .RS 4n
1038 1069  Limits the amount of space consumed by the specified user. User space
1039 1070  consumption is identified by the \fBuserspace@\fR\fIuser\fR property.
1040 1071  .sp
1041 1072  Enforcement of user quotas may be delayed by several seconds. This delay means
1042 1073  that a user might exceed their quota before the system notices that they are
1043 1074  over quota and begins to refuse additional writes with the \fBEDQUOT\fR error
↓ open down ↓ 2076 lines elided ↑ open up ↑
3120 3151  aclinherit       property
3121 3152  aclmode          property
3122 3153  atime            property
3123 3154  canmount         property
3124 3155  casesensitivity  property
3125 3156  checksum         property
3126 3157  compression      property
3127 3158  copies           property
3128 3159  devices          property
3129 3160  exec             property
     3161 +filesystem_limit property
3130 3162  mountpoint       property
3131 3163  nbmand           property
3132 3164  normalization    property
3133 3165  primarycache     property
3134 3166  quota            property
3135 3167  readonly         property
3136 3168  recordsize       property
3137 3169  refquota         property
3138 3170  refreservation   property
3139 3171  reservation      property
3140 3172  secondarycache   property
3141 3173  setuid           property
3142 3174  shareiscsi       property
3143 3175  sharenfs         property
3144 3176  sharesmb         property
3145 3177  snapdir          property
     3178 +snapshot_limit   property
3146 3179  utf8only         property
3147 3180  version          property
3148 3181  volblocksize     property
3149 3182  volsize          property
3150 3183  vscan            property
3151 3184  xattr            property
3152 3185  zoned            property
3153 3186  .fi
3154 3187  .in -2
3155 3188  .sp
↓ open down ↓ 834 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX