Umount: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 7: Line 7:
==-f==
==-f==
Force unmount in case of an unreachable NFS system.
Force unmount in case of an unreachable NFS system.
==-l,--lazy==
Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. A system reboot would be expected in near future if you're going to use this option for network filesystem or local filesystem with submounts.  The recommended use-case for umount -l is to prevent hangs on shutdown due to an unreachable network share where a normal umount  will hang due to a downed server or a network partition. Remounts of the share will not be possible.

Latest revision as of 22:01, 19 February 2021

Internal

Overview

Options

-f

Force unmount in case of an unreachable NFS system.

-l,--lazy

Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. A system reboot would be expected in near future if you're going to use this option for network filesystem or local filesystem with submounts. The recommended use-case for umount -l is to prevent hangs on shutdown due to an unreachable network share where a normal umount will hang due to a downed server or a network partition. Remounts of the share will not be possible.