summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariusz Zaborski <[email protected]>2020-02-18 22:36:23 +0100
committerGitHub <[email protected]>2020-02-18 13:36:23 -0800
commit89adffb7bcabc8f596552c92c8b3635eaa696713 (patch)
tree9c7cc8b9c8a9233c508ed2017f22e72038624aff
parent43849fdf3ffe200b6ad17597d6cfe706af1212d9 (diff)
Add notice that forcefully unmount is not supported on Linux
The Linux VFS will never allow a filesystem which is in use to be unmounted. This behavior differs from other platforms like FreeBSD which allow a filesystem to be force unmounted. This will result in errors being returned to applications actively using the filesystem. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Mariusz Zaborski <[email protected]> Closes #10013
-rw-r--r--man/man8/zfs-mount.83
-rw-r--r--man/man8/zpool-export.83
2 files changed, 4 insertions, 2 deletions
diff --git a/man/man8/zfs-mount.8 b/man/man8/zfs-mount.8
index 40229cc0b..5e922f84b 100644
--- a/man/man8/zfs-mount.8
+++ b/man/man8/zfs-mount.8
@@ -30,7 +30,7 @@
.\" Copyright 2018 Nexenta Systems, Inc.
.\" Copyright 2019 Joyent, Inc.
.\"
-.Dd June 30, 2019
+.Dd February 16, 2019
.Dt ZFS-MOUNT 8
.Os Linux
.Sh NAME
@@ -117,6 +117,7 @@ Unmount all available ZFS file systems.
Invoked automatically as part of the shutdown process.
.It Fl f
Forcefully unmount the file system, even if it is currently in use.
+This option is not supported on Linux.
.It Fl u
Unload keys for any encryption roots unmounted by this command.
.It Ar filesystem Ns | Ns Ar mountpoint
diff --git a/man/man8/zpool-export.8 b/man/man8/zpool-export.8
index 1247e12d5..32e36799c 100644
--- a/man/man8/zpool-export.8
+++ b/man/man8/zpool-export.8
@@ -27,7 +27,7 @@
.\" Copyright 2017 Nexenta Systems, Inc.
.\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
.\"
-.Dd August 9, 2019
+.Dd February 16, 2020
.Dt ZPOOL-EXPORT 8
.Os Linux
.Sh NAME
@@ -72,6 +72,7 @@ Exports all pools imported on the system.
Forcefully unmount all datasets, using the
.Nm unmount Fl f
command.
+This option is not supported on Linux.
.Pp
This command will forcefully export the pool even if it has a shared spare that
is currently being used.