# Mounting NFS Shares

### How Do I Find Out Shared Directories?

```
$ showmount -e nas01
$ showmount -e nfs-server-ip-address-here
$ showmount -e nas01.lan.nixcraft.net.in
```

### Mac OS X NFS mount Command

```
$ sudo mkdir /private/nfs
```

```
$ sudo mount -t nfs 192.168.3.1:/mp3 /private/nfs
```

#### Tip: Operation not permitted Error

Try to mount it as follows with -o **resvport** command:

```
$ sudo mount -t nfs -o resvport 192.168.3.1:/mp3 /private/nfs
```

OR mount an NFS in read/write mode, enter:

```
$ sudo mount -t nfs -o resvport,rw 192.168.3.1:/mp3 /private/nfs
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.smhuda.com/pentesting/infrastructure-security/network-infrastructure/mounting-nfs-shares.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
