4 .\" The contents of this file are subject to the terms of the
5 .\" Common Development and Distribution License (the "License").
6 .\" You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 .\" or https://opensource.org/licenses/CDDL-1.0.
10 .\" See the License for the specific language governing permissions
11 .\" and limitations under the License.
13 .\" When distributing Covered Code, include this CDDL HEADER in each
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 .\" If applicable, add the following below this CDDL HEADER, with the
16 .\" fields enclosed by brackets "[]" replaced with your own identifying
17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
22 .\" Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
23 .\" Copyright (c) 2011, 2019 by Delphix. All rights reserved.
24 .\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
25 .\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
26 .\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
27 .\" Copyright (c) 2014 Integros [integros.com]
28 .\" Copyright 2019 Richard Laager. All rights reserved.
29 .\" Copyright 2018 Nexenta Systems, Inc.
30 .\" Copyright 2019 Joyent, Inc.
38 .Nd manage mount state of ZFS filesystems
47 .Fl a Ns | Ns Fl R Ar filesystem Ns | Ns Ar filesystem
51 .Fl a Ns | Ns Ar filesystem Ns | Ns Ar mountpoint
60 Displays all ZFS file systems currently mounted.
63 Displays all mounted file systems in JSON format.
70 .Fl a Ns | Ns Fl R Ar filesystem Ns | Ns Ar filesystem
72 Mount ZFS filesystem on a path described by its
74 property, if the path exists and is empty.
79 the filesystem should be instead mounted using
83 Perform an overlay mount.
84 Allows mounting in non-empty
90 Mount all available ZFS file systems.
91 Invoked automatically as part of the boot process if configured.
93 Mount the specified filesystems along with all their children.
95 Mount the specified filesystem.
97 An optional, comma-separated list of mount options to use temporarily for the
98 duration of the mount.
100 .Em Temporary Mount Point Properties
105 Load keys for encrypted filesystems as they are being mounted.
106 This is equivalent to executing
108 on each encryption root before mounting it.
109 Note that if a filesystem has
110 .Sy keylocation Ns = Ns Sy prompt ,
111 this will cause the terminal to interactively block after asking for the key.
113 Report mount progress.
115 Attempt to force mounting of all filesystems, even those that couldn't normally
116 be mounted (e.g. redacted datasets).
122 .Fl a Ns | Ns Ar filesystem Ns | Ns Ar mountpoint
124 Unmounts currently mounted ZFS file systems.
127 Unmount all available ZFS file systems.
128 Invoked automatically as part of the shutdown process.
130 Forcefully unmount the file system, even if it is currently in use.
131 This option is not supported on Linux.
133 Unload keys for any encryption roots unmounted by this command.
134 .It Ar filesystem Ns | Ns Ar mountpoint
135 Unmount the specified filesystem.
136 The command can also be given a path to a ZFS file system mount point on the