HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mount — Mount Network File System (NFS) network shares. More information: <https://learn.microsoft.com/windo

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandnfsnetworkclifilemountsystem
windows

Problem

How to use the mount command: Mount Network File System (NFS) network shares. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/mount>.

Solution

mount — Mount Network File System (NFS) network shares. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/mount>.

Mount a share to the "Z" drive letter:
mount \\{{computer_name}}\{{share_name}} {{Z:}}


Mount a share to the next available drive letter:
mount \\{{computer_name}}\{{share_name}} *


Mount a share with a read timeout in seconds (defaults to 0.8, can be 0.9 or 1 to 60):
mount -o timeout={{seconds}} \\{{computer_name}}\{{share_name}} {{Z:}}


Mount a share and retry up to 10 times if it fails:
mount -o retry=10 \\{{computer_name}}\{{share_name}} {{Z:}}


Mount a share with forced case sensitivity:
mount -o casesensitive \\{{computer_name}}\{{share_name}} {{Z:}}


Mount a share as an anonymous user:
mount -o anon \\{{computer_name}}\{{share_name}} {{Z:}}


Mount a share using a specific mount type:
mount -o mtype={{soft|hard}} \\{{computer_name}}\{{share_name}} {{Z:}}

Code Snippets

Mount a share to the "Z" drive letter

mount \\{{computer_name}}\{{share_name}} {{Z:}}

Mount a share to the next available drive letter

mount \\{{computer_name}}\{{share_name}} *

Mount a share with a read timeout in seconds (defaults to 0.8, can be 0.9 or 1 to 60)

mount -o timeout={{seconds}} \\{{computer_name}}\{{share_name}} {{Z:}}

Mount a share and retry up to 10 times if it fails

mount -o retry=10 \\{{computer_name}}\{{share_name}} {{Z:}}

Mount a share with forced case sensitivity

mount -o casesensitive \\{{computer_name}}\{{share_name}} {{Z:}}

Context

tldr-pages: windows/mount

Revisions (0)

No revisions yet.