# Mount.nfs: requested NFS version or transport protocol is not supported. How to change mount options?

**URL:** https://discourse.roots.io/t/mount-nfs-requested-nfs-version-or-transport-protocol-is-not-supported-how-to-change-mount-options/19074
**Category:** trellis
**Created:** 2020-09-09T18:14:25Z
**Posts:** 3

## Post 1 by @nico23 — 2020-09-09T18:14:25Z

```
==> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o vers=3,udp 192.168.50.1:/uncrypted/websites/nextgenthemes.com /vagrant-nfs-nextgenthemes.com

Stdout from the command:

Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported
```

I know this is mainly a vagrant issue but there is an issue that suggests I may be able to fix this directly from the vagranfile.

My issue is I do not speak ruby and vagrant config. I tried a few things but they all failed. What part of the config do I need to change?

I do not understand the `folder.fetch` thing or what part of the config I need to change. I like to try to switch of protocol 4 over TCP so it mounts like this `mount -o vers=4,tcp`. Or would there be an issue using protocol 4 with Trellis? I have no idea about NFS. I just hold packages back for ages now to prevent this and I just updated again.

Not sure about changing Trellis config if this works out probably best keeping it that way for other older systems.

---

## Post 2 by @nico23 — 2020-09-09T19:59:50Z

I figured it out: I edited both lines that end with type: ‘nfs’ to

```
type: 'nfs', mount_options: ["vers=4,tcp"]
```

---

## Post 3 by @system — 2020-10-21T18:29:25Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
