UMOUNT.NFS(8)

πŸ’… UMOUNT.NFS β€” the umount.nfs(8) glow-up ✨

okay bestie, so this is umount.nfs and umount.nfs4, living in section 8 of the system manager's manual. it's the Network File System unmounting situation, and we're gonna get into it. πŸ¦‹


πŸŽ€ NAME πŸŽ€

umount.nfs, umount.nfs4 β€” unmount a Network File System. that's it, that's the whole job. bye bye NFS share πŸ‘‹


✨ SYNOPSIS ✨

umount.nfs dir [-fvnrlh ]

🌸 DESCRIPTION 🌸

so umount.nfs and umount.nfs4 are part of the nfs(5) utilities package, which is the whole thing that gives you NFS client functionality. it's giving "I'm a supporting character in the NFS cinematic universe but I'm lowkey essential". πŸ‘‘

umount.nfs4 and umount.nfs are meant to be used by the umount(8) command, for unmounting NFS shares. that's their main character purpose fr fr. πŸ’–

but β€” plot twist β€” this subcommand can also be used as a standalone command with limited functionality. so like, it can do its thing solo, but it's on a budget. no cap. πŸ™ˆ

dir is the directory on which the file system is mounted. that's the spot. that's the address. πŸ’…


πŸ”₯ OPTIONS πŸ”₯

  • -f β€” Force unmount the file system in case of unreachable NFS system. server ghosted you? this option does not care. it unmounts anyway. πŸ’€
  • -v β€” Be verbose. it will literally tell you what it's doing. communication queen. πŸ—£οΈ
  • -n β€” Do not update /etc/mtab. by default, an entry is created in /etc/mtab for every mounted file system, so use this option to skip deleting an entry. not me skipping the receipt πŸ“
  • -r β€” In case unmounting fails, try to mount read-only. plan B energy. it's giving resilience. 🌈
  • -l β€” Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it is not busy anymore. it's the "I'll deal with it later bestie" of unmounting, and honestly? valid. 😌
  • -h β€” Print help message. the "wait what does this do again" button. 🫢

πŸ‘‘ NOTE πŸ‘‘

For further information please refer nfs(5) and umount(8) manual pages. iykyk, go read the sisters. πŸ“š


πŸ“ FILES πŸ“

  • /etc/fstab β€” file system table
  • /etc/mtab β€” table of mounted file systems

these two are the receipts of the filesystem world. πŸ’œ


🧚 SEE ALSO 🧚

nfs(5), umount(8),


⭐ AUTHOR ⭐

Amit Gud <agud@redhat.com> β€” the icon who wrote this. we stan. πŸ’–


and that's the whole page, bestie ✨ this one shipped out on 6 Jun 2006 from the System Manager's Manual β€” so yeah, it's vintage, it's classic, it's still slaying. mwah πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from