]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - cddl/contrib/opensolaris/cmd/zfs/zfs.8
MFC r209962, r211970-r211972, r212050, r212605, r212611
[FreeBSD/stable/8.git] / cddl / contrib / opensolaris / cmd / zfs / zfs.8
1 '\" te
2 .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
7 .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
8 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
9 .TH zfs 1M "5 May 2009" "SunOS 5.11" "System Administration Commands"
10 .SH NAME
11 zfs \- configures ZFS file systems
12 .SH SYNOPSIS
13 .LP
14 .nf
15 \fBzfs\fR [\fB-?\fR]
16 .fi
17
18 .LP
19 .nf
20 \fBzfs\fR \fBcreate\fR [\fB-p\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fIfilesystem\fR
21 .fi
22
23 .LP
24 .nf
25 \fBzfs\fR \fBcreate\fR [\fB-ps\fR] [\fB-b\fR \fIblocksize\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fB-V\fR \fIsize\fR \fIvolume\fR
26 .fi
27
28 .LP
29 .nf
30 \fBzfs\fR \fBdestroy\fR [\fB-rRf\fR] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR
31 .fi
32
33 .LP
34 .nf
35 \fBzfs\fR \fBsnapshot\fR [\fB-r\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR]... 
36       \fIfilesystem@snapname\fR|\fIvolume@snapname\fR
37 .fi
38
39 .LP
40 .nf
41 \fBzfs\fR \fBrollback\fR [\fB-rRf\fR] \fIsnapshot\fR
42 .fi
43
44 .LP
45 .nf
46 \fBzfs\fR \fBclone\fR [\fB-p\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fIsnapshot\fR \fIfilesystem\fR|\fIvolume\fR
47 .fi
48
49 .LP
50 .nf
51 \fBzfs\fR \fBpromote\fR \fIclone-filesystem\fR
52 .fi
53
54 .LP
55 .nf
56 \fBzfs\fR \fBrename\fR \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR 
57      \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR
58 .fi
59
60 .LP
61 .nf
62 \fBzfs\fR \fBrename\fR [\fB-p\fR] \fIfilesystem\fR|\fIvolume\fR \fIfilesystem\fR|\fIvolume\fR
63 .fi
64
65 .LP
66 .nf
67 \fBzfs\fR \fBrename\fR \fB-r\fR \fIsnapshot\fR \fIsnapshot\fR
68 .fi
69
70 .LP
71 .nf
72 \fBzfs\fR \fBlist\fR [\fB-r\fR|\fB-d\fR \fIdepth\fR][\fB-H\fR][\fB-o\fR \fIproperty\fR[,...]] [\fB-t\fR \fItype\fR[,...]]
73      [\fB-s\fR \fIproperty\fR] ... [\fB-S\fR \fIproperty\fR] ... [\fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR] ...
74 .fi
75
76 .LP
77 .nf
78 \fBzfs\fR \fBset\fR \fIproperty\fR=\fIvalue\fR \fIfilesystem\fR|\fIvolume\fR|snapshot ...
79 .fi
80
81 .LP
82 .nf
83 \fBzfs\fR \fBget\fR [\fB-r\fR|\fB-d\fR \fIdepth\fR][\fB-Hp\fR][\fB-o\fR \fIfield\fR[,...]] [\fB-s\fR \fIsource\fR[,...]]
84      "\fIall\fR" | \fIproperty\fR[,...] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR ...
85 .fi
86
87 .LP
88 .nf
89 \fBzfs\fR \fBinherit\fR [\fB-r\fR] \fIproperty\fR \fIfilesystem\fR|\fIvolume|snapshot\fR ...
90 .fi
91
92 .LP
93 .nf
94 \fBzfs\fR \fBupgrade\fR [\fB-v\fR]
95 .fi
96
97 .LP
98 .nf
99 \fBzfs\fR \fBupgrade\fR [\fB-r\fR] [\fB-V\fR \fIversion\fR] \fB-a\fR | \fIfilesystem\fR
100 .fi
101
102 .LP
103 .nf
104 \fBzfs\fR \fBuserspace\fR [\fB-niHp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-sS\fR \fIfield\fR] ...
105      [\fB-t\fR \fItype\fR [,...]] \fIfilesystem\fR|\fIsnapshot\fR
106 .fi
107
108 .LP
109 .nf
110 \fBzfs\fR \fBgroupspace\fR [\fB-niHp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-sS\fR \fIfield\fR] ...
111      [\fB-t\fR \fItype\fR [,...]] \fIfilesystem\fR|\fIsnapshot\fR
112 .fi
113
114 .LP
115 .nf
116 \fBzfs\fR \fBmount\fR 
117 .fi
118
119 .LP
120 .nf
121 \fBzfs\fR \fBmount\fR [\fB-vO\fR] [\fB-o \fIoptions\fR\fR] \fB-a\fR | \fIfilesystem\fR
122 .fi
123
124 .LP
125 .nf
126 \fBzfs\fR \fBunmount\fR [\fB-f\fR] \fB-a\fR | \fIfilesystem\fR|\fImountpoint\fR
127 .fi
128
129 .LP
130 .nf
131 \fBzfs\fR \fBshare\fR \fB-a\fR | \fIfilesystem\fR
132 .fi
133
134 .LP
135 .nf
136 \fBzfs\fR \fBunshare\fR \fB-a\fR \fIfilesystem\fR|\fImountpoint\fR
137 .fi
138
139 .LP
140 .nf
141 \fBzfs\fR \fBsend\fR [\fB-vR\fR] [\fB-\fR[\fBiI\fR] \fIsnapshot\fR] \fIsnapshot\fR
142 .fi
143
144 .LP
145 .nf
146 \fBzfs\fR \fBreceive\fR [\fB-vnFu\fR] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR
147 .fi
148
149 .LP
150 .nf
151 \fBzfs\fR \fBreceive\fR [\fB-vnFu\fR] \fB-d\fR \fIfilesystem\fR
152 .fi
153
154 .LP
155 .nf
156 \fBzfs\fR \fBallow\fR \fIfilesystem\fR|\fIvolume\fR
157 .fi
158
159 .LP
160 .nf
161 \fBzfs\fR \fBallow\fR [\fB-ldug\fR] "\fIeveryone\fR"|\fIuser\fR|\fIgroup\fR[,...] \fIperm\fR|\fI@setname\fR[,...] 
162      \fIfilesystem\fR|\fIvolume\fR
163 .fi
164
165 .LP
166 .nf
167 \fBzfs\fR \fBallow\fR [\fB-ld\fR] \fB-e\fR \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR|\fIvolume\fR
168 .fi
169
170 .LP
171 .nf
172 \fBzfs\fR \fBallow\fR \fB-c\fR \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR|\fIvolume\fR
173 .fi
174
175 .LP
176 .nf
177 \fBzfs\fR \fBallow\fR \fB-s\fR @setname \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR|\fIvolume\fR
178 .fi
179
180 .LP
181 .nf
182 \fBzfs\fR \fBunallow\fR [\fB-rldug\fR] "\fIeveryone\fR"|\fIuser\fR|\fIgroup\fR[,...] [\fIperm\fR|@\fIsetname\fR[,... ]] 
183      \fIfilesystem\fR|\fIvolume\fR
184 .fi
185
186 .LP
187 .nf
188 \fBzfs\fR \fBunallow\fR [\fB-rld\fR] \fB-e\fR [\fIperm\fR|@\fIsetname\fR[,... ]] \fIfilesystem\fR|\fIvolume\fR
189 .fi
190
191 .LP
192 .nf
193 \fBzfs\fR \fBunallow\fR [\fB-r\fR] \fB-c\fR [\fIperm\fR|@\fIsetname\fR[ ... ]] \fIfilesystem\fR|\fIvolume\fR
194 .fi
195
196 .LP
197 .nf
198 \fBzfs\fR \fBunallow\fR [\fB-r\fR] \fB-s\fR @setname [\fIperm\fR|@\fIsetname\fR[,... ]] \fIfilesystem\fR|\fIvolume\fR
199 .fi
200
201 .SH DESCRIPTION
202 .sp
203 .LP
204 The \fBzfs\fR command configures \fBZFS\fR datasets within a \fBZFS\fR storage pool, as described in \fBzpool\fR(1M). A dataset is identified by a unique path within the \fBZFS\fR namespace. For example:
205 .sp
206 .in +2
207 .nf
208 pool/{filesystem,volume,snapshot}
209 .fi
210 .in -2
211 .sp
212
213 .sp
214 .LP
215 \&...where the maximum length of a dataset name is \fBMAXNAMELEN\fR (256 bytes).
216 .sp
217 .LP
218 A dataset can be one of the following:
219 .sp
220 .ne 2
221 .mk
222 .na
223 \fB\fIfile system\fR\fR
224 .ad
225 .sp .6
226 .RS 4n
227 A \fBZFS\fR dataset of type "filesystem" that can be mounted within the standard system namespace and behaves like other file systems. While \fBZFS\fR file systems are designed to be \fBPOSIX\fR compliant, known issues exist that prevent compliance in some cases. Applications that depend on standards conformance might fail due to nonstandard behavior when checking file system free space.
228 .RE
229
230 .sp
231 .ne 2
232 .mk
233 .na
234 \fB\fIvolume\fR\fR
235 .ad
236 .sp .6
237 .RS 4n
238 A logical volume exported as a raw or block device. This type of dataset should only be used under special circumstances. File systems are typically used in most environments.
239 .RE
240
241 .sp
242 .ne 2
243 .mk
244 .na
245 \fB\fIsnapshot\fR\fR
246 .ad
247 .sp .6
248 .RS 4n
249 A read-only version of a file system or volume at a given point in time. It is specified as \fIfilesystem@name\fR or \fIvolume@name\fR.
250 .RE
251
252 .SS "ZFS File System Hierarchy"
253 .sp
254 .LP
255 A \fBZFS\fR storage pool is a logical collection of devices that provide space for datasets. A storage pool is also the root of the \fBZFS\fR file system hierarchy.
256 .sp
257 .LP
258 The root of the pool can be accessed as a file system, such as mounting and unmounting, taking snapshots, and setting properties. The physical storage characteristics, however, are managed by the \fBzpool\fR(1M) command.
259 .sp
260 .LP
261 See \fBzpool\fR(1M) for more information on creating and administering pools.
262 .SS "Snapshots"
263 .sp
264 .LP
265 A snapshot is a read-only copy of a file system or volume. Snapshots can be created extremely quickly, and initially consume no additional space within the pool. As data within the active dataset changes, the snapshot consumes more data than would otherwise be shared with the active dataset.
266 .sp
267 .LP
268 Snapshots can have arbitrary names. Snapshots of volumes can be cloned or rolled back, but cannot be accessed independently.
269 .sp
270 .LP
271 File system snapshots can be accessed under the ".zfs/snapshot" directory in the root of the file system. Snapshots are automatically mounted on demand and may be unmounted at regular intervals. The visibility of the ".zfs" directory can be controlled by the "snapdir" property.
272 .SS "Clones"
273 .sp
274 .LP
275 A clone is a writable volume or file system whose initial contents are the same as another dataset. As with snapshots, creating a clone is nearly instantaneous, and initially consumes no additional space.
276 .sp
277 .LP
278 Clones can only be created from a snapshot. When a snapshot is cloned, it creates an implicit dependency between the parent and child. Even though the clone is created somewhere else in the dataset hierarchy, the original snapshot cannot be destroyed as long as a clone exists. The "origin" property exposes this dependency, and the \fBdestroy\fR command lists any such dependencies, if they exist.
279 .sp
280 .LP
281 The clone parent-child dependency relationship can be reversed by using the "\fBpromote\fR" subcommand. This causes the "origin" file system to become a clone of the specified file system, which makes it possible to destroy the file system that the clone was created from.
282 .SS "Mount Points"
283 .sp
284 .LP
285 Creating a \fBZFS\fR file system is a simple operation, so the number of file systems per system is likely to be numerous. To cope with this, \fBZFS\fR automatically manages mounting and unmounting file systems without the need to edit the \fB/etc/vfstab\fR file. All automatically managed file systems are mounted by \fBZFS\fR at boot time.
286 .sp
287 .LP
288 By default, file systems are mounted under \fB/\fIpath\fR\fR, where \fIpath\fR is the name of the file system in the \fBZFS\fR namespace. Directories are created and destroyed as needed.
289 .sp
290 .LP
291 A file system can also have a mount point set in the \fBmountpoint\fR property. This directory is created as needed, and \fBZFS\fR automatically mounts the file system when the \fBzfs mount -a\fR command is invoked (without editing \fB/etc/vfstab\fR). The \fBmountpoint\fR property can be inherited, so if \fBpool/home\fR has a mount point of \fB/export/stuff\fR, then \fBpool/home/user\fR automatically inherits a mount point of \fB/export/stuff/user\fR.
292 .sp
293 .LP
294 A file system \fBmountpoint\fR property of \fBnone\fR prevents the file system from being mounted.
295 .sp
296 .LP
297 If needed, \fBZFS\fR file systems can also be managed with traditional tools (\fBmount\fR, \fBumount\fR, \fB/etc/vfstab\fR). If a file system's mount point is set to \fBlegacy\fR, \fBZFS\fR makes no attempt to manage the file system, and the administrator is responsible for mounting and unmounting the file system.
298 .SS "Zones"
299 .sp
300 .LP
301 A \fBZFS\fR file system can be added to a non-global zone by using the \fBzonecfg\fR \fBadd fs\fR subcommand. A \fBZFS\fR file system that is added to a non-global zone must have its \fBmountpoint\fR property set to \fBlegacy\fR.
302 .sp
303 .LP
304 The physical properties of an added file system are controlled by the global administrator. However, the zone administrator can create, modify, or destroy files within the added file system, depending on how the file system is mounted.
305 .sp
306 .LP
307 A dataset can also be delegated to a non-global zone by using \fBzonecfg\fR \fBadd dataset\fR subcommand. You cannot delegate a dataset to one zone and the children of the same dataset to another zone. The zone administrator can change properties of the dataset or any of its children. However, the \fBquota\fR property is controlled by the global administrator.
308 .sp
309 .LP
310 A \fBZFS\fR volume can be added as a device to a non-global zone by using \fBzonecfg\fR \fBadd device\fR subcommand. However, its physical properties can be modified only by the global administrator.
311 .sp
312 .LP
313 For more information about \fBzonecfg\fR syntax, see \fBzonecfg\fR(1M).
314 .sp
315 .LP
316 After a dataset is delegated to a non-global zone, the \fBzoned\fR property is automatically set. A zoned file system cannot be mounted in the global zone, since the zone administrator might have to set the mount point to an unacceptable value.
317 .sp
318 .LP
319 The global administrator can forcibly clear the \fBzoned\fR property, though this should be done with extreme care. The global administrator should verify that all the mount points are acceptable before clearing the property.
320 .SS "Native Properties"
321 .sp
322 .LP
323 Properties are divided into two types, native and user-defined (or "user"). Native properties either export internal statistics or control \fBZFS\fR behavior. In addition, native properties are either editable or read-only. User properties have no effect on \fBZFS\fR behavior, but you can use them to annotate datasets in a way that is meaningful in your environment. For more information about user properties, see the "User Properties" section, below.
324 .sp
325 .LP
326 Every dataset has a set of properties that export statistics about the dataset as well as control various behaviors. Properties are inherited from the parent unless overridden by the child. Some properties apply only to certain types of datasets (file systems, volumes, or snapshots).
327 .sp
328 .LP
329 The values of numeric properties can be specified using human-readable suffixes (for example, \fBk\fR, \fBKB\fR, \fBM\fR, \fBGb\fR, and so forth, up to \fBZ\fR for zettabyte). The following are all valid (and equal) specifications: 
330 .sp
331 .in +2
332 .nf
333 1536M, 1.5g, 1.50GB
334 .fi
335 .in -2
336 .sp
337
338 .sp
339 .LP
340 The values of non-numeric properties are case sensitive and must be lowercase, except for \fBmountpoint\fR, \fBsharenfs\fR, and \fBsharesmb\fR.
341 .sp
342 .LP
343 The following native properties consist of read-only statistics about the dataset. These properties can be neither set, nor inherited. Native properties apply to all dataset types unless otherwise noted.
344 .sp
345 .ne 2
346 .mk
347 .na
348 \fB\fBavailable\fR\fR
349 .ad
350 .sp .6
351 .RS 4n
352 The amount of space available to the dataset and all its children, assuming that there is no other activity in the pool. Because space is shared within a pool, availability can be limited by any number of factors, including physical pool size, quotas, reservations, or other datasets within the pool.
353 .sp
354 This property can also be referred to by its shortened column name, \fBavail\fR.
355 .RE
356
357 .sp
358 .ne 2
359 .mk
360 .na
361 \fB\fBcompressratio\fR\fR
362 .ad
363 .sp .6
364 .RS 4n
365 The compression ratio achieved for this dataset, expressed as a multiplier. Compression can be turned on by running: \fBzfs set compression=on \fIdataset\fR\fR. The default value is \fBoff\fR.
366 .RE
367
368 .sp
369 .ne 2
370 .mk
371 .na
372 \fB\fBcreation\fR\fR
373 .ad
374 .sp .6
375 .RS 4n
376 The time this dataset was created.
377 .RE
378
379 .sp
380 .ne 2
381 .mk
382 .na
383 \fB\fBmounted\fR\fR
384 .ad
385 .sp .6
386 .RS 4n
387 For file systems, indicates whether the file system is currently mounted. This property can be either \fByes\fR or \fBno\fR.
388 .RE
389
390 .sp
391 .ne 2
392 .mk
393 .na
394 \fB\fBorigin\fR\fR
395 .ad
396 .sp .6
397 .RS 4n
398 For cloned file systems or volumes, the snapshot from which the clone was created. The origin cannot be destroyed (even with the \fB-r\fR or \fB-f\fR options) so long as a clone exists.
399 .RE
400
401 .sp
402 .ne 2
403 .mk
404 .na
405 \fB\fBreferenced\fR\fR
406 .ad
407 .sp .6
408 .RS 4n
409 The amount of data that is accessible by this dataset, which may or may not be shared with other datasets in the pool. When a snapshot or clone is created, it initially references the same amount of space as the file system or snapshot it was created from, since its contents are identical.
410 .sp
411 This property can also be referred to by its shortened column name, \fBrefer\fR.
412 .RE
413
414 .sp
415 .ne 2
416 .mk
417 .na
418 \fB\fBtype\fR\fR
419 .ad
420 .sp .6
421 .RS 4n
422 The type of dataset: \fBfilesystem\fR, \fBvolume\fR, or \fBsnapshot\fR.
423 .RE
424
425 .sp
426 .ne 2
427 .mk
428 .na
429 \fB\fBused\fR\fR
430 .ad
431 .sp .6
432 .RS 4n
433 The amount of space consumed by this dataset and all its descendents. This is the value that is checked against this dataset's quota and reservation. The space used does not include this dataset's reservation, but does take into account the reservations of any descendent datasets. The amount of space that a dataset consumes from its parent, as well as the amount of space that are freed if this dataset is recursively destroyed, is the greater of its space used and its reservation.
434 .sp
435 When snapshots (see the "Snapshots" section) are created, their space is initially shared between the snapshot and the file system, and possibly with previous snapshots. As the file system changes, space that was previously shared becomes unique to the snapshot, and counted in the snapshot's space used. Additionally, deleting snapshots can increase the amount of space unique to (and used by) other snapshots.
436 .sp
437 The amount of space used, available, or referenced does not take into account pending changes. Pending changes are generally accounted for within a few seconds. Committing a change to a disk using \fBfsync\fR(3c) or \fBO_SYNC\fR does not necessarily guarantee that the space usage information is updated immediately.
438 .RE
439
440 .sp
441 .ne 2
442 .mk
443 .na
444 \fB\fBusedby*\fR\fR
445 .ad
446 .sp .6
447 .RS 4n
448 The \fBusedby*\fR properties decompose the \fBused\fR properties into the various reasons that space is used. Specifically, \fBused\fR = \fBusedbychildren\fR + \fBusedbydataset\fR + \fBusedbyrefreservation\fR +, \fBusedbysnapshots\fR. These properties are only available for datasets created on \fBzpool\fR "version 13" pools.
449 .RE
450
451 .sp
452 .ne 2
453 .mk
454 .na
455 \fB\fBusedbychildren\fR\fR
456 .ad
457 .sp .6
458 .RS 4n
459 The amount of space used by children of this dataset, which would be freed if all the dataset's children were destroyed.
460 .RE
461
462 .sp
463 .ne 2
464 .mk
465 .na
466 \fB\fBusedbydataset\fR\fR
467 .ad
468 .sp .6
469 .RS 4n
470 The amount of space used by this dataset itself, which would be freed if the dataset were destroyed (after first removing any \fBrefreservation\fR and destroying any necessary snapshots or descendents).
471 .RE
472
473 .sp
474 .ne 2
475 .mk
476 .na
477 \fB\fBusedbyrefreservation\fR\fR
478 .ad
479 .sp .6
480 .RS 4n
481 The amount of space used by a \fBrefreservation\fR set on this dataset, which would be freed if the \fBrefreservation\fR was removed.
482 .RE
483
484 .sp
485 .ne 2
486 .mk
487 .na
488 \fB\fBusedbysnapshots\fR\fR
489 .ad
490 .sp .6
491 .RS 4n
492 The amount of space consumed by snapshots of this dataset. In particular, it is the amount of space that would be freed if all of this dataset's snapshots were destroyed. Note that this is not simply the sum of the snapshots' \fBused\fR properties because space can be shared by multiple snapshots
493 .RE
494
495 .sp
496 .ne 2
497 .mk
498 .na
499 \fB\fBuserused@\fR\fIuser\fR\fR
500 .ad
501 .sp .6
502 .RS 4n
503 The amount of space referenced in this dataset by the specified user. Space is charged to the owner of each file, as displayed by \fBls\fR \fB-l\fR. The amount of space charged is displayed by \fBdu\fR and \fBls\fR \fB-s\fR. See the \fBzfs userspace\fR subcommand for more information.
504 .sp
505 Unprivileged users can access only their own space usage. The root user, or a user who has been granted the \fBuserused\fR privilege with \fBzfs allow\fR, can access everyone's usage.
506 .sp
507 This property cannot be set on volumes, or on pools before version 15. The \fBuserused@\fR... properties are not displayed by \fBzfs get all\fR. The user's name must be appended after the \fB@\fR symbol, using one of the following forms:
508 .RS +4
509 .TP
510 .ie t \(bu
511 .el o
512 \fIposix name\fR (for example, \fBjoe\fR)
513 .RE
514 .RS +4
515 .TP
516 .ie t \(bu
517 .el o
518 \fIposix numeric id\fR (for example, \fB789\fR)
519 .RE
520 .RS +4
521 .TP
522 .ie t \(bu
523 .el o
524 \fIsid name\fR (for example, \fBjoe.smith@mydomain\fR)
525 .RE
526 .RS +4
527 .TP
528 .ie t \(bu
529 .el o
530 \fIsid numeric id\fR (for example, \fBS-1-123-456-789\fR)
531 .RE
532 .RE
533
534 .sp
535 .ne 2
536 .mk
537 .na
538 \fB\fBgroupused@\fR\fIgroup\fR\fR
539 .ad
540 .sp .6
541 .RS 4n
542 The amount of space referenced in this dataset by the specified group. Space is charged to the group of each file, as displayed by \fBls\fR \fB-l\fR. See the \fBuserused@\fR\fIuser\fR property for more information.
543 .sp
544 Unprivileged users can only access the \fBgroupused@\fR... property for groups that they are a member of. The root user, or a user who has been granted the \fBgroupused\fR privilege with \fBzfs allow\fR, can access all groups' usage.
545 .RE
546
547 .sp
548 .ne 2
549 .mk
550 .na
551 \fB\fBvolblocksize\fR=\fIblocksize\fR\fR
552 .ad
553 .sp .6
554 .RS 4n
555 For volumes, specifies the block size of the volume. The \fBblocksize\fR cannot be changed once the volume has been written, so it should be set at volume creation time. The default \fBblocksize\fR for volumes is 8 Kbytes. Any power of 2 from 512 bytes to 128 Kbytes is valid.
556 .sp
557 This property can also be referred to by its shortened column name, \fBvolblock\fR.
558 .RE
559
560 .sp
561 .LP
562 The following native properties can be used to change the behavior of a \fBZFS\fR dataset.
563 .sp
564 .ne 2
565 .mk
566 .na
567 \fB\fBaclinherit\fR=\fBdiscard\fR | \fBnoallow\fR | \fBrestricted\fR | \fBpassthrough\fR | \fBpassthrough-x\fR\fR
568 .ad
569 .sp .6
570 .RS 4n
571 Controls how \fBACL\fR entries are inherited when files and directories are created. A file system with an \fBaclinherit\fR property of \fBdiscard\fR does not inherit any \fBACL\fR entries. A file system with an \fBaclinherit\fR property value of \fBnoallow\fR only inherits inheritable \fBACL\fR entries that specify "deny" permissions. The property value \fBrestricted\fR (the default) removes the \fBwrite_acl\fR and \fBwrite_owner\fR permissions when the \fBACL\fR entry is inherited. A file system with an \fBaclinherit\fR property value of \fBpassthrough\fR inherits all inheritable \fBACL\fR entries without any modifications made to the \fBACL\fR entries when they are inherited. A file system with an \fBaclinherit\fR property value of \fBpassthrough-x\fR has the same meaning as \fBpassthrough\fR, except that the \fBowner@\fR, \fBgroup@\fR, and \fBeveryone@\fR \fBACE\fRs inherit the execute permission only if the file creation mode also requests the execute bit.
572 .sp
573 When the property value is set to \fBpassthrough\fR, files are created with a mode determined by the inheritable \fBACE\fRs. If no inheritable \fBACE\fRs exist that affect the mode, then the mode is set in accordance to the requested mode from the application.
574 .RE
575
576 .sp
577 .ne 2
578 .mk
579 .na
580 \fB\fBaclmode\fR=\fBdiscard\fR | \fBgroupmask\fR | \fBpassthrough\fR\fR
581 .ad
582 .sp .6
583 .RS 4n
584 Controls how an \fBACL\fR is modified during \fBchmod\fR(2). A file system with an \fBaclmode\fR property of \fBdiscard\fR deletes all \fBACL\fR entries that do not represent the mode of the file. An \fBaclmode\fR property of \fBgroupmask\fR (the default) reduces user or group permissions. The permissions are reduced, such that they are no greater than the group permission bits, unless it is a user entry that has the same \fBUID\fR as the owner of the file or directory. In this case, the \fBACL\fR permissions are reduced so that they are no greater than owner permission bits. A file system with an \fBaclmode\fR property of \fBpassthrough\fR indicates that no changes are made to the \fBACL\fR other than generating the necessary \fBACL\fR entries to represent the new mode of the file or directory.
585 .RE
586
587 .sp
588 .ne 2
589 .mk
590 .na
591 \fB\fBatime\fR=\fBon\fR | \fBoff\fR\fR
592 .ad
593 .sp .6
594 .RS 4n
595 Controls whether the access time for files is updated when they are read. Turning this property off avoids producing write traffic when reading files and can result in significant performance gains, though it might confuse mailers and other similar utilities. The default value is \fBon\fR.
596 .RE
597
598 .sp
599 .ne 2
600 .mk
601 .na
602 \fB\fBcanmount\fR=\fBon\fR | \fBoff\fR | \fBnoauto\fR\fR
603 .ad
604 .sp .6
605 .RS 4n
606 If this property is set to \fBoff\fR, the file system cannot be mounted, and is ignored by \fBzfs mount -a\fR. Setting this property to \fBoff\fR is similar to setting the \fBmountpoint\fR property to \fBnone\fR, except that the dataset still has a normal \fBmountpoint\fR property, which can be inherited. Setting this property to \fBoff\fR allows datasets to be used solely as a mechanism to inherit properties. One example of setting \fBcanmount=\fR\fBoff\fR is to have two datasets with the same \fBmountpoint\fR, so that the children of both datasets appear in the same directory, but might have different inherited characteristics.
607 .sp
608 When the \fBnoauto\fR option is set, a dataset can only be mounted and unmounted explicitly. The dataset is not mounted automatically when the dataset is created or imported, nor is it mounted by the \fBzfs mount -a\fR command or unmounted by the \fBzfs unmount -a\fR command.
609 .sp
610 This property is not inherited.
611 .RE
612
613 .sp
614 .ne 2
615 .mk
616 .na
617 \fB\fBchecksum\fR=\fBon\fR | \fBoff\fR | \fBfletcher2,\fR| \fBfletcher4\fR | \fBsha256\fR\fR
618 .ad
619 .sp .6
620 .RS 4n
621 Controls the checksum used to verify data integrity. The default value is \fBon\fR, which automatically selects an appropriate algorithm (currently, \fBfletcher2\fR, but this may change in future releases). The value \fBoff\fR disables integrity checking on user data. Disabling checksums is \fBNOT\fR a recommended practice.
622 .RE
623
624 .sp
625 .ne 2
626 .mk
627 .na
628 \fB\fBcompression\fR=\fBon\fR | \fBoff\fR | \fBlzjb\fR | \fBgzip\fR | \fBgzip-\fR\fIN\fR\fR
629 .ad
630 .sp .6
631 .RS 4n
632 Controls the compression algorithm used for this dataset. The \fBlzjb\fR compression algorithm is optimized for performance while providing decent data compression. Setting compression to "on" uses the "lzjb" compression algorithm. The "gzip" compression algorithm uses the same compression as the \fBgzip\fR(1) command. You can specify the "gzip" level by using the value "gzip-\fIN\fR" where \fIN\fR is an integer from 1 (fastest) to 9 (best compression ratio). Currently, "gzip" is equivalent to "gzip-6" (which is also the default for \fBgzip\fR(1)).
633 .sp
634 This property can also be referred to by its shortened column name "compress".
635 .RE
636
637 .sp
638 .ne 2
639 .mk
640 .na
641 \fBcopies=\fB1\fR | \fB2\fR | \fB3\fR\fR
642 .ad
643 .sp .6
644 .RS 4n
645 Controls the number of copies of data stored for this dataset. These copies are in addition to any redundancy provided by the pool, for example, mirroring or \fBraid-z\fR. The copies are stored on different disks, if possible. The space used by multiple copies is charged to the associated file and dataset, changing the \fBused\fR property and counting against quotas and reservations.
646 .sp
647 Changing this property only affects newly-written data. Therefore, set this property at file system creation time by using the \fB-o\fR \fBcopies=\fR option.
648 .RE
649
650 .sp
651 .ne 2
652 .mk
653 .na
654 \fB\fBdevices\fR=\fBon\fR | \fBoff\fR\fR
655 .ad
656 .sp .6
657 .RS 4n
658 Controls whether device nodes can be opened on this file system. The default value is \fBon\fR.
659 .RE
660
661 .sp
662 .ne 2
663 .mk
664 .na
665 \fB\fBexec\fR=\fBon\fR | \fBoff\fR\fR
666 .ad
667 .sp .6
668 .RS 4n
669 Controls whether processes can be executed from within this file system. The default value is \fBon\fR.
670 .RE
671
672 .sp
673 .ne 2
674 .mk
675 .na
676 \fB\fBmountpoint\fR=\fIpath\fR | \fBnone\fR | \fBlegacy\fR\fR
677 .ad
678 .sp .6
679 .RS 4n
680 Controls the mount point used for this file system. See the "Mount Points" section for more information on how this property is used. 
681 .sp
682 When the \fBmountpoint\fR property is changed for a file system, the file system and any children that inherit the mount point are unmounted. If the new value is \fBlegacy\fR, then they remain unmounted. Otherwise, they are automatically remounted in the new location if the property was previously \fBlegacy\fR or \fBnone\fR, or if they were mounted before the property was changed. In addition, any shared file systems are unshared and shared in the new location.
683 .RE
684
685 .sp
686 .ne 2
687 .mk
688 .na
689 \fB\fBnbmand\fR=\fBon\fR | \fBoff\fR\fR
690 .ad
691 .sp .6
692 .RS 4n
693 Controls whether the file system should be mounted with \fBnbmand\fR (Non Blocking mandatory locks). This is used for \fBCIFS\fR clients. Changes to this property only take effect when the file system is umounted and remounted. See \fBmount\fR(1M) for more information on \fBnbmand\fR mounts.
694 .RE
695
696 .sp
697 .ne 2
698 .mk
699 .na
700 \fB\fBprimarycache\fR=\fBall\fR | \fBnone\fR | \fBmetadata\fR\fR
701 .ad
702 .sp .6
703 .RS 4n
704 Controls what is cached in the primary cache (ARC). If this property is set to \fBall\fR, then both user data and metadata is cached. If this property is set to \fBnone\fR, then neither user data nor metadata is cached. If this property is set to \fBmetadata\fR, then only metadata is cached. The default value is \fBall\fR.
705 .RE
706
707 .sp
708 .ne 2
709 .mk
710 .na
711 \fB\fBquota\fR=\fIsize\fR | \fBnone\fR\fR
712 .ad
713 .sp .6
714 .RS 4n
715 Limits the amount of space a dataset and its descendents can consume. This property enforces a hard limit on the amount of space used. This includes all space consumed by descendents, including file systems and snapshots. Setting a quota on a descendent of a dataset that already has a quota does not override the ancestor's quota, but rather imposes an additional limit.
716 .sp
717 Quotas cannot be set on volumes, as the \fBvolsize\fR property acts as an implicit quota.
718 .RE
719
720 .sp
721 .ne 2
722 .mk
723 .na
724 \fB\fBuserquota@\fR\fIuser\fR=\fIsize\fR | \fBnone\fR\fR
725 .ad
726 .sp .6
727 .RS 4n
728 Limits the amount of space referenced by the specified user, which is specified by the \fBuserspace@\fR\fIuser\fR property.
729 .sp
730 Enforcement of user quotas may be delayed by several seconds. In other words, users may go a bit over their quota before the system notices that they are over quota and begins to refuse additional writes with \fBEDQUOT\fR. See the \fBzfs userspace\fR subcommand for more information.
731 .sp
732 Unprivileged users can get only their own quota. The root user, or a user who has been granted the \fBuserquota\fR privilege with \fBzfs allow\fR, can get and set everyone's quota.
733 .sp
734 This property cannot be set on volumes, on filesystems before version 4, or on pools before version 15. The \fBuserquota@\fR... properties are not displayed by \fBzfs get all\fR. The user's name must be appended after the \fB@\fR symbol, using one of the following forms:
735 .RS +4
736 .TP
737 .ie t \(bu
738 .el o
739 \fIposix name\fR (for example, \fBjoe\fR)
740 .RE
741 .RS +4
742 .TP
743 .ie t \(bu
744 .el o
745 \fIposix numeric id\fR (for example, \fB789\fR)
746 .RE
747 .RS +4
748 .TP
749 .ie t \(bu
750 .el o
751 \fIsid name\fR (for example, \fBjoe.smith@mydomain\fR)
752 .RE
753 .RS +4
754 .TP
755 .ie t \(bu
756 .el o
757 \fIsid numeric id\fR (for example, \fBS-1-123-456-789\fR)
758 .RE
759 .RE
760
761 .sp
762 .ne 2
763 .mk
764 .na
765 \fB\fBgroupquota@\fR\fIgroup\fR=\fIsize\fR | \fBnone\fR\fR
766 .ad
767 .sp .6
768 .RS 4n
769 Limits the amount of space referenced by the specified group. See the \fBuserquota@\fR\fIuser\fR property for more information.
770 .sp
771 Unprivileged users can only get the quota of groups they are a member of. The root user, or a user who has been granted the \fBgroupquota\fR privilege with \fBzfs allow\fR, can get and set all groups' quotas.
772 .RE
773
774 .sp
775 .ne 2
776 .mk
777 .na
778 \fB\fBreadonly\fR=\fBon\fR | \fBoff\fR\fR
779 .ad
780 .sp .6
781 .RS 4n
782 Controls whether this dataset can be modified. The default value is \fBoff\fR.
783 .sp
784 This property can also be referred to by its shortened column name, \fBrdonly\fR.
785 .RE
786
787 .sp
788 .ne 2
789 .mk
790 .na
791 \fB\fBrecordsize\fR=\fIsize\fR\fR
792 .ad
793 .sp .6
794 .RS 4n
795 Specifies a suggested block size for files in the file system. This property is designed solely for use with database workloads that access files in fixed-size records. \fBZFS\fR automatically tunes block sizes according to internal algorithms optimized for typical access patterns. 
796 .sp
797 For databases that create very large files but access them in small random chunks, these algorithms may be suboptimal. Specifying a \fBrecordsize\fR greater than or equal to the record size of the database can result in significant performance gains. Use of this property for general purpose file systems is strongly discouraged, and may adversely affect performance.
798 .sp
799 The size specified must be a power of two greater than or equal to 512 and less than or equal to 128 Kbytes.
800 .sp
801 Changing the file system's \fBrecordsize\fR affects only files created afterward; existing files are unaffected.
802 .sp
803 This property can also be referred to by its shortened column name, \fBrecsize\fR.
804 .RE
805
806 .sp
807 .ne 2
808 .mk
809 .na
810 \fB\fBrefquota\fR=\fIsize\fR | \fBnone\fR\fR
811 .ad
812 .sp .6
813 .RS 4n
814 Limits the amount of space a dataset can consume. This property enforces a hard limit on the amount of space used. This hard limit does not include space used by descendents, including file systems and snapshots.
815 .RE
816
817 .sp
818 .ne 2
819 .mk
820 .na
821 \fB\fBrefreservation\fR=\fIsize\fR | \fBnone\fR\fR
822 .ad
823 .sp .6
824 .RS 4n
825 The minimum amount of space guaranteed to a dataset, not including its descendents. When the amount of space used is below this value, the dataset is treated as if it were taking up the amount of space specified by \fBrefreservation\fR. The \fBrefreservation\fR reservation is accounted for in the parent datasets' space used, and counts against the parent datasets' quotas and reservations.
826 .sp
827 If \fBrefreservation\fR is set, a snapshot is only allowed if there is enough free pool space outside of this reservation to accommodate the current number of "referenced" bytes in the dataset.
828 .sp
829 This property can also be referred to by its shortened column name, \fBrefreserv\fR.
830 .RE
831
832 .sp
833 .ne 2
834 .mk
835 .na
836 \fB\fBreservation\fR=\fIsize\fR | \fBnone\fR\fR
837 .ad
838 .sp .6
839 .RS 4n
840 The minimum amount of space guaranteed to a dataset and its descendents. When the amount of space used is below this value, the dataset is treated as if it were taking up the amount of space specified by its reservation. Reservations are accounted for in the parent datasets' space used, and count against the parent datasets' quotas and reservations.
841 .sp
842 This property can also be referred to by its shortened column name, \fBreserv\fR.
843 .RE
844
845 .sp
846 .ne 2
847 .mk
848 .na
849 \fB\fBsecondarycache\fR=\fBall\fR | \fBnone\fR | \fBmetadata\fR\fR
850 .ad
851 .sp .6
852 .RS 4n
853 Controls what is cached in the secondary cache (L2ARC). If this property is set to \fBall\fR, then both user data and metadata is cached. If this property is set to \fBnone\fR, then neither user data nor metadata is cached. If this property is set to \fBmetadata\fR, then only metadata is cached. The default value is \fBall\fR.
854 .RE
855
856 .sp
857 .ne 2
858 .mk
859 .na
860 \fB\fBsetuid\fR=\fBon\fR | \fBoff\fR\fR
861 .ad
862 .sp .6
863 .RS 4n
864 Controls whether the set-\fBUID\fR bit is respected for the file system. The default value is \fBon\fR.
865 .RE
866
867 .sp
868 .ne 2
869 .mk
870 .na
871 \fB\fBshareiscsi\fR=\fBon\fR | \fBoff\fR\fR
872 .ad
873 .sp .6
874 .RS 4n
875 Like the \fBsharenfs\fR property, \fBshareiscsi\fR indicates whether a \fBZFS\fR volume is exported as an \fBiSCSI\fR target. The acceptable values for this property are \fBon\fR, \fBoff\fR, and \fBtype=disk\fR. The default value is \fBoff\fR. In the future, other target types might be supported. For example, \fBtape\fR.
876 .sp
877 You might want to set \fBshareiscsi=on\fR for a file system so that all \fBZFS\fR volumes within the file system are shared by default. However, setting this property on a file system has no direct effect.
878 .RE
879
880 .sp
881 .ne 2
882 .mk
883 .na
884 \fB\fBsharesmb\fR=\fBon\fR | \fBoff\fR | \fIopts\fR\fR
885 .ad
886 .sp .6
887 .RS 4n
888 Controls whether the file system is shared by using the Solaris \fBCIFS\fR service, and what options are to be used. A file system with the \fBsharesmb\fR property set to \fBoff\fR is managed through traditional tools such as \fBsharemgr\fR(1M). Otherwise, the file system is automatically shared and unshared with the \fBzfs share\fR and \fBzfs unshare\fR commands. If the property is set to \fBon\fR, the \fBsharemgr\fR(1M) command is invoked with no options. Otherwise, the \fBsharemgr\fR(1M) command is invoked with options equivalent to the contents of this property.
889 .sp
890 Because \fBSMB\fR shares requires a resource name, a unique resource name is constructed from the dataset name. The constructed name is a copy of the dataset name except that the characters in the dataset name, which would be illegal in the resource name, are replaced with underscore (\fB_\fR) characters. A pseudo property "name" is also supported that allows you to replace the data set name with a specified name. The specified name is then used to replace the prefix dataset in the case of inheritance. For example, if the dataset \fBdata/home/john\fR is set to \fBname=john\fR, then \fBdata/home/john\fR has a resource name of \fBjohn\fR. If a child dataset of \fBdata/home/john/backups\fR, it has a resource name of \fBjohn_backups\fR.
891 .sp
892 When SMB shares are created, the SMB share name appears as an entry in the \fB\&.zfs/shares\fR directory. You can use the \fBls\fR or \fBchmod\fR command to display the share-level ACLs on the entries in this directory.
893 .sp
894 When the \fBsharesmb\fR property is changed for a dataset, the dataset and any children inheriting the property are re-shared with the new options, only if the property was previously set to \fBoff\fR, or if they were shared before the property was changed. If the new property is set to \fBoff\fR, the file systems are unshared.
895 .RE
896
897 .sp
898 .ne 2
899 .mk
900 .na
901 \fB\fBsharenfs\fR=\fBon\fR | \fBoff\fR | \fIopts\fR\fR
902 .ad
903 .sp .6
904 .RS 4n
905 Controls whether the file system is shared via \fBNFS\fR, and what options are used. A file system with a \fBsharenfs\fR property of \fBoff\fR is managed through traditional tools such as \fBshare\fR(1M), \fBunshare\fR(1M), and \fBdfstab\fR(4). Otherwise, the file system is automatically shared and unshared with the \fBzfs share\fR and \fBzfs unshare\fR commands. If the property is set to \fBon\fR, the \fBshare\fR(1M) command is invoked with no options. Otherwise, the \fBshare\fR(1M) command is invoked with options equivalent to the contents of this property.
906 .sp
907 When the \fBsharenfs\fR property is changed for a dataset, the dataset and any children inheriting the property are re-shared with the new options, only if the property was previously "off", or if they were shared before the property was changed. If the new property is \fBoff\fR, the file systems are unshared.
908 .RE
909
910 .sp
911 .ne 2
912 .mk
913 .na
914 \fB\fBsnapdir\fR=\fBhidden\fR | \fBvisible\fR\fR
915 .ad
916 .sp .6
917 .RS 4n
918 Controls whether the \fB\&.zfs\fR directory is hidden or visible in the root of the file system as discussed in the "Snapshots" section. The default value is \fBhidden\fR.
919 .RE
920
921 .sp
922 .ne 2
923 .mk
924 .na
925 \fB\fBversion\fR=\fB1\fR | \fB2\fR | \fBcurrent\fR\fR
926 .ad
927 .sp .6
928 .RS 4n
929 The on-disk version of this file system, which is independent of the pool version. This property can only be set to later supported versions. See the \fBzfs upgrade\fR command.
930 .RE
931
932 .sp
933 .ne 2
934 .mk
935 .na
936 \fB\fBvolsize\fR=\fIsize\fR\fR
937 .ad
938 .sp .6
939 .RS 4n
940 For volumes, specifies the logical size of the volume. By default, creating a volume establishes a reservation of equal size. For storage pools with a version number of 9 or higher, a \fBrefreservation\fR is set instead. Any changes to \fBvolsize\fR are reflected in an equivalent change to the reservation (or \fBrefreservation\fR). The \fBvolsize\fR can only be set to a multiple of \fBvolblocksize\fR, and cannot be zero.
941 .sp
942 The reservation is kept equal to the volume's logical size to prevent unexpected behavior for consumers. Without the reservation, the volume could run out of space, resulting in undefined behavior or data corruption, depending on how the volume is used. These effects can also occur when the volume size is changed while it is in use (particularly when shrinking the size). Extreme care should be used when adjusting the volume size.
943 .sp
944 Though not recommended, a "sparse volume" (also known as "thin provisioning") can be created by specifying the \fB-s\fR option to the \fBzfs create -V\fR command, or by changing the reservation after the volume has been created. A "sparse volume" is a volume where the reservation is less then the volume size. Consequently, writes to a sparse volume can fail with \fBENOSPC\fR when the pool is low on space. For a sparse volume, changes to \fBvolsize\fR are not reflected in the reservation.
945 .RE
946
947 .sp
948 .ne 2
949 .mk
950 .na
951 \fB\fBvscan\fR=\fBon\fR | \fBoff\fR\fR
952 .ad
953 .sp .6
954 .RS 4n
955 Controls whether regular files should be scanned for viruses when a file is opened and closed. In addition to enabling this property, the virus scan service must also be enabled for virus scanning to occur. The default value is \fBoff\fR.
956 .RE
957
958 .sp
959 .ne 2
960 .mk
961 .na
962 \fBxattr=\fBon\fR | \fBoff\fR\fR
963 .ad
964 .sp .6
965 .RS 4n
966 Controls whether extended attributes are enabled for this file system. The default value is \fBon\fR.
967 .RE
968
969 .sp
970 .ne 2
971 .mk
972 .na
973 \fB\fBzoned\fR=\fBon\fR | \fBoff\fR\fR
974 .ad
975 .sp .6
976 .RS 4n
977 Controls whether the dataset is managed from a non-global zone. See the "Zones" section for more information. The default value is \fBoff\fR.
978 .RE
979
980 .sp
981 .LP
982 The following three properties cannot be changed after the file system is created, and therefore, should be set when the file system is created. If the properties are not set with the \fBzfs create\fR or \fBzpool create\fR commands, these properties are inherited from the parent dataset. If the parent dataset lacks these properties due to having been created prior to these features being supported, the new file system will have the default values for these properties.
983 .sp
984 .ne 2
985 .mk
986 .na
987 \fB\fBcasesensitivity\fR=\fBsensitive\fR | \fBinsensitive\fR | \fBmixed\fR\fR
988 .ad
989 .sp .6
990 .RS 4n
991 Indicates whether the file name matching algorithm used by the file system should be case-sensitive, case-insensitive, or allow a combination of both styles of matching. The default value for the \fBcasesensitivity\fR property is \fBsensitive\fR. Traditionally, UNIX and POSIX file systems have case-sensitive file names.
992 .sp
993 The \fBmixed\fR value for the \fBcasesensitivity\fR property indicates that the file system can support requests for both case-sensitive and case-insensitive matching behavior. Currently, case-insensitive matching behavior on a file system that supports mixed behavior is limited to the Solaris CIFS server product. For more information about the \fBmixed\fR value behavior, see the \fISolaris ZFS Administration Guide\fR.
994 .RE
995
996 .sp
997 .ne 2
998 .mk
999 .na
1000 \fB\fBnormalization\fR=\fBnone\fR | \fBformD\fR | \fBformKCf\fR\fR
1001 .ad
1002 .sp .6
1003 .RS 4n
1004 Indicates whether the file system should perform a \fBunicode\fR normalization of file names whenever two file names are compared, and which normalization algorithm should be used. File names are always stored unmodified, names are normalized as part of any comparison process. If this property is set to a legal value other than \fBnone\fR, and the \fButf8only\fR property was left unspecified, the \fButf8only\fR property is automatically set to \fBon\fR. The default value of the \fBnormalization\fR property is \fBnone\fR. This property cannot be changed after the file system is created.
1005 .RE
1006
1007 .sp
1008 .ne 2
1009 .mk
1010 .na
1011 \fB\fButf8only\fR=\fBon\fR | \fBoff\fR\fR
1012 .ad
1013 .sp .6
1014 .RS 4n
1015 Indicates whether the file system should reject file names that include characters that are not present in the \fBUTF-8\fR character code set. If this property is explicitly set to \fBoff\fR, the normalization property must either not be explicitly set or be set to \fBnone\fR. The default value for the \fButf8only\fR property is \fBoff\fR. This property cannot be changed after the file system is created.
1016 .RE
1017
1018 .sp
1019 .LP
1020 The \fBcasesensitivity\fR, \fBnormalization\fR, and \fButf8only\fR properties are also new permissions that can be assigned to non-privileged users by using the \fBZFS\fR delegated administration feature.
1021 .SS "Temporary Mount Point Properties"
1022 .sp
1023 .LP
1024 When a file system is mounted, either through \fBmount\fR(1M) for legacy mounts or the \fBzfs mount\fR command for normal file systems, its mount options are set according to its properties. The correlation between properties and mount options is as follows:
1025 .sp
1026 .in +2
1027 .nf
1028     PROPERTY                MOUNT OPTION
1029      devices                 devices/nodevices
1030      exec                    exec/noexec
1031      readonly                ro/rw
1032      setuid                  setuid/nosetuid
1033      xattr                   xattr/noxattr
1034 .fi
1035 .in -2
1036 .sp
1037
1038 .sp
1039 .LP
1040 In addition, these options can be set on a per-mount basis using the \fB-o\fR option, without affecting the property that is stored on disk. The values specified on the command line override the values stored in the dataset. The \fB-nosuid\fR option is an alias for \fBnodevices,nosetuid\fR. These properties are reported as "temporary" by the \fBzfs get\fR command. If the properties are changed while the dataset is mounted, the new setting overrides any temporary settings.
1041 .SS "User Properties"
1042 .sp
1043 .LP
1044 In addition to the standard native properties, \fBZFS\fR supports arbitrary user properties. User properties have no effect on \fBZFS\fR behavior, but applications or administrators can use them to annotate datasets (file systems, volumes, and snapshots).
1045 .sp
1046 .LP
1047 User property names must contain a colon (\fB:\fR) character to distinguish them from native properties. They may contain lowercase letters, numbers, and the following punctuation characters: colon (\fB:\fR), dash (\fB-\fR), period (\fB\&.\fR), and underscore (\fB_\fR). The expected convention is that the property name is divided into two portions such as \fImodule\fR\fB:\fR\fIproperty\fR, but this namespace is not enforced by \fBZFS\fR. User property names can be at most 256 characters, and cannot begin with a dash (\fB-\fR).
1048 .sp
1049 .LP
1050 When making programmatic use of user properties, it is strongly suggested to use a reversed \fBDNS\fR domain name for the \fImodule\fR component of property names to reduce the chance that two independently-developed packages use the same property name for different purposes. Property names beginning with \fBcom.sun\fR. are reserved for use by Sun Microsystems.
1051 .sp
1052 .LP
1053 The values of user properties are arbitrary strings, are always inherited, and are never validated. All of the commands that operate on properties (\fBzfs list\fR, \fBzfs get\fR, \fBzfs set\fR, and so forth) can be used to manipulate both native properties and user properties. Use the \fBzfs inherit\fR command to clear a user property . If the property is not defined in any parent dataset, it is removed entirely. Property values are limited to 1024 characters.
1054 .SS "ZFS Volumes as Swap or Dump Devices"
1055 .sp
1056 .LP
1057 During an initial installation or a live upgrade from a \fBUFS\fR file system, a swap device and dump device are created on \fBZFS\fR volumes in the \fBZFS\fR root pool. By default, the swap area size is based on 1/2 the size of physical memory up to 2 Gbytes. The size of the dump device depends on the kernel's requirements at installation time. Separate \fBZFS\fR volumes must be used for the swap area and dump devices. Do not swap to a file on a \fBZFS\fR file system. A \fBZFS\fR swap file configuration is not supported. 
1058 .sp
1059 .LP
1060 If you need to change your swap area or dump device after the system is installed or upgraded, use the \fBswap\fR(1M) and \fBdumpadm\fR(1M) commands. If you need to change the size of your swap area or dump device, see the \fISolaris ZFS Administration Guide\fR.
1061 .SH SUBCOMMANDS
1062 .sp
1063 .LP
1064 All subcommands that modify state are logged persistently to the pool in their original form.
1065 .sp
1066 .ne 2
1067 .mk
1068 .na
1069 \fB\fBzfs ?\fR\fR
1070 .ad
1071 .sp .6
1072 .RS 4n
1073 Displays a help message.
1074 .RE
1075
1076 .sp
1077 .ne 2
1078 .mk
1079 .na
1080 \fB\fBzfs create\fR [\fB-p\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fIfilesystem\fR\fR
1081 .ad
1082 .sp .6
1083 .RS 4n
1084 Creates a new \fBZFS\fR file system. The file system is automatically mounted according to the "mountpoint" property inherited from the parent.
1085 .sp
1086 .ne 2
1087 .mk
1088 .na
1089 \fB\fB-p\fR\fR
1090 .ad
1091 .sp .6
1092 .RS 4n
1093 Creates all the non-existing parent datasets. Datasets created in this manner are automatically mounted according to the \fBmountpoint\fR property inherited from their parent. Any property specified on the command line using the \fB-o\fR option is ignored. If the target filesystem already exists, the operation completes successfully.
1094 .RE
1095
1096 .sp
1097 .ne 2
1098 .mk
1099 .na
1100 \fB\fB-o\fR \fIproperty\fR=\fIvalue\fR\fR
1101 .ad
1102 .sp .6
1103 .RS 4n
1104 Sets the specified property as if the command \fBzfs set \fIproperty\fR=\fIvalue\fR\fR was invoked at the same time the dataset was created. Any editable \fBZFS\fR property can also be set at creation time. Multiple \fB-o\fR options can be specified. An error results if the same property is specified in multiple \fB-o\fR options.
1105 .RE
1106
1107 .RE
1108
1109 .sp
1110 .ne 2
1111 .mk
1112 .na
1113 \fB\fBzfs create\fR [\fB-ps\fR] [\fB-b\fR \fIblocksize\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fB-V\fR \fIsize\fR \fIvolume\fR\fR
1114 .ad
1115 .sp .6
1116 .RS 4n
1117 Creates a volume of the given size. The volume is exported as a block device in \fB/dev/zvol/{dsk,rdsk}/\fIpath\fR\fR, where \fIpath\fR is the name of the volume in the \fBZFS\fR namespace. The size represents the logical size as exported by the device. By default, a reservation of equal size is created.
1118 .sp
1119 \fIsize\fR is automatically rounded up to the nearest 128 Kbytes to ensure that the volume has an integral number of blocks regardless of \fIblocksize\fR.
1120 .sp
1121 .ne 2
1122 .mk
1123 .na
1124 \fB\fB-p\fR\fR
1125 .ad
1126 .sp .6
1127 .RS 4n
1128 Creates all the non-existing parent datasets. Datasets created in this manner are automatically mounted according to the \fBmountpoint\fR property inherited from their parent. Any property specified on the command line using the \fB-o\fR option is ignored. If the target filesystem already exists, the operation completes successfully.
1129 .RE
1130
1131 .sp
1132 .ne 2
1133 .mk
1134 .na
1135 \fB\fB-s\fR\fR
1136 .ad
1137 .sp .6
1138 .RS 4n
1139 Creates a sparse volume with no reservation. See \fBvolsize\fR in the Native Properties section for more information about sparse volumes.
1140 .RE
1141
1142 .sp
1143 .ne 2
1144 .mk
1145 .na
1146 \fB\fB-o\fR \fIproperty\fR=\fIvalue\fR\fR
1147 .ad
1148 .sp .6
1149 .RS 4n
1150 Sets the specified property as if the \fBzfs set \fIproperty\fR=\fIvalue\fR\fR command was invoked at the same time the dataset was created. Any editable \fBZFS\fR property can also be set at creation time. Multiple \fB-o\fR options can be specified. An error results if the same property is specified in multiple \fB-o\fR options.
1151 .RE
1152
1153 .sp
1154 .ne 2
1155 .mk
1156 .na
1157 \fB\fB-b\fR \fIblocksize\fR\fR
1158 .ad
1159 .sp .6
1160 .RS 4n
1161 Equivalent to \fB\fR\fB-o\fR \fBvolblocksize=\fIblocksize\fR\fR. If this option is specified in conjunction with \fB-o\fR \fBvolblocksize\fR, the resulting behavior is undefined.
1162 .RE
1163
1164 .RE
1165
1166 .sp
1167 .ne 2
1168 .mk
1169 .na
1170 \fB\fBzfs destroy\fR [\fB-rRf\fR] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR\fR
1171 .ad
1172 .sp .6
1173 .RS 4n
1174 Destroys the given dataset. By default, the command unshares any file systems that are currently shared, unmounts any file systems that are currently mounted, and refuses to destroy a dataset that has active dependents (children, snapshots, clones).
1175 .sp
1176 .ne 2
1177 .mk
1178 .na
1179 \fB\fB-r\fR\fR
1180 .ad
1181 .sp .6
1182 .RS 4n
1183 Recursively destroy all children. If a snapshot is specified, destroy all snapshots with this name in descendent file systems.
1184 .RE
1185
1186 .sp
1187 .ne 2
1188 .mk
1189 .na
1190 \fB\fB-R\fR\fR
1191 .ad
1192 .sp .6
1193 .RS 4n
1194 Recursively destroy all dependents, including cloned file systems outside the target hierarchy. If a snapshot is specified, destroy all snapshots with this name in descendent file systems.
1195 .RE
1196
1197 .sp
1198 .ne 2
1199 .mk
1200 .na
1201 \fB\fB-f\fR\fR
1202 .ad
1203 .sp .6
1204 .RS 4n
1205 Force an unmount of any file systems using the \fBunmount -f\fR command. This option has no effect on non-file systems or unmounted file systems.
1206 .RE
1207
1208 Extreme care should be taken when applying either the \fB-r\fR or the \fB-f\fR options, as they can destroy large portions of a pool and cause unexpected behavior for mounted file systems in use. 
1209 .RE
1210
1211 .sp
1212 .ne 2
1213 .mk
1214 .na
1215 \fB\fBzfs snapshot\fR [\fB-r\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fIfilesystem@snapname\fR|\fIvolume@snapname\fR\fR
1216 .ad
1217 .sp .6
1218 .RS 4n
1219 Creates a snapshot with the given name. All previous modifications by successful system calls to the file system are part of the snapshot. See the "Snapshots" section for details.
1220 .sp
1221 .ne 2
1222 .mk
1223 .na
1224 \fB\fB-r\fR\fR
1225 .ad
1226 .sp .6
1227 .RS 4n
1228 Recursively create snapshots of all descendent datasets. Snapshots are taken atomically, so that all recursive snapshots correspond to the same moment in time.
1229 .RE
1230
1231 .sp
1232 .ne 2
1233 .mk
1234 .na
1235 \fB\fB-o\fR \fIproperty\fR=\fIvalue\fR\fR
1236 .ad
1237 .sp .6
1238 .RS 4n
1239 Sets the specified property; see \fBzfs create\fR for details.
1240 .RE
1241
1242 .RE
1243
1244 .sp
1245 .ne 2
1246 .mk
1247 .na
1248 \fB\fBzfs rollback\fR [\fB-rRf\fR] \fIsnapshot\fR\fR
1249 .ad
1250 .sp .6
1251 .RS 4n
1252 Roll back the given dataset to a previous snapshot. When a dataset is rolled back, all data that has changed since the snapshot is discarded, and the dataset reverts to the state at the time of the snapshot. By default, the command refuses to roll back to a snapshot other than the most recent one. In order to do so, all intermediate snapshots must be destroyed by specifying the \fB-r\fR option.
1253 .sp
1254 .ne 2
1255 .mk
1256 .na
1257 \fB\fB-r\fR\fR
1258 .ad
1259 .sp .6
1260 .RS 4n
1261 Recursively destroy any snapshots more recent than the one specified.
1262 .RE
1263
1264 .sp
1265 .ne 2
1266 .mk
1267 .na
1268 \fB\fB-R\fR\fR
1269 .ad
1270 .sp .6
1271 .RS 4n
1272 Recursively destroy any more recent snapshots, as well as any clones of those snapshots.
1273 .RE
1274
1275 .sp
1276 .ne 2
1277 .mk
1278 .na
1279 \fB\fB-f\fR\fR
1280 .ad
1281 .sp .6
1282 .RS 4n
1283 Used with the \fB-R\fR option to force an unmount of any clone file systems that are to be destroyed.
1284 .RE
1285
1286 .RE
1287
1288 .sp
1289 .ne 2
1290 .mk
1291 .na
1292 \fB\fBzfs clone\fR [\fB-p\fR] [\fB-o\fR \fIproperty\fR=\fIvalue\fR] ... \fIsnapshot\fR \fIfilesystem\fR|\fIvolume\fR\fR
1293 .ad
1294 .sp .6
1295 .RS 4n
1296 Creates a clone of the given snapshot. See the "Clones" section for details. The target dataset can be located anywhere in the \fBZFS\fR hierarchy, and is created as the same type as the original.
1297 .sp
1298 .ne 2
1299 .mk
1300 .na
1301 \fB\fB-p\fR\fR
1302 .ad
1303 .sp .6
1304 .RS 4n
1305 Creates all the non-existing parent datasets. Datasets created in this manner are automatically mounted according to the \fBmountpoint\fR property inherited from their parent. If the target filesystem or volume already exists, the operation completes successfully.
1306 .RE
1307
1308 .sp
1309 .ne 2
1310 .mk
1311 .na
1312 \fB\fB-o\fR \fIproperty\fR=\fIvalue\fR\fR
1313 .ad
1314 .sp .6
1315 .RS 4n
1316 Sets the specified property; see \fBzfs create\fR for details.
1317 .RE
1318
1319 .RE
1320
1321 .sp
1322 .ne 2
1323 .mk
1324 .na
1325 \fB\fBzfs promote\fR \fIclone-filesystem\fR\fR
1326 .ad
1327 .sp .6
1328 .RS 4n
1329 Promotes a clone file system to no longer be dependent on its "origin" snapshot. This makes it possible to destroy the file system that the clone was created from. The clone parent-child dependency relationship is reversed, so that the origin file system becomes a clone of the specified file system. 
1330 .sp
1331 The snapshot that was cloned, and any snapshots previous to this snapshot, are now owned by the promoted clone. The space they use moves from the origin file system to the promoted clone, so enough space must be available to accommodate these snapshots. No new space is consumed by this operation, but the space accounting is adjusted. The promoted clone must not have any conflicting snapshot names of its own. The \fBrename\fR subcommand can be used to rename any conflicting snapshots.
1332 .RE
1333
1334 .sp
1335 .ne 2
1336 .mk
1337 .na
1338 \fB\fBzfs rename\fR \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR\fR
1339 .ad
1340 .br
1341 .na
1342 \fB\fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR\fR
1343 .ad
1344 .br
1345 .na
1346 \fB\fBzfs rename\fR [\fB-p\fR] \fIfilesystem\fR|\fIvolume\fR \fIfilesystem\fR|\fIvolume\fR\fR
1347 .ad
1348 .sp .6
1349 .RS 4n
1350 Renames the given dataset. The new target can be located anywhere in the \fBZFS\fR hierarchy, with the exception of snapshots. Snapshots can only be renamed within the parent file system or volume. When renaming a snapshot, the parent file system of the snapshot does not need to be specified as part of the second argument. Renamed file systems can inherit new mount points, in which case they are unmounted and remounted at the new mount point.
1351 .sp
1352 .ne 2
1353 .mk
1354 .na
1355 \fB\fB-p\fR\fR
1356 .ad
1357 .sp .6
1358 .RS 4n
1359 Creates all the nonexistent parent datasets. Datasets created in this manner are automatically mounted according to the \fBmountpoint\fR property inherited from their parent.
1360 .RE
1361
1362 .RE
1363
1364 .sp
1365 .ne 2
1366 .mk
1367 .na
1368 \fB\fBzfs rename\fR \fB-r\fR \fIsnapshot\fR \fIsnapshot\fR\fR
1369 .ad
1370 .sp .6
1371 .RS 4n
1372 Recursively rename the snapshots of all descendent datasets. Snapshots are the only dataset that can be renamed recursively.
1373 .RE
1374
1375 .sp
1376 .ne 2
1377 .mk
1378 .na
1379 \fB\fBzfs\fR \fBlist\fR [\fB-r\fR|\fB-d\fR \fIdepth\fR] [\fB-H\fR] [\fB-o\fR \fIproperty\fR[,\fI\&...\fR]] [ \fB-t\fR \fItype\fR[,\fI\&...\fR]] [ \fB-s\fR \fIproperty\fR ] ... [ \fB-S\fR \fIproperty\fR ] ... [\fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR] ...\fR
1380 .ad
1381 .sp .6
1382 .RS 4n
1383 Lists the property information for the given datasets in tabular form. If specified, you can list property information by the absolute pathname or the relative pathname. By default, all file systems and volumes are displayed. Snapshots are displayed if the \fBlistsnaps\fR property is \fBon\fR (the default is \fBoff\fR) . The following fields are displayed:
1384 .sp
1385 .in +2
1386 .nf
1387 name,used,available,referenced,mountpoint
1388 .fi
1389 .in -2
1390 .sp
1391
1392 .sp
1393 .ne 2
1394 .mk
1395 .na
1396 \fB\fB-H\fR\fR
1397 .ad
1398 .sp .6
1399 .RS 4n
1400 Used for scripting mode. Do not print headers and separate fields by a single tab instead of arbitrary whitespace.
1401 .RE
1402
1403 .sp
1404 .ne 2
1405 .mk
1406 .na
1407 \fB\fB-r\fR\fR
1408 .ad
1409 .sp .6
1410 .RS 4n
1411 Recursively display any children of the dataset on the command line. 
1412 .RE
1413
1414 .sp
1415 .ne 2
1416 .mk
1417 .na
1418 \fB\fB-d\fR \fIdepth\fR\fR
1419 .ad
1420 .sp .6
1421 .RS 4n
1422 Recursively display any children of the dataset, limiting the recursion to \fIdepth\fR. A depth of \fB1\fR will display only the dataset and its direct children.
1423 .RE
1424
1425 .sp
1426 .ne 2
1427 .mk
1428 .na
1429 \fB\fB-o\fR \fIproperty\fR\fR
1430 .ad
1431 .sp .6
1432 .RS 4n
1433 A comma-separated list of properties to display. The property must be:
1434 .RS +4
1435 .TP
1436 .ie t \(bu
1437 .el o
1438 one of the properties described in the "Native Properties" section
1439 .RE
1440 .RS +4
1441 .TP
1442 .ie t \(bu
1443 .el o
1444 a user property
1445 .RE
1446 .RS +4
1447 .TP
1448 .ie t \(bu
1449 .el o
1450 the value \fBname\fR to display the dataset name
1451 .RE
1452 .RS +4
1453 .TP
1454 .ie t \(bu
1455 .el o
1456 the value \fBspace\fR to display space usage properties on file systems and volumes. This is a shortcut for:
1457 .sp
1458 .in +2
1459 .nf
1460 -o name,avail,used,usedsnap,usedds,usedrefreserv,\e
1461 usedchild -t filesystem,volume
1462 .fi
1463 .in -2
1464 .sp
1465
1466 .RE
1467 .RE
1468
1469 .sp
1470 .ne 2
1471 .mk
1472 .na
1473 \fB\fB-s\fR \fIproperty\fR\fR
1474 .ad
1475 .sp .6
1476 .RS 4n
1477 A property to use for sorting the output by column in ascending order based on the value of the property. The property must be one of the properties described in the "Properties" section, or the special value \fBname\fR to sort by the dataset name. Multiple properties can be specified at one time using multiple \fB-s\fR property options. Multiple \fB-s\fR options are evaluated from left to right in decreasing order of importance.
1478 .sp
1479 The following is a list of sorting criteria:
1480 .RS +4
1481 .TP
1482 .ie t \(bu
1483 .el o
1484 Numeric types sort in numeric order.
1485 .RE
1486 .RS +4
1487 .TP
1488 .ie t \(bu
1489 .el o
1490 String types sort in alphabetical order.
1491 .RE
1492 .RS +4
1493 .TP
1494 .ie t \(bu
1495 .el o
1496 Types inappropriate for a row sort that row to the literal bottom, regardless of the specified ordering.
1497 .RE
1498 .RS +4
1499 .TP
1500 .ie t \(bu
1501 .el o
1502 If no sorting options are specified the existing behavior of \fBzfs list\fR is preserved.
1503 .RE
1504 .RE
1505
1506 .sp
1507 .ne 2
1508 .mk
1509 .na
1510 \fB\fB-S\fR \fIproperty\fR\fR
1511 .ad
1512 .sp .6
1513 .RS 4n
1514 Same as the \fB-s\fR option, but sorts by property in descending order. 
1515 .RE
1516
1517 .sp
1518 .ne 2
1519 .mk
1520 .na
1521 \fB\fB-t\fR \fItype\fR\fR
1522 .ad
1523 .sp .6
1524 .RS 4n
1525 A comma-separated list of types to display, where \fItype\fR is one of \fBfilesystem\fR, \fBsnapshot\fR , \fBvolume\fR, or \fBall\fR. For example, specifying \fB-t snapshot\fR displays only snapshots.
1526 .RE
1527
1528 .RE
1529
1530 .sp
1531 .ne 2
1532 .mk
1533 .na
1534 \fB\fBzfs set\fR \fIproperty\fR=\fIvalue\fR \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR ...\fR
1535 .ad
1536 .sp .6
1537 .RS 4n
1538 Sets the property to the given value for each dataset. Only some properties can be edited. See the "Properties" section for more information on what properties can be set and acceptable values. Numeric values can be specified as exact values, or in a human-readable form with a suffix of \fBB\fR, \fBK\fR, \fBM\fR, \fBG\fR, \fBT\fR, \fBP\fR, \fBE\fR, \fBZ\fR (for bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes, exabytes, or zettabytes, respectively). Properties cannot be set on snapshots.
1539 .RE
1540
1541 .sp
1542 .ne 2
1543 .mk
1544 .na
1545 \fB\fBzfs get\fR [\fB-r\fR|\fB-d\fR \fIdepth\fR] [\fB-Hp\fR] [\fB-o\fR \fIfield\fR[,...] [\fB-s\fR \fIsource\fR[,...] "\fIall\fR" | \fIproperty\fR[,...] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR ...\fR
1546 .ad
1547 .sp .6
1548 .RS 4n
1549 Displays properties for the given datasets. If no datasets are specified, then the command displays properties for all datasets on the system. For each property, the following columns are displayed:
1550 .sp
1551 .in +2
1552 .nf
1553     name      Dataset name
1554      property  Property name
1555      value     Property value
1556      source    Property source. Can either be local, default,
1557                temporary, inherited, or none (-).
1558 .fi
1559 .in -2
1560 .sp
1561
1562 All columns are displayed by default, though this can be controlled by using the \fB-o\fR option. This command takes a comma-separated list of properties as described in the "Native Properties" and "User Properties" sections.
1563 .sp
1564 The special value \fBall\fR can be used to display all properties that apply to the given dataset's type (filesystem, volume, or snapshot).
1565 .sp
1566 .ne 2
1567 .mk
1568 .na
1569 \fB\fB-r\fR\fR
1570 .ad
1571 .sp .6
1572 .RS 4n
1573 Recursively display properties for any children.
1574 .RE
1575
1576 .sp
1577 .ne 2
1578 .mk
1579 .na
1580 \fB\fB-d\fR \fIdepth\fR\fR
1581 .ad
1582 .sp .6
1583 .RS 4n
1584 Recursively display any children of the dataset, limiting the recursion to \fIdepth\fR. A depth of \fB1\fR will display only the dataset and its direct children.
1585 .RE
1586
1587 .sp
1588 .ne 2
1589 .mk
1590 .na
1591 \fB\fB-H\fR\fR
1592 .ad
1593 .sp .6
1594 .RS 4n
1595 Display output in a form more easily parsed by scripts. Any headers are omitted, and fields are explicitly separated by a single tab instead of an arbitrary amount of space.
1596 .RE
1597
1598 .sp
1599 .ne 2
1600 .mk
1601 .na
1602 \fB\fB-o\fR \fIfield\fR\fR
1603 .ad
1604 .sp .6
1605 .RS 4n
1606 A comma-separated list of columns to display. \fBname,property,value,source\fR is the default value. 
1607 .RE
1608
1609 .sp
1610 .ne 2
1611 .mk
1612 .na
1613 \fB\fB-s\fR \fIsource\fR\fR
1614 .ad
1615 .sp .6
1616 .RS 4n
1617 A comma-separated list of sources to display. Those properties coming from a source other than those in this list are ignored. Each source must be one of the following: \fBlocal,default,inherited,temporary,none\fR. The default value is all sources.
1618 .RE
1619
1620 .sp
1621 .ne 2
1622 .mk
1623 .na
1624 \fB\fB-p\fR\fR
1625 .ad
1626 .sp .6
1627 .RS 4n
1628 Display numbers in parseable (exact) values.
1629 .RE
1630
1631 .RE
1632
1633 .sp
1634 .ne 2
1635 .mk
1636 .na
1637 \fB\fBzfs inherit\fR [\fB-r\fR] \fIproperty\fR \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR ...\fR
1638 .ad
1639 .sp .6
1640 .RS 4n
1641 Clears the specified property, causing it to be inherited from an ancestor. If no ancestor has the property set, then the default value is used. See the "Properties" section for a listing of default values, and details on which properties can be inherited.
1642 .sp
1643 .ne 2
1644 .mk
1645 .na
1646 \fB\fB-r\fR\fR
1647 .ad
1648 .sp .6
1649 .RS 4n
1650 Recursively inherit the given property for all children.
1651 .RE
1652
1653 .RE
1654
1655 .sp
1656 .ne 2
1657 .mk
1658 .na
1659 \fB\fBzfs upgrade\fR [\fB-v\fR]\fR
1660 .ad
1661 .sp .6
1662 .RS 4n
1663 Displays a list of file systems that are not the most recent version.
1664 .RE
1665
1666 .sp
1667 .ne 2
1668 .mk
1669 .na
1670 \fB\fBzfs upgrade\fR [\fB-r\fR] [\fB-V\fR \fIversion\fR] [\fB-a\fR | \fIfilesystem\fR]\fR
1671 .ad
1672 .sp .6
1673 .RS 4n
1674 Upgrades file systems to a new on-disk version. Once this is done, the file systems will no longer be accessible on systems running older versions of the software. \fBzfs send\fR streams generated from new snapshots of these file systems can not be accessed on systems running older versions of the software.
1675 .sp
1676 The file system version is independent of the pool version (see \fBzpool\fR(1M) for information on the \fBzpool upgrade\fR command). 
1677 .sp
1678 The file system version does not have to be upgraded when the pool version is upgraded, and vice-versa.
1679 .sp
1680 .ne 2
1681 .mk
1682 .na
1683 \fB\fB-a\fR\fR
1684 .ad
1685 .sp .6
1686 .RS 4n
1687 Upgrade all file systems on all imported pools.
1688 .RE
1689
1690 .sp
1691 .ne 2
1692 .mk
1693 .na
1694 \fB\fIfilesystem\fR\fR
1695 .ad
1696 .sp .6
1697 .RS 4n
1698 Upgrade the specified file system. 
1699 .RE
1700
1701 .sp
1702 .ne 2
1703 .mk
1704 .na
1705 \fB\fB-r\fR\fR
1706 .ad
1707 .sp .6
1708 .RS 4n
1709 Upgrade the specified file system and all descendent file systems 
1710 .RE
1711
1712 .sp
1713 .ne 2
1714 .mk
1715 .na
1716 \fB\fB-V\fR \fIversion\fR\fR
1717 .ad
1718 .sp .6
1719 .RS 4n
1720 Upgrade to the specified \fIversion\fR. If the \fB-V\fR flag is not specified, this command upgrades to the most recent version. This option can only be used to increase the version number, and only up to the most recent version supported by this software.
1721 .RE
1722
1723 .RE
1724
1725 .sp
1726 .ne 2
1727 .mk
1728 .na
1729 \fB\fBzfs userspace\fR [\fB-niHp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-sS\fR \fIfield\fR]... [\fB-t\fR \fItype\fR [,...]] \fIfilesystem\fR | \fIsnapshot\fR\fR
1730 .ad
1731 .sp .6
1732 .RS 4n
1733 Displays space consumed by, and quotas on, each user in the specified filesystem or snapshot. This corresponds to the \fBuserused@\fR\fIuser\fR and \fBuserquota@\fR\fIuser\fR properties.
1734 .sp
1735 .ne 2
1736 .mk
1737 .na
1738 \fB\fB-n\fR\fR
1739 .ad
1740 .sp .6
1741 .RS 4n
1742 Print numeric ID instead of user/group name.
1743 .RE
1744
1745 .sp
1746 .ne 2
1747 .mk
1748 .na
1749 \fB\fB-H\fR\fR
1750 .ad
1751 .sp .6
1752 .RS 4n
1753 Do not print headers, use tab-delimited output.
1754 .RE
1755
1756 .sp
1757 .ne 2
1758 .mk
1759 .na
1760 \fB\fB-p\fR\fR
1761 .ad
1762 .sp .6
1763 .RS 4n
1764 Use exact (parseable) numeric output.
1765 .RE
1766
1767 .sp
1768 .ne 2
1769 .mk
1770 .na
1771 \fB\fB-o\fR \fIfield\fR[,...]\fR
1772 .ad
1773 .sp .6
1774 .RS 4n
1775 Display only the specified fields, from the following set:
1776 .sp
1777 .in +2
1778 .nf
1779 type,name,used,quota
1780 .fi
1781 .in -2
1782 .sp
1783
1784 The default is to display all fields.
1785 .RE
1786
1787 .sp
1788 .ne 2
1789 .mk
1790 .na
1791 \fB\fB-s\fR \fIfield\fR\fR
1792 .ad
1793 .sp .6
1794 .RS 4n
1795 Sort output by this field. The \fIs\fR and \fIS\fR flags may be specified multiple times to sort first by one field, then by another. The default is:
1796 .sp
1797 .in +2
1798 .nf
1799 -s type -s name
1800 .fi
1801 .in -2
1802 .sp
1803
1804 .RE
1805
1806 .sp
1807 .ne 2
1808 .mk
1809 .na
1810 \fB\fB-S\fR \fIfield\fR\fR
1811 .ad
1812 .sp .6
1813 .RS 4n
1814 Sort by this field in reverse order. See \fB-s\fR.
1815 .RE
1816
1817 .sp
1818 .ne 2
1819 .mk
1820 .na
1821 \fB\fB-t\fR \fItype\fR[,...]\fR
1822 .ad
1823 .sp .6
1824 .RS 4n
1825 Print only the specified types, from the following set:
1826 .sp
1827 .in +2
1828 .nf
1829 all,posixuser,smbuser,posixgroup,smbgroup
1830 .fi
1831 .in -2
1832 .sp
1833
1834 The default is:
1835 .sp
1836 .in +2
1837 .nf
1838 -t posixuser,smbuser
1839 .fi
1840 .in -2
1841 .sp
1842
1843 \&...but can be changed to include group types.
1844 .RE
1845
1846 .sp
1847 .ne 2
1848 .mk
1849 .na
1850 \fB\fB-i\fR\fR
1851 .ad
1852 .sp .6
1853 .RS 4n
1854 Translate SID to POSIX ID. The POSIX ID may be ephemeral if no mapping exists. Normal POSIX interfaces (for example, \fBstat\fR(2), \fBls\fR \fB-l\fR) perform this translation, so the \fB-i\fR option allows the output from \fBzfs userspace\fR to be compared directly with those utilities. However, \fB-i\fR may lead to confusion if some files were created by an SMB user before a SMB-to-POSIX name mapping was established. In such a case, some files are owned by the SMB entity and some by the POSIX entity. However, he \fB-i\fR option will report that the POSIX entity has the total usage and quota for both.
1855 .RE
1856
1857 .RE
1858
1859 .sp
1860 .ne 2
1861 .mk
1862 .na
1863 \fB\fBzfs groupspace\fR [\fB-niHp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-sS\fR \fIfield\fR]... [\fB-t\fR \fItype\fR [,...]] \fIfilesystem\fR | \fIsnapshot\fR\fR
1864 .ad
1865 .sp .6
1866 .RS 4n
1867 Displays space consumed by, and quotas on, each group in the specified filesystem or snapshot. This subcommand is identical to \fBzfs userspace\fR, except that the default types to display are:
1868 .sp
1869 .in +2
1870 .nf
1871 -t posixgroup,smbgroup
1872 .fi
1873 .in -2
1874 .sp
1875
1876 .RE
1877
1878 .sp
1879 .ne 2
1880 .mk
1881 .na
1882 \fB\fBzfs mount\fR\fR
1883 .ad
1884 .sp .6
1885 .RS 4n
1886 Displays all \fBZFS\fR file systems currently mounted.
1887 .RE
1888
1889 .sp
1890 .ne 2
1891 .mk
1892 .na
1893 \fB\fBzfs mount\fR [\fB-vO\fR] [\fB-o\fR \fIoptions\fR] \fB-a\fR | \fIfilesystem\fR\fR
1894 .ad
1895 .sp .6
1896 .RS 4n
1897 Mounts \fBZFS\fR file systems. Invoked automatically as part of the boot process.
1898 .sp
1899 .ne 2
1900 .mk
1901 .na
1902 \fB\fB-o\fR \fIoptions\fR\fR
1903 .ad
1904 .sp .6
1905 .RS 4n
1906 An optional, comma-separated list of mount options to use temporarily for the duration of the mount. See the "Temporary Mount Point Properties" section for details.
1907 .RE
1908
1909 .sp
1910 .ne 2
1911 .mk
1912 .na
1913 \fB\fB-O\fR\fR
1914 .ad
1915 .sp .6
1916 .RS 4n
1917 Perform an overlay mount. See \fBmount\fR(1M) for more information.
1918 .RE
1919
1920 .sp
1921 .ne 2
1922 .mk
1923 .na
1924 \fB\fB-v\fR\fR
1925 .ad
1926 .sp .6
1927 .RS 4n
1928 Report mount progress.
1929 .RE
1930
1931 .sp
1932 .ne 2
1933 .mk
1934 .na
1935 \fB\fB-a\fR\fR
1936 .ad
1937 .sp .6
1938 .RS 4n
1939 Mount all available \fBZFS\fR file systems. Invoked automatically as part of the boot process. 
1940 .RE
1941
1942 .sp
1943 .ne 2
1944 .mk
1945 .na
1946 \fB\fIfilesystem\fR\fR
1947 .ad
1948 .sp .6
1949 .RS 4n
1950 Mount the specified filesystem.
1951 .RE
1952
1953 .RE
1954
1955 .sp
1956 .ne 2
1957 .mk
1958 .na
1959 \fB\fBzfs unmount\fR [\fB-f\fR] \fB-a\fR | \fIfilesystem\fR|\fImountpoint\fR\fR
1960 .ad
1961 .sp .6
1962 .RS 4n
1963 Unmounts currently mounted \fBZFS\fR file systems. Invoked automatically as part of the shutdown process.
1964 .sp
1965 .ne 2
1966 .mk
1967 .na
1968 \fB\fB-f\fR\fR
1969 .ad
1970 .sp .6
1971 .RS 4n
1972 Forcefully unmount the file system, even if it is currently in use.
1973 .RE
1974
1975 .sp
1976 .ne 2
1977 .mk
1978 .na
1979 \fB\fB-a\fR\fR
1980 .ad
1981 .sp .6
1982 .RS 4n
1983 Unmount all available \fBZFS\fR file systems. Invoked automatically as part of the boot process. 
1984 .RE
1985
1986 .sp
1987 .ne 2
1988 .mk
1989 .na
1990 \fB\fIfilesystem\fR|\fImountpoint\fR\fR
1991 .ad
1992 .sp .6
1993 .RS 4n
1994 Unmount the specified filesystem. The command can also be given a path to a \fBZFS\fR file system mount point on the system.
1995 .RE
1996
1997 .RE
1998
1999 .sp
2000 .ne 2
2001 .mk
2002 .na
2003 \fB\fBzfs share\fR \fB-a\fR | \fIfilesystem\fR\fR
2004 .ad
2005 .sp .6
2006 .RS 4n
2007 Shares available \fBZFS\fR file systems. 
2008 .sp
2009 .ne 2
2010 .mk
2011 .na
2012 \fB\fB-a\fR\fR
2013 .ad
2014 .sp .6
2015 .RS 4n
2016 Share all available \fBZFS\fR file systems. Invoked automatically as part of the boot process. 
2017 .RE
2018
2019 .sp
2020 .ne 2
2021 .mk
2022 .na
2023 \fB\fIfilesystem\fR\fR
2024 .ad
2025 .sp .6
2026 .RS 4n
2027 Share the specified filesystem according to the \fBsharenfs\fR and \fBsharesmb\fR properties. File systems are shared when the \fBsharenfs\fR or \fBsharesmb\fR property is set.
2028 .RE
2029
2030 .RE
2031
2032 .sp
2033 .ne 2
2034 .mk
2035 .na
2036 \fB\fBzfs unshare\fR \fB-a\fR | \fIfilesystem\fR|\fImountpoint\fR\fR
2037 .ad
2038 .sp .6
2039 .RS 4n
2040 Unshares currently shared \fBZFS\fR file systems. This is invoked automatically as part of the shutdown process.
2041 .sp
2042 .ne 2
2043 .mk
2044 .na
2045 \fB\fB-a\fR\fR
2046 .ad
2047 .sp .6
2048 .RS 4n
2049 Unshare all available \fBZFS\fR file systems. Invoked automatically as part of the boot process. 
2050 .RE
2051
2052 .sp
2053 .ne 2
2054 .mk
2055 .na
2056 \fB\fIfilesystem\fR|\fImountpoint\fR\fR
2057 .ad
2058 .sp .6
2059 .RS 4n
2060 Unshare the specified filesystem. The command can also be given a path to a \fBZFS\fR file system shared on the system.
2061 .RE
2062
2063 .RE
2064
2065 .sp
2066 .ne 2
2067 .mk
2068 .na
2069 \fB\fBzfs send\fR [\fB-vR\fR] [\fB-\fR[\fBiI\fR] \fIsnapshot\fR] \fIsnapshot\fR\fR
2070 .ad
2071 .sp .6
2072 .RS 4n
2073 Creates a stream representation of the second \fIsnapshot\fR, which is written to standard output. The output can be redirected to a file or to a different system (for example, using \fBssh\fR(1). By default, a full stream is generated.
2074 .sp
2075 .ne 2
2076 .mk
2077 .na
2078 \fB\fB-i\fR \fIsnapshot\fR\fR
2079 .ad
2080 .sp .6
2081 .RS 4n
2082 Generate an incremental stream from the first \fIsnapshot\fR to the second \fIsnapshot\fR. The incremental source (the first \fIsnapshot\fR) can be specified as the last component of the snapshot name (for example, the part after the \fB@\fR), and it is assumed to be from the same file system as the second \fIsnapshot\fR.
2083 .sp
2084 If the destination is a clone, the source may be the origin snapshot, which must be fully specified (for example, \fBpool/fs@origin\fR, not just \fB@origin\fR).
2085 .RE
2086
2087 .sp
2088 .ne 2
2089 .mk
2090 .na
2091 \fB\fB-I\fR \fIsnapshot\fR\fR
2092 .ad
2093 .sp .6
2094 .RS 4n
2095 Generate a stream package that sends all intermediary snapshots from the first snapshot to the second snapshot. For example, \fB-I @a fs@d\fR is similar to \fB-i @a fs@b; -i @b fs@c; -i @c fs@d\fR. The incremental source snapshot may be specified as with the \fB-i\fR option.
2096 .RE
2097
2098 .sp
2099 .ne 2
2100 .mk
2101 .na
2102 \fB\fB-R\fR\fR
2103 .ad
2104 .sp .6
2105 .RS 4n
2106 Generate a replication stream package, which will replicate the specified filesystem, and all descendent file systems, up to the named snapshot. When received, all properties, snapshots, descendent file systems, and clones are preserved.
2107 .sp
2108 If the \fB-i\fR or \fB-I\fR flags are used in conjunction with the \fB-R\fR flag, an incremental replication stream is generated. The current values of properties, and current snapshot and file system names are set when the stream is received. If the \fB-F\fR flag is specified when this stream is received, snapshots and file systems that do not exist on the sending side are destroyed. 
2109 .RE
2110
2111 .sp
2112 .ne 2
2113 .mk
2114 .na
2115 \fB\fB-v\fR\fR
2116 .ad
2117 .sp .6
2118 .RS 4n
2119 Print verbose information about the stream package generated.
2120 .RE
2121
2122 The format of the stream is evolving. No backwards compatibility is guaranteed. You may not be able to receive your streams on future versions of \fBZFS\fR.
2123 .RE
2124
2125 .sp
2126 .ne 2
2127 .mk
2128 .na
2129 \fB\fBzfs receive\fR [\fB-vnFu\fR] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR\fR
2130 .ad
2131 .br
2132 .na
2133 \fB\fBzfs receive\fR [\fB-vnFu\fR] \fB-d\fR \fIfilesystem\fR\fR
2134 .ad
2135 .sp .6
2136 .RS 4n
2137 Creates a snapshot whose contents are as specified in the stream provided on standard input. If a full stream is received, then a new file system is created as well. Streams are created using the \fBzfs send\fR subcommand, which by default creates a full stream. \fBzfs recv\fR can be used as an alias for \fBzfs receive\fR.
2138 .sp
2139 If an incremental stream is received, then the destination file system must already exist, and its most recent snapshot must match the incremental stream's source. For \fBzvols\fR, the destination device link is destroyed and recreated, which means the \fBzvol\fR cannot be accessed during the \fBreceive\fR operation.
2140 .sp
2141 The name of the snapshot (and file system, if a full stream is received) that this subcommand creates depends on the argument type and the \fB-d\fR option.
2142 .sp
2143 If the argument is a snapshot name, the specified \fIsnapshot\fR is created. If the argument is a file system or volume name, a snapshot with the same name as the sent snapshot is created within the specified \fIfilesystem\fR or \fIvolume\fR. If the \fB-d\fR option is specified, the snapshot name is determined by appending the sent snapshot's name to the specified \fIfilesystem\fR. If the \fB-d\fR option is specified, any required file systems within the specified one are created.
2144 .sp
2145 .ne 2
2146 .mk
2147 .na
2148 \fB\fB-d\fR\fR
2149 .ad
2150 .sp .6
2151 .RS 4n
2152 Use the name of the sent snapshot to determine the name of the new snapshot as described in the paragraph above.
2153 .RE
2154
2155 .sp
2156 .ne 2
2157 .mk
2158 .na
2159 \fB\fB-u\fR\fR
2160 .ad
2161 .sp .6
2162 .RS 4n
2163 File system that is associated with the received stream is not mounted.
2164 .RE
2165
2166 .sp
2167 .ne 2
2168 .mk
2169 .na
2170 \fB\fB-v\fR\fR
2171 .ad
2172 .sp .6
2173 .RS 4n
2174 Print verbose information about the stream and the time required to perform the receive operation.
2175 .RE
2176
2177 .sp
2178 .ne 2
2179 .mk
2180 .na
2181 \fB\fB-n\fR\fR
2182 .ad
2183 .sp .6
2184 .RS 4n
2185 Do not actually receive the stream. This can be useful in conjunction with the \fB-v\fR option to verify the name the receive operation would use.
2186 .RE
2187
2188 .sp
2189 .ne 2
2190 .mk
2191 .na
2192 \fB\fB-F\fR\fR
2193 .ad
2194 .sp .6
2195 .RS 4n
2196 Force a rollback of the file system to the most recent snapshot before performing the receive operation. If receiving an incremental replication stream (for example, one generated by \fBzfs send -R -[iI]\fR), destroy snapshots and file systems that do not exist on the sending side.
2197 .RE
2198
2199 .RE
2200
2201 .sp
2202 .ne 2
2203 .mk
2204 .na
2205 \fB\fBzfs allow\fR \fIfilesystem\fR | \fIvolume\fR\fR
2206 .ad
2207 .sp .6
2208 .RS 4n
2209 Displays permissions that have been delegated on the specified filesystem or volume. See the other forms of \fBzfs allow\fR for more information.
2210 .RE
2211
2212 .sp
2213 .ne 2
2214 .mk
2215 .na
2216 \fB\fBzfs allow\fR [\fB-ldug\fR] "\fIeveryone\fR"|\fIuser\fR|\fIgroup\fR[,...] \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR| \fIvolume\fR\fR
2217 .ad
2218 .br
2219 .na
2220 \fB\fBzfs allow\fR [\fB-ld\fR] \fB-e\fR \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR | \fIvolume\fR\fR
2221 .ad
2222 .sp .6
2223 .RS 4n
2224 Delegates \fBZFS\fR administration permission for the file systems to non-privileged users.
2225 .sp
2226 .ne 2
2227 .mk
2228 .na
2229 \fB[\fB-ug\fR] "\fIeveryone\fR"|\fIuser\fR|\fIgroup\fR[,...]\fR
2230 .ad
2231 .sp .6
2232 .RS 4n
2233 Specifies to whom the permissions are delegated. Multiple entities can be specified as a comma-separated list. If neither of the \fB-ug\fR options are specified, then the argument is interpreted preferentially as the keyword "everyone", then as a user name, and lastly as a group name. To specify a user or group named "everyone", use the \fB-u\fR or \fB-g\fR options. To specify a group with the same name as a user, use the \fB-g\fR options.
2234 .RE
2235
2236 .sp
2237 .ne 2
2238 .mk
2239 .na
2240 \fB[\fB-e\fR] \fIperm\fR|@\fIsetname\fR[,...]\fR
2241 .ad
2242 .sp .6
2243 .RS 4n
2244 Specifies that the permissions be delegated to "everyone." Multiple permissions may be specified as a comma-separated list. Permission names are the same as \fBZFS\fR subcommand and property names. See the property list below. Property set names, which begin with an "at sign" ("@") , may be specified. See the \fB-s\fR form below for details.
2245 .RE
2246
2247 .sp
2248 .ne 2
2249 .mk
2250 .na
2251 \fB[\fB-ld\fR] \fIfilesystem\fR|\fIvolume\fR\fR
2252 .ad
2253 .sp .6
2254 .RS 4n
2255 Specifies where the permissions are delegated. If neither of the \fB-ld\fR options are specified, or both are, then the permissions are allowed for the file system or volume, and all of its descendents. If only the \fB-l\fR option is used, then is allowed "locally" only for the specified file system. If only the \fB-d\fR option is used, then is allowed only for the descendent file systems.
2256 .RE
2257
2258 .RE
2259
2260 .sp
2261 .LP
2262 Permissions are generally the ability to use a \fBZFS\fR subcommand or change a \fBZFS\fR property. The following permissions are available:
2263 .sp
2264 .in +2
2265 .nf
2266 NAME         TYPE         NOTES
2267 allow        subcommand   Must also have the permission
2268                            that is being allowed.
2269 clone        subcommand   Must also have the 'create' ability
2270                            and the 'mount' ability in the origin 
2271                            file system.
2272 create       subcommand   Must also have the 'mount' ability.
2273 destroy      subcommand   Must also have the 'mount' ability.     
2274 mount        subcommand   Allows mount, unmount, and
2275                            create/remove zvol device links.
2276 promote      subcommand   Must also have the 'mount' ability and
2277                            'promote' ability in the origin file system.    
2278 receive      subcommand   Must also have the 'mount' ability and 
2279                            the 'create' ability.     
2280 rename       subcommand   Must also have the 'mount' ability and
2281                            the 'create' ability in the new parent.
2282 rollback     subcommand   Must also have the 'mount' ability.      
2283 snapshot     subcommand   Must also have the 'mount' ability.
2284 share        subcommand   Allows share and unshare.
2285 send         subcommand
2286        
2287        
2288 aclinherit       property
2289 aclmode          property
2290 atime            property
2291 canmount         property
2292 casesensitivity  property
2293 checksum         property
2294 compression      property
2295 copies           property
2296 devices          property
2297 exec             property
2298 groupquota       other      Allows accessing any groupquota@... property.
2299 groupused        other      Allows reading any groupused@... property.
2300 mountpoint       property
2301 nbmand           property
2302 normalization    property
2303 primarycache     property
2304 quota            property
2305 readonly         property
2306 recordsize       property
2307 refquota         property
2308 refreservation   property
2309 reservation      property
2310 secondarycache   property
2311 setuid           property
2312 shareiscsi       property
2313 sharenfs         property
2314 sharesmb         property
2315 snapdir          property
2316 utf8only         property
2317 userprop         other      Allows changing any user property.
2318 userquota        other      Allows accessing any userquota@...  property.
2319 userused         other      Allows reading any userused@... property.
2320 version          property
2321 volblocksize     property
2322 volsize          property
2323 vscan            property
2324 xattr            property
2325 zoned            property
2326 userprop         other        Allows changing any user property.
2327 .fi
2328 .in -2
2329 .sp
2330
2331 .sp
2332 .ne 2
2333 .mk
2334 .na
2335 \fB\fBzfs allow\fR \fB-c\fR \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR|\fIvolume\fR\fR
2336 .ad
2337 .sp .6
2338 .RS 4n
2339 Sets "create time" permissions. These permissions are granted (locally) to the creator of any newly-created descendent file system.
2340 .RE
2341
2342 .sp
2343 .ne 2
2344 .mk
2345 .na
2346 \fB\fBzfs allow\fR \fB-s\fR @setname \fIperm\fR|@\fIsetname\fR[,...] \fIfilesystem\fR|\fIvolume\fR\fR
2347 .ad
2348 .sp .6
2349 .RS 4n
2350 Defines or adds permissions to a permission set. The set can be used by other \fBzfs allow\fR commands for the specified file system and its descendents. Sets are evaluated dynamically, so changes to a set are immediately reflected. Permission sets follow the same naming restrictions as ZFS file systems, but the name must begin with an "at sign" (\fB@\fR), and can be no more than 64 characters long.
2351 .RE
2352
2353 .sp
2354 .ne 2
2355 .mk
2356 .na
2357 \fB\fBzfs unallow\fR [\fB-rldug\fR] "\fIeveryone\fR"|\fIuser\fR|\fIgroup\fR[,...] [\fIperm\fR|@\fIsetname\fR[, ...]] \fIfilesystem\fR|\fIvolume\fR\fR
2358 .ad
2359 .br
2360 .na
2361 \fB\fBzfs unallow\fR [\fB-rld\fR] \fB-e\fR [\fIperm\fR|@\fIsetname\fR [,...]] \fIfilesystem\fR|\fIvolume\fR\fR
2362 .ad
2363 .br
2364 .na
2365 \fB\fBzfs unallow\fR [\fB-r\fR] \fB-c\fR [\fIperm\fR|@\fIsetname\fR[,...]]\fR
2366 .ad
2367 .br
2368 .na
2369 \fB\fIfilesystem\fR|\fIvolume\fR\fR
2370 .ad
2371 .sp .6
2372 .RS 4n
2373 Removes permissions that were granted with the \fBzfs allow\fR command. No permissions are explicitly denied, so other permissions granted are still in effect. For example, if the permission is granted by an ancestor. If no permissions are specified, then all permissions for the specified \fIuser\fR, \fIgroup\fR, or \fIeveryone\fR are removed. Specifying "everyone" (or using the \fB-e\fR option) only removes the permissions that were granted to "everyone", not all permissions for every user and group. See the \fBzfs allow\fR command for a description of the \fB-ldugec\fR options.
2374 .sp
2375 .ne 2
2376 .mk
2377 .na
2378 \fB\fB-r\fR\fR
2379 .ad
2380 .sp .6
2381 .RS 4n
2382 Recursively remove the permissions from this file system and all descendents.
2383 .RE
2384
2385 .RE
2386
2387 .sp
2388 .ne 2
2389 .mk
2390 .na
2391 \fB\fBzfs unallow\fR [\fB-r\fR] \fB-s\fR @setname [\fIperm\fR|@\fIsetname\fR[,...]]\fR
2392 .ad
2393 .br
2394 .na
2395 \fB\fIfilesystem\fR|\fIvolume\fR\fR
2396 .ad
2397 .sp .6
2398 .RS 4n
2399 Removes permissions from a permission set. If no permissions are specified, then all permissions are removed, thus removing the set entirely.
2400 .RE
2401
2402 .SH EXAMPLES
2403 .LP
2404 \fBExample 1 \fRCreating a ZFS File System Hierarchy
2405 .sp
2406 .LP
2407 The following commands create a file system named \fBpool/home\fR and a file system named \fBpool/home/bob\fR. The mount point \fB/export/home\fR is set for the parent file system, and automatically inherited by the child file system.
2408
2409 .sp
2410 .in +2
2411 .nf
2412 # \fBzfs create pool/home\fR
2413 # \fBzfs set mountpoint=/export/home pool/home\fR
2414 # \fBzfs create pool/home/bob\fR
2415 .fi
2416 .in -2
2417 .sp
2418
2419 .LP
2420 \fBExample 2 \fRCreating a ZFS Snapshot
2421 .sp
2422 .LP
2423 The following command creates a snapshot named \fByesterday\fR. This snapshot is mounted on demand in the \fB\&.zfs/snapshot\fR directory at the root of the \fBpool/home/bob\fR file system.
2424
2425 .sp
2426 .in +2
2427 .nf
2428 # \fBzfs snapshot pool/home/bob@yesterday\fR
2429 .fi
2430 .in -2
2431 .sp
2432
2433 .LP
2434 \fBExample 3 \fRTaking and Destroying Multiple Snapshots
2435 .sp
2436 .LP
2437 The following command creates snapshots named \fByesterday\fR of \fBpool/home\fR and all of its descendent file systems. Each snapshot is mounted on demand in the \fB\&.zfs/snapshot\fR directory at the root of its file system. The second command destroys the newly created snapshots.
2438
2439 .sp
2440 .in +2
2441 .nf
2442 # \fBzfs snapshot -r pool/home@yesterday\fR
2443 # \fBzfs destroy -r pool/home@yesterday\fR
2444 .fi
2445 .in -2
2446 .sp
2447
2448 .LP
2449 \fBExample 4 \fRTurning Off Compression
2450 .sp
2451 .LP
2452 The following commands turn compression off for all file systems under \fBpool/home\fR, but explicitly turns it on for \fBpool/home/anne\fR.
2453
2454 .sp
2455 .in +2
2456 .nf
2457 # \fBzfs set compression=off pool/home\fR
2458 # \fBzfs set compression=on pool/home/anne\fR
2459 .fi
2460 .in -2
2461 .sp
2462
2463 .LP
2464 \fBExample 5 \fRListing ZFS Datasets
2465 .sp
2466 .LP
2467 The following command lists all active file systems and volumes in the system. Snapshots are displayed if the \fBlistsnaps\fR property is \fBon\fR (the default is \fBoff\fR) . See \fBzpool\fR(1M) for more information on pool properties.
2468
2469 .sp
2470 .in +2
2471 .nf
2472 # \fBzfs list\fR
2473
2474
2475    NAME                      USED  AVAIL  REFER  MOUNTPOINT
2476    pool                      450K   457G    18K  /pool
2477    pool/home                 315K   457G    21K  /export/home
2478    pool/home/anne             18K   457G    18K  /export/home/anne
2479    pool/home/bob             276K   457G   276K  /export/home/bob
2480 .fi
2481 .in -2
2482 .sp
2483
2484 .LP
2485 \fBExample 6 \fRSetting a Quota on a ZFS File System
2486 .sp
2487 .LP
2488 The following command sets a quota of 50 Gbytes for \fBpool/home/bob\fR.
2489
2490 .sp
2491 .in +2
2492 .nf
2493 # \fBzfs set quota=50G pool/home/bob\fR
2494 .fi
2495 .in -2
2496 .sp
2497
2498 .LP
2499 \fBExample 7 \fRListing ZFS Properties
2500 .sp
2501 .LP
2502 The following command lists all properties for \fBpool/home/bob\fR.
2503
2504 .sp
2505 .in +2
2506 .nf
2507 # \fBzfs get all pool/home/bob\fR
2508
2509
2510 NAME           PROPERTY              VALUE                  SOURCE
2511 pool/home/bob  type                  filesystem             -
2512 pool/home/bob  creation              Thu Jul 12 14:44 2007  -
2513 pool/home/bob  used                  276K                   -
2514 pool/home/bob  available             50.0G                  -
2515 pool/home/bob  referenced            276K                   -
2516 pool/home/bob  compressratio         1.00x                  -
2517 pool/home/bob  mounted               yes                    -
2518 pool/home/bob  quota                 50G                    local
2519 pool/home/bob  reservation           none                   default
2520 pool/home/bob  recordsize            128K                   default
2521 pool/home/bob  mountpoint            /export/home/bob       inherited 
2522                                                             from
2523                                                             pool/home
2524 pool/home/bob  sharenfs              off                    default
2525 pool/home/bob  checksum              on                     default
2526 pool/home/bob  compression           off                    default
2527 pool/home/bob  atime                 on                     default
2528 pool/home/bob  devices               on                     default
2529 pool/home/bob  exec                  on                     default
2530 pool/home/bob  setuid                on                     default
2531 pool/home/bob  readonly              off                    default
2532 pool/home/bob  zoned                 off                    default
2533 pool/home/bob  snapdir               hidden                 default
2534 pool/home/bob  aclmode               groupmask              default
2535 pool/home/bob  aclinherit            restricted             default
2536 pool/home/bob  canmount              on                     default
2537 pool/home/bob  shareiscsi            off                    default
2538 pool/home/bob  xattr                 on                     default
2539 pool/home/bob  copies                1                      default
2540 pool/home/bob  version               1                      -
2541 pool/home/bob  utf8only              off                    -
2542 pool/home/bob  normalization         none                   -
2543 pool/home/bob  casesensitivity       sensitive              -
2544 pool/home/bob  vscan                 off                    default
2545 pool/home/bob  nbmand                off                    default
2546 pool/home/bob  sharesmb              off                    default
2547 pool/home/bob  refquota              10M                    local
2548 pool/home/bob  refreservation        none                   default
2549 pool/home/bob  primarycache          all                    default
2550 pool/home/bob  secondarycache        a                      default
2551 pool/home/bob  usedbysnapshots       0                      -
2552 pool/home/bob  usedbydataset         18K                    -
2553 pool/home/bob  usedbychildren        0                      -
2554 pool/home/bob  usedbyrefreservation  0                      -
2555     
2556 .fi
2557 .in -2
2558 .sp
2559
2560 .sp
2561 .LP
2562 The following command gets a single property value.
2563
2564 .sp
2565 .in +2
2566 .nf
2567 # \fBzfs get -H -o value compression pool/home/bob\fR
2568 on
2569 .fi
2570 .in -2
2571 .sp
2572
2573 .sp
2574 .LP
2575 The following command lists all properties with local settings for \fBpool/home/bob\fR.
2576
2577 .sp
2578 .in +2
2579 .nf
2580 # \fBzfs get -r -s local -o name,property,value all pool/home/bob\fR
2581
2582    NAME             PROPERTY      VALUE
2583    pool             compression   on
2584    pool/home        checksum      off
2585 .fi
2586 .in -2
2587 .sp
2588
2589 .LP
2590 \fBExample 8 \fRRolling Back a ZFS File System
2591 .sp
2592 .LP
2593 The following command reverts the contents of \fBpool/home/anne\fR to the snapshot named \fByesterday\fR, deleting all intermediate snapshots.
2594
2595 .sp
2596 .in +2
2597 .nf
2598 # \fBzfs rollback -r pool/home/anne@yesterday\fR
2599 .fi
2600 .in -2
2601 .sp
2602
2603 .LP
2604 \fBExample 9 \fRCreating a ZFS Clone
2605 .sp
2606 .LP
2607 The following command creates a writable file system whose initial contents are the same as \fBpool/home/bob@yesterday\fR.
2608
2609 .sp
2610 .in +2
2611 .nf
2612 # \fBzfs clone pool/home/bob@yesterday pool/clone\fR
2613 .fi
2614 .in -2
2615 .sp
2616
2617 .LP
2618 \fBExample 10 \fRPromoting a ZFS Clone
2619 .sp
2620 .LP
2621 The following commands illustrate how to test out changes to a file system, and then replace the original file system with the changed one, using clones, clone promotion, and renaming:
2622
2623 .sp
2624 .in +2
2625 .nf
2626 # \fBzfs create pool/project/production\fR
2627   populate /pool/project/production with data
2628 # \fBzfs snapshot pool/project/production@today\fR
2629 # \fBzfs clone pool/project/production@today pool/project/beta\fR
2630 make changes to /pool/project/beta and test them
2631 # \fBzfs promote pool/project/beta\fR
2632 # \fBzfs rename pool/project/production pool/project/legacy\fR
2633 # \fBzfs rename pool/project/beta pool/project/production\fR
2634 once the legacy version is no longer needed, it can be destroyed
2635 # \fBzfs destroy pool/project/legacy\fR
2636 .fi
2637 .in -2
2638 .sp
2639
2640 .LP
2641 \fBExample 11 \fRInheriting ZFS Properties
2642 .sp
2643 .LP
2644 The following command causes \fBpool/home/bob\fR and \fBpool/home/anne\fR to inherit the \fBchecksum\fR property from their parent.
2645
2646 .sp
2647 .in +2
2648 .nf
2649 # \fBzfs inherit checksum pool/home/bob pool/home/anne\fR
2650 .fi
2651 .in -2
2652 .sp
2653
2654 .LP
2655 \fBExample 12 \fRRemotely Replicating ZFS Data
2656 .sp
2657 .LP
2658 The following commands send a full stream and then an incremental stream to a remote machine, restoring them into \fBpoolB/received/fs@a\fRand \fBpoolB/received/fs@b\fR, respectively. \fBpoolB\fR must contain the file system \fBpoolB/received\fR, and must not initially contain \fBpoolB/received/fs\fR.
2659
2660 .sp
2661 .in +2
2662 .nf
2663 # \fBzfs send pool/fs@a | \e\fR
2664    \fBssh host zfs receive poolB/received/fs@a\fR
2665 # \fBzfs send -i a pool/fs@b | ssh host \e\fR
2666    \fBzfs receive poolB/received/fs\fR
2667 .fi
2668 .in -2
2669 .sp
2670
2671 .LP
2672 \fBExample 13 \fRUsing the \fBreceive\fR \fB-d\fR Option
2673 .sp
2674 .LP
2675 The following command sends a full stream of \fBpoolA/fsA/fsB@snap\fR to a remote machine, receiving it into \fBpoolB/received/fsA/fsB@snap\fR. The \fBfsA/fsB@snap\fR portion of the received snapshot's name is determined from the name of the sent snapshot. \fBpoolB\fR must contain the file system \fBpoolB/received\fR. If \fBpoolB/received/fsA\fR does not exist, it is created as an empty file system.
2676
2677 .sp
2678 .in +2
2679 .nf
2680 # \fBzfs send poolA/fsA/fsB@snap | \e
2681    ssh host zfs receive -d poolB/received\fR
2682 .fi
2683 .in -2
2684 .sp
2685
2686 .LP
2687 \fBExample 14 \fRSetting User Properties
2688 .sp
2689 .LP
2690 The following example sets the user-defined \fBcom.example:department\fR property for a dataset.
2691
2692 .sp
2693 .in +2
2694 .nf
2695 # \fBzfs set com.example:department=12345 tank/accounting\fR
2696 .fi
2697 .in -2
2698 .sp
2699
2700 .LP
2701 \fBExample 15 \fRCreating a ZFS Volume as an iSCSI Target Device
2702 .sp
2703 .LP
2704 The following example shows how to create a \fBZFS\fR volume as an \fBiSCSI\fR target. 
2705
2706 .sp
2707 .in +2
2708 .nf
2709 # \fBzfs create -V 2g pool/volumes/vol1\fR
2710 # \fBzfs set shareiscsi=on pool/volumes/vol1\fR
2711 # \fBiscsitadm list target\fR
2712 Target: pool/volumes/vol1
2713  iSCSI Name: 
2714  iqn.1986-03.com.sun:02:7b4b02a6-3277-eb1b-e686-a24762c52a8c
2715  Connections: 0
2716 .fi
2717 .in -2
2718 .sp
2719
2720 .sp
2721 .LP
2722 After the \fBiSCSI\fR target is created, set up the \fBiSCSI\fR initiator. For more information about the Solaris \fBiSCSI\fR initiator, see \fBiscsitadm\fR(1M).
2723 .LP
2724 \fBExample 16 \fRPerforming a Rolling Snapshot
2725 .sp
2726 .LP
2727 The following example shows how to maintain a history of snapshots with a consistent naming scheme. To keep a week's worth of snapshots, the user destroys the oldest snapshot, renames the remaining snapshots, and then creates a new snapshot, as follows:
2728
2729 .sp
2730 .in +2
2731 .nf
2732 # \fBzfs destroy -r pool/users@7daysago\fR
2733 # \fBzfs rename -r pool/users@6daysago @7daysago\fR
2734 # \fBzfs rename -r pool/users@5daysago @6daysago\fR
2735 # \fBzfs rename -r pool/users@yesterday @5daysago\fR
2736 # \fBzfs rename -r pool/users@yesterday @4daysago\fR
2737 # \fBzfs rename -r pool/users@yesterday @3daysago\fR
2738 # \fBzfs rename -r pool/users@yesterday @2daysago\fR
2739 # \fBzfs rename -r pool/users@today @yesterday\fR
2740 # \fBzfs snapshot -r pool/users@today\fR
2741 .fi
2742 .in -2
2743 .sp
2744
2745 .LP
2746 \fBExample 17 \fRSetting \fBsharenfs\fR Property Options on a ZFS File System
2747 .sp
2748 .LP
2749 The following commands show how to set \fBsharenfs\fR property options to enable \fBrw\fR access for a set of \fBIP\fR addresses and to enable root access for system \fBneo\fR on the \fBtank/home\fR file system.
2750
2751 .sp
2752 .in +2
2753 .nf
2754 # \fB# zfs set sharenfs='rw=@123.123.0.0/16,root=neo' tank/home\fR
2755  
2756 .fi
2757 .in -2
2758 .sp
2759
2760 .sp
2761 .LP
2762 If you are using \fBDNS\fR for host name resolution, specify the fully qualified hostname.
2763
2764 .LP
2765 \fBExample 18 \fRDelegating ZFS Administration Permissions on a ZFS Dataset
2766 .sp
2767 .LP
2768 The following example shows how to set permissions so that user \fBcindys\fR can create, destroy, mount, and take snapshots on \fBtank/cindys\fR. The permissions on \fBtank/cindys\fR are also displayed.
2769
2770 .sp
2771 .in +2
2772 .nf
2773 # \fB# zfs allow cindys create,destroy,mount,snapshot tank/cindys\fR
2774 # \fBzfs allow tank/cindys\fR
2775 -------------------------------------------------------------
2776 Local+Descendent permissions on (tank/cindys)
2777           user cindys create,destroy,mount,snapshot
2778 -------------------------------------------------------------
2779  
2780 .fi
2781 .in -2
2782 .sp
2783
2784 .sp
2785 .LP
2786 Because the \fBtank/cindys\fR mount point permission is set to 755 by default, user \fBcindys\fR will be unable to mount file systems under \fBtank/cindys\fR. Set an \fBACL\fR similar to the following syntax to provide mount point access:
2787 .sp
2788 .in +2
2789 .nf
2790 # \fBchmod A+user:cindys:add_subdirectory:allow /tank/cindys\fR
2791 .fi
2792 .in -2
2793 .sp
2794
2795 .LP
2796 \fBExample 19 \fRDelegating Create Time Permissions on a ZFS Dataset
2797 .sp
2798 .LP
2799 The following example shows how to grant anyone in the group \fBstaff\fR to create file systems in \fBtank/users\fR. This syntax also allows staff members to destroy their own file systems, but not destroy anyone else's file system. The permissions on \fBtank/users\fR are also displayed.
2800
2801 .sp
2802 .in +2
2803 .nf
2804 # \fB# zfs allow staff create,mount tank/users\fR
2805 # \fBzfs allow -c destroy tank/users\fR
2806 # \fBzfs allow tank/users\fR
2807 -------------------------------------------------------------
2808 Create time permissions on (tank/users)
2809           create,destroy
2810 Local+Descendent permissions on (tank/users)
2811           group staff create,mount
2812 ------------------------------------------------------------- 
2813 .fi
2814 .in -2
2815 .sp
2816
2817 .LP
2818 \fBExample 20 \fRDefining and Granting a Permission Set on a ZFS Dataset
2819 .sp
2820 .LP
2821 The following example shows how to define and grant a permission set on the \fBtank/users\fR file system. The permissions on \fBtank/users\fR are also displayed.
2822
2823 .sp
2824 .in +2
2825 .nf
2826 # \fBzfs allow -s @pset create,destroy,snapshot,mount tank/users\fR
2827 # \fBzfs allow staff @pset tank/users\fR
2828 # \fBzfs allow tank/users\fR
2829 -------------------------------------------------------------
2830 Permission sets on (tank/users)
2831         @pset create,destroy,mount,snapshot
2832 Create time permissions on (tank/users)
2833         create,destroy
2834 Local+Descendent permissions on (tank/users)
2835         group staff @pset,create,mount
2836 -------------------------------------------------------------
2837 .fi
2838 .in -2
2839 .sp
2840
2841 .LP
2842 \fBExample 21 \fRDelegating Property Permissions on a ZFS Dataset
2843 .sp
2844 .LP
2845 The following example shows to grant the ability to set quotas and reservations on the \fBusers/home\fR file system. The permissions on \fBusers/home\fR are also displayed.
2846
2847 .sp
2848 .in +2
2849 .nf
2850 # \fBzfs allow cindys quota,reservation users/home\fR
2851 # \fBzfs allow users/home\fR
2852 -------------------------------------------------------------
2853 Local+Descendent permissions on (users/home)
2854         user cindys quota,reservation
2855 -------------------------------------------------------------
2856 cindys% zfs set quota=10G users/home/marks
2857 cindys% zfs get quota users/home/marks
2858 NAME              PROPERTY  VALUE             SOURCE
2859 users/home/marks  quota     10G               local 
2860 .fi
2861 .in -2
2862 .sp
2863
2864 .LP
2865 \fBExample 22 \fRRemoving ZFS Delegated Permissions on a ZFS Dataset
2866 .sp
2867 .LP
2868 The following example shows how to remove the snapshot permission from the \fBstaff\fR group on the \fBtank/users\fR file system. The permissions on \fBtank/users\fR are also displayed.
2869
2870 .sp
2871 .in +2
2872 .nf
2873 # \fBzfs unallow staff snapshot tank/users\fR
2874 # \fBzfs allow tank/users\fR
2875 -------------------------------------------------------------
2876 Permission sets on (tank/users)
2877         @pset create,destroy,mount,snapshot
2878 Create time permissions on (tank/users)
2879         create,destroy
2880 Local+Descendent permissions on (tank/users)
2881         group staff @pset,create,mount
2882 ------------------------------------------------------------- 
2883 .fi
2884 .in -2
2885 .sp
2886
2887 .SH EXIT STATUS
2888 .sp
2889 .LP
2890 The following exit values are returned:
2891 .sp
2892 .ne 2
2893 .mk
2894 .na
2895 \fB\fB0\fR\fR
2896 .ad
2897 .sp .6
2898 .RS 4n
2899 Successful completion. 
2900 .RE
2901
2902 .sp
2903 .ne 2
2904 .mk
2905 .na
2906 \fB\fB1\fR\fR
2907 .ad
2908 .sp .6
2909 .RS 4n
2910 An error occurred.
2911 .RE
2912
2913 .sp
2914 .ne 2
2915 .mk
2916 .na
2917 \fB\fB2\fR\fR
2918 .ad
2919 .sp .6
2920 .RS 4n
2921 Invalid command line options were specified.
2922 .RE
2923
2924 .SH ATTRIBUTES
2925 .sp
2926 .LP
2927 See \fBattributes\fR(5) for descriptions of the following attributes:
2928 .sp
2929
2930 .sp
2931 .TS
2932 tab(\a) box;
2933 cw(2.75i) |cw(2.75i) 
2934 lw(2.75i) |lw(2.75i) 
2935 .
2936 ATTRIBUTE TYPE\aATTRIBUTE VALUE
2937 _
2938 Availability\aSUNWzfsu
2939 _
2940 Interface Stability\aCommitted
2941 .TE
2942
2943 .SH SEE ALSO
2944 .sp
2945 .LP
2946 \fBssh\fR(1), \fBiscsitadm\fR(1M), \fBmount\fR(1M), \fBshare\fR(1M), \fBsharemgr\fR(1M), \fBunshare\fR(1M), \fBzonecfg\fR(1M), \fBzpool\fR(1M), \fBchmod\fR(2), \fBstat\fR(2), \fBwrite\fR(2), \fBfsync\fR(3C), \fBdfstab\fR(4), \fBattributes\fR(5)
2947 .sp
2948 .LP
2949 See the \fBgzip\fR(1) man page, which is not part of the SunOS man page collection.
2950 .sp
2951 .LP
2952 For information about using the \fBZFS\fR web-based management tool and other \fBZFS\fR features, see the \fISolaris ZFS Administration Guide\fR.