While preparing a server for an emergency shutdown you attempt to run umount /mnt/legacy, but the command hangs because the remote NFS host has crashed and the mount point is still marked as "busy." Which single option supplied to umount will immediately detach the filesystem from the directory tree and complete the cleanup only after all references to it are released, allowing the shutdown to proceed without waiting?
The -l (or --lazy) option performs a lazy unmount. It removes the filesystem from the namespace right away so system shutdown or other administration can continue, but defers the actual release of resources until the kernel sees that no process is still using the mount. This is the option specifically recommended for unresponsive or unreachable network filesystems that would otherwise cause umount to block.
-f forces an unmount, but it can still block on some operations and may corrupt data if writes are pending.
-R recursively unmounts a hierarchy of mount points and does not address the busy-mount problem.
-n skips updating /etc/mtab but does not help when the filesystem is busy.
Therefore, the lazy unmount flag (-l) is the correct choice.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the -l option do in umount?
Open an interactive chat with Bash
Why can't the -f option solve the busy mount issue?
Open an interactive chat with Bash
How does the kernel handle resources after a lazy unmount?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .