ZFS-MOUNT(8)
π ZFS-MOUNT π
ok so this is zfs-mount from section 8 of the System Manager's Manual β it's the girlies who handle the mount state of ZFS filesystems. mounting, unmounting, the whole vibe. let's get into it bestie π¦
β¨ SYNOPSIS β¨
zfs mount [-j]
zfs mount [-Oflv] [-o options] -a|-R filesystem|filesystem
zfs unmount [-fu] -a|filesystem|mountpoint
πΈ DESCRIPTION πΈ
zfs mount [-j] π
Displays all ZFS file systems currently mounted. just... showing you the receipts, no cap.
-j,--jsonβ Displays all mounted file systems in JSON format. it's giving structured data, it's giving machine-readable, we love her π
zfs mount [-Oflv] [-o options] -a|-R filesystem|filesystem π
Mount ZFS filesystem on a path described by its mountpoint property, if the path exists and is empty. If mountpoint is set to legacy, the filesystem should be instead mounted using mount(8).
lowkey important: the path has to exist and be empty, or it's not happening. and if you setmountpointtolegacy?? girl, that's a whole different manpage, go seemount(8)π
-Oβ Perform an overlay mount. Allows mounting in non-emptymountpoint. Seemount(8)for more information. (yes bestie, she'll let you mount over stuff, she's bold like that)-aβ Mount all available ZFS file systems. Invoked automatically as part of the boot process if configured. main character boot energy π-Rβ Mount the specified filesystems along with all their children. the whole family's coming π«Άfilesystemβ Mount the specified filesystem. that's it, that's the girl.-ooptionsβ An optional, comma-separated list of mount options to use temporarily for the duration of the mount. See the Temporary Mount Point Properties section ofzfsprops(7)for details. temporary!! as in, this vibe does not persist, iykyk β¨-lβ Load keys for encrypted filesystems as they are being mounted. This is equivalent to executingzfs load-keyon each encryption root before mounting it.
π¨ okay so heads up: note that if a filesystem has keylocation=prompt, this will cause the terminal to interactively block after asking for the key. like, she WILL just sit there waiting for you. don't be confused, just type your key π
-vβ Report mount progress. narrating the whole thing for you, love that for us π’-fβ Attempt to force mounting of all filesystems, even those that couldn't normally be mounted (e.g. redacted datasets). she's persistent!! π₯
zfs unmount [-fu] -a|filesystem|mountpoint π§
Unmounts currently mounted ZFS file systems. the reverse slay.
-aβ Unmount all available ZFS file systems. Invoked automatically as part of the shutdown process. goodbye besties, see you at next boot π-fβ Forcefully unmount the file system, even if it is currently in use.
π not supported on Linux. just so you know.
-uβ Unload keys for any encryption roots unmounted by this command. keys go back in the vault πfilesystem|mountpointβ Unmount the specified filesystem. The command can also be given a path to a ZFS file system mount point on the system. so you can point at the fs or the path, either one works, flexible queen πΈ
π¬ SEE ALSO
(no see-also section on this page bestie, but we did shout out mount(8) and zfsprops(7) up top if you need more π)
ok that's the whole page!! written by OpenZFS, dated October 12, 2024 β go forth and mount responsibly, and remember: if the path isn't empty, -O is your girl. bye bestie πβ¨π
π¦ where this page comes from
- alpine 3.23: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 Β· CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 Β· CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 Β· CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 Β· CDDL-1.0
- π the page's license: CDDL-1.0
- Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved
- Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
- Copyright (c) 2011, 2019 by Delphix. All rights reserved
- Copyright (c) 2013 by Saso Kiselkov. All rights reserved
- Copyright (c) 2014, Joyent, Inc. All rights reserved
- Copyright (c) 2014 by Adam Stevko. All rights reserved
- Copyright (c) 2014 Integros [integros.com]
- Copyright 2019 Richard Laager. All rights reserved
- Copyright 2018 Nexenta Systems, Inc
- Copyright 2019 Joyent, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms