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 <behlendorf1@llnl.gov>
Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org>
Closes #10013
This commit is contained in:
Mariusz Zaborski 2020-02-18 22:36:23 +01:00 committed by GitHub
parent 43849fdf3f
commit 89adffb7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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.