From 89adffb7bcabc8f596552c92c8b3635eaa696713 Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Tue, 18 Feb 2020 22:36:23 +0100 Subject: 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 Signed-off-by: Mariusz Zaborski Closes #10013 --- man/man8/zfs-mount.8 | 3 ++- man/man8/zpool-export.8 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'man') 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. -- cgit v1.2.3