MOUNT.NFS(8)
π MOUNT.NFS(8) π
okay bestie, gather round β this is the manual page for mount.nfs and mount.nfs4, aka the girlies that mount a Network File System. Yes, that NFS. The one your sysadmin keeps yelling about. She's iconic, she's ancient, she's serving. β¨
πΈ NAME πΈ
mount.nfs, mount.nfs4 β mount a Network File System
π SYNOPSIS π
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
π¦ DESCRIPTION π¦
So mount.nfs is literally part of the nfs(5) utilities package, and what that package does is provide NFS client functionality. That's the whole vibe. π«Ά
She's meant to be used by the mount(8) command for mounting NFS shares β like, that's her main character job. But plot twist: this subcommand can also be used as a standalone command, just with limited functionality. So she can do it on her own, but not at full power. Respect the limits, bestie. π
remotetarget is a server share, usually looking like servername:/path/to/share. And dir is the directory on which the file system is to be mounted. Simple. Clean. Slay.
Now here's the tea about kernel versions π΅ β under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. But under earlier Linux kernel versions, you have to use mount.nfs4 for mounting NFSv4 file systems, while mount.nfs must be used for NFSv3. Not optional. Not negotiable. The kernel said what it said. π
β¨ OPTIONS β¨
-rβ Mount file system readonly. Look, don't touch. π-vβ Be verbose. She's gonna talk, she's gonna tell you everything that's happening. π¬-Vβ Print version. Just the version, nothing else. Quick lil flex. β-wβ Mount file system read-write. Now you can touch. π₯-fβ Fake mount. Don't actually call the mount system call. It's giving pretend, it's giving dress rehearsal, nothing real happens. π-nβ Do not update/etc/mtab. By default, an entry is created in/etc/mtabfor every mounted file system. Use this option to skip making an entry. Ghosting the mtab, honestly. π-sβ Tolerate sloppy mount options rather than fail. She's forgiving. She's gracious. She's letting it slide. π-hβ Print help message. Bestie needs assistance? Say less. π«Άnfsoptionsβ Refer tonfs(5)ormount(8)manual pages. That's where the real lore lives, iykyk. π
π NOTE π
For further information please refer nfs(5) and mount(8) manual pages. That's the homework. Do the reading. No skipping. π
π FILES π
/etc/fstabβ file system table/etc/mtabβ table of mounted file systems/etc/nfsmount.confβ Configuration file for NFS mounts
π SEE ALSO π
nfs(5), nfsmount.conf(5), mount(8),
π AUTHOR π
Amit Gud <agud@redhat.com>
and that's the whole page, bestie. every flag, every file, every warning β all of it. no cap. π§
signing off with love from the System Manager's Manual, dated 5 Jun 2006 β yeah she's been on the internet longer than some of us have been alive and she still eats every time. πβ¨π
π¦ where this page comes from
- alpine 3.22: nfs-utils-doc 2.6.4-r4 Β· GPL-2.0-only
- alpine 3.23: nfs-utils-doc 2.6.4-r6 Β· GPL-2.0-only
- alpine 3.24: nfs-utils-doc 2.6.4-r6 Β· GPL-2.0-only
- arch rolling: nfs-utils 3.1.1-1 Β· GPL-2.0-or-later
- centos-stream 10: nfs-utils 1:2.8.3-9.el10 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 10: nfs-utils-coreos 1:2.8.3-9.el10 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 10: nfsv4-client-utils 1:2.8.3-9.el10 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfs-utils 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfs-utils-coreos 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfsv4-client-utils 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- debian bookworm: nfs-common 1:2.6.2-4+deb12u1
- debian trixie: nfs-common 1:2.8.3-1
- fedora 43: nfs-utils 1:2.8.4-0.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfs-utils 1:2.8.7-6.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfs-utils-coreos 1:2.8.4-0.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfs-utils-coreos 1:2.8.7-6.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfsv4-client-utils 1:2.8.4-0.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfsv4-client-utils 1:2.8.7-6.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: nfs-common-utils 1:2.8.7-0.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- fedora 44: nfs-common-utils 1:2.8.7-7.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- nixos 26.05: nfs-utils 2.9.1
- nixpkgs unstable: nfs-utils 3.1.1
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- ubuntu jammy: nfs-common 1:2.6.1-1ubuntu1
- ubuntu jammy: nfs-common 1:2.6.1-1ubuntu1.2
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5.1
- ubuntu questing: nfs-common 1:2.8.3-1ubuntu3
- ubuntu resolute: nfs-common 1:2.8.5-1ubuntu1
- ubuntu stonking: nfs-common 1:2.9.1-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms