diff options
author | Yuri Pankov <[email protected]> | 2013-01-10 14:25:47 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-01-11 09:17:19 -0800 |
commit | 5990da81a798c087d323ba9104a6696bef2d275f (patch) | |
tree | 203116c23e47b890586c3fcbd5ec2541630b0e35 /man | |
parent | 240245896aad46d0d41b0f9f257ff2abd09cb29b (diff) |
Illumos #1884, #3028, #3048, #3049, #3060, #3061, #3093
1884 Empty "used" field for zfs *space commands
3028 zfs {group,user}space -n prints (null) instead of numeric GID/UID
3048 zfs {user,group}space [-s|-S] is broken
3049 zfs {user,group}space -t doesn't really filter the results
3060 zfs {user,group}space -H output isn't tab-delimited
3061 zfs {user,group}space -o doesn't use specified fields order
3093 zfs {user,group}space's -i is noop
Reviewed by: Garry Mills <[email protected]>
Reviewed by: Eric Schrock <[email protected]>
Approved by: Richard Lowe <[email protected]>
References:
illumos/illumos-gate@89f5d17b06fc4132c983112b24836a779a0ed736
illumos changeset: 13803:b5e49d71ff0e
https://www.illumos.org/issues/1884
https://www.illumos.org/issues/3028
https://www.illumos.org/issues/3048
https://www.illumos.org/issues/3049
https://www.illumos.org/issues/3060
https://www.illumos.org/issues/3061
https://www.illumos.org/issues/3093
Ported-by: Brian Behlendorf <[email protected]>
Closes #1194
Diffstat (limited to 'man')
-rw-r--r-- | man/man8/zfs.8 | 101 |
1 files changed, 67 insertions, 34 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 031c05c21..38d54c9cb 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -1,13 +1,32 @@ -'\" te +'\" t +.\" +.\" CDDL HEADER START +.\" +.\" 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. +.\" 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 the +.\" fields enclosed by brackets "[]" replaced with your own identifying +.\" information: Portions Copyright [yyyy] [name of copyright owner] +.\" +.\" CDDL HEADER END +.\" +.\" .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved. +.\" Copyright 2011 Joshua M. Clulow <[email protected]> .\" Copyright (c) 2012 by Delphix. All rights reserved. -.\" Copyright (c) 2012 Nexenta Systems, Inc. All Rights Reserved. .\" Copyright (c) 2012, Joyent, Inc. All rights reserved. -.\" Copyright 2011 Joshua M. Clulow <[email protected]> -.\" 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. -.\" 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 -.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH zfs 8 "Aug 16, 2012" "ZFS pool 28, filesystem 5" "System Administration Commands" +.\" Copyright 2012 Nexenta Systems, Inc. All Rights Reserved. +.\" +.TH zfs 8 "Jan 10, 2013" "ZFS pool 28, filesystem 5" "System Administration Commands" .SH NAME zfs \- configures ZFS file systems .SH SYNOPSIS @@ -107,14 +126,14 @@ zfs \- configures ZFS file systems .LP .nf -\fBzfs\fR \fBuserspace\fR [\fB-niHp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-sS\fR \fIfield\fR] ... - [\fB-t\fR \fItype\fR[,...]] \fIfilesystem\fR|\fIsnapshot\fR +\fBzfs\fR \fBuserspace\fR [\fB-Hinp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-s\fR \fIfield\fR] ... + [\fB-S\fR \fIfield\fR] ... [\fB-t\fR \fItype\fR[,...]] \fIfilesystem\fR|\fIsnapshot\fR .fi .LP .nf -\fBzfs\fR \fBgroupspace\fR [\fB-niHp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-sS\fR \fIfield\fR] ... - [\fB-t\fR \fItype\fR[,...]] \fIfilesystem\fR|\fIsnapshot\fR +\fBzfs\fR \fBgroupspace\fR [\fB-Hinp\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-s\fR \fIfield\fR] ... + [\fB-S\fR \fIfield\fR] ... [\fB-t\fR \fItype\fR[,...]] \fIfilesystem\fR|\fIsnapshot\fR .fi .LP @@ -2013,11 +2032,16 @@ Upgrade to the specified \fIversion\fR. If the \fB-V\fR flag is not specified, t .ne 2 .mk .na -\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 +\fBzfs\fR \fBuserspace\fR [\fB-Hinp\fR] [\fB-o\fR \fIfield\fR[,...]] +[\fB-s\fR \fIfield\fR] ... +[\fB-S\fR \fIfield\fR] ... +[\fB-t\fR \fItype\fR[,...]] \fIfilesystem\fR|\fIsnapshot\fR .ad .sp .6 .RS 4n -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. +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. .sp .ne 2 .mk @@ -2048,7 +2072,7 @@ Do not print headers, use tab-delimited output. .ad .sp .6 .RS 4n -Use exact (parseable) numeric output. +Use exact (parsable) numeric output. .RE .sp @@ -2059,7 +2083,8 @@ Use exact (parseable) numeric output. .ad .sp .6 .RS 4n -Display only the specified fields from the following set, \fBtype,name,used,quota\fR.The default is to display all fields. +Display only the specified fields from the following +set: \fBtype, name, used, quota\fR. The default is to display all fields. .RE .sp @@ -2070,7 +2095,9 @@ Display only the specified fields from the following set, \fBtype,name,used,quot .ad .sp .6 .RS 4n -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 \fB-s type\fR \fB-s name\fR. +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 +\fB-s type\fR \fB-s name\fR. .RE .sp @@ -2092,11 +2119,10 @@ Sort by this field in reverse order. See \fB-s\fR. .ad .sp .6 .RS 4n -Print only the specified types from the following set, \fBall,posixuser,smbuser,posixgroup,smbgroup\fR. -.sp -The default is \fB-t posixuser,smbuser\fR -.sp -The default can be changed to include group types. +Print only the specified types from the following +set: \fBall, posixuser, smbuser, posixgroup, smbgroup\fR. The default +is \fB-t posixuser,smbuser\fR. The default can be changed to include group +types. .RE .sp @@ -2107,7 +2133,14 @@ The default can be changed to include group types. .ad .sp .6 .RS 4n -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, the \fB-i\fR option will report that the POSIX entity has the total usage and quota for both. +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 will be owned +by the SMB entity and some by the POSIX entity. However, the \fB-i\fR option +will report that the POSIX entity has the total usage and quota for both. .RE .RE @@ -2116,19 +2149,16 @@ Translate SID to POSIX ID. The POSIX ID may be ephemeral if no mapping exists. N .ne 2 .mk .na -\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 +\fBzfs\fR \fBgroupspace\fR [\fB-Hinp\fR] [\fB-o\fR \fIfield\fR[,...]] +[\fB-s\fR \fIfield\fR] ... +[\fB-S\fR \fIfield\fR] ... +[\fB-t\fR \fItype\fR[,...]] \fIfilesystem\fR|\fIsnapshot\fR .ad .sp .6 .RS 4n -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 \fB-t posixgroup,smbgroup\fR. -.sp -.in +2 -.nf -- -.fi -.in -2 -.sp - +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 \fB-t posixgroup,smbgroup\fR. .RE .sp @@ -2159,7 +2189,9 @@ Mounts \fBZFS\fR file systems. Invoked automatically as part of the boot process .ad .sp .6 .RS 4n -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. +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. .RE .sp @@ -2192,7 +2224,8 @@ Report mount progress. .ad .sp .6 .RS 4n -Mount all available \fBZFS\fR file systems. Invoked automatically as part of the boot process. +Mount all available \fBZFS\fR file systems. Invoked automatically as part of +the boot process. .RE .sp |