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 of the delegated
      406 +dataset can only be set from the global zone.
 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 and volumes that can exist at this point in
      977 +the dataset tree. The count of nested filesystems and volumes includes the
      978 +filesystem on which the limit is set, thus the minimum value is 1. The limit is
      979 +not enforced if the user is allowed to change the limit. Setting a
      980 +filesystem_limit on a descendent of a filesystem that already has a
      981 +filesystem_limit does not override the ancestor's filesystem_limit, but rather
      982 +imposes an additional limit. This feature must be enabled to be used
      983 +(see \fBzpool-features\fR(5)).
      984 +.RE
      985 +.sp
      986 +.ne 2
      987 +.na
 971  988  \fB\fBmountpoint\fR=\fIpath\fR | \fBnone\fR | \fBlegacy\fR\fR
 972  989  .ad
 973  990  .sp .6
 974  991  .RS 4n
 975  992  Controls the mount point used for this file system. See the "Mount Points"
 976  993  section for more information on how this property is used.
 977  994  .sp
 978  995  When the \fBmountpoint\fR property is changed for a file system, the file
 979  996  system and any children that inherit the mount point are unmounted. If the new
 980  997  value is \fBlegacy\fR, then they remain unmounted. Otherwise, they are
↓ open down ↓ 43 lines elided ↑ open up ↑
1024 1041  quota on a descendent of a dataset that already has a quota does not override
1025 1042  the ancestor's quota, but rather imposes an additional limit.
1026 1043  .sp
1027 1044  Quotas cannot be set on volumes, as the \fBvolsize\fR property acts as an
1028 1045  implicit quota.
1029 1046  .RE
1030 1047  
1031 1048  .sp
1032 1049  .ne 2
1033 1050  .na
     1051 +\fB\fBsnapshot_limit\fR=\fIcount\fR | \fBnone\fR\fR
     1052 +.ad
     1053 +.sp .6
     1054 +.RS 4n
     1055 +Limits the number of snapshots that can be created on a dataset and its
     1056 +descendents. Setting a snapshot_limit on a descendent of a dataset that already
     1057 +has a snapshot_limit does not override the ancestor's snapshot_limit, but
     1058 +rather imposes an additional limit. The limit is not enforced if the user is
     1059 +allowed to change the limit. This means that recursive snapshots taken from the
     1060 +global zone are counted against each delegated dataset. This feature must be
     1061 +enabled to be used (see \fBzpool-features\fR(5)).
     1062 +.RE
     1063 +
     1064 +.sp
     1065 +.ne 2
     1066 +.na
1034 1067  \fB\fBuserquota@\fR\fIuser\fR=\fIsize\fR | \fBnone\fR\fR
1035 1068  .ad
1036 1069  .sp .6
1037 1070  .RS 4n
1038 1071  Limits the amount of space consumed by the specified user. User space
1039 1072  consumption is identified by the \fBuserspace@\fR\fIuser\fR property.
1040 1073  .sp
1041 1074  Enforcement of user quotas may be delayed by several seconds. This delay means
1042 1075  that a user might exceed their quota before the system notices that they are
1043 1076  over quota and begins to refuse additional writes with the \fBEDQUOT\fR error
↓ open down ↓ 2076 lines elided ↑ open up ↑
3120 3153  aclinherit       property
3121 3154  aclmode          property
3122 3155  atime            property
3123 3156  canmount         property
3124 3157  casesensitivity  property
3125 3158  checksum         property
3126 3159  compression      property
3127 3160  copies           property
3128 3161  devices          property
3129 3162  exec             property
     3163 +filesystem_limit property
3130 3164  mountpoint       property
3131 3165  nbmand           property
3132 3166  normalization    property
3133 3167  primarycache     property
3134 3168  quota            property
3135 3169  readonly         property
3136 3170  recordsize       property
3137 3171  refquota         property
3138 3172  refreservation   property
3139 3173  reservation      property
3140 3174  secondarycache   property
3141 3175  setuid           property
3142 3176  shareiscsi       property
3143 3177  sharenfs         property
3144 3178  sharesmb         property
3145 3179  snapdir          property
     3180 +snapshot_limit   property
3146 3181  utf8only         property
3147 3182  version          property
3148 3183  volblocksize     property
3149 3184  volsize          property
3150 3185  vscan            property
3151 3186  xattr            property
3152 3187  zoned            property
3153 3188  .fi
3154 3189  .in -2
3155 3190  .sp
↓ open down ↓ 834 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX