You are not logged in.

#1 2019-07-08 15:36:17

7thSon
Member
Registered: 2017-05-07
Posts: 186

[SOLVED] Not able to mount NFS share

I recently built a new home server running OpenMediaVault (Debian based OS), and I'm unable to get NFS shares mounted in Arch.

The share is found on the OMV server at /export/shared, and I've checked with showmount that it's reachable:

❱ showmount -e omv                                                
Export list for omv:
/export/shared  192.168.1.0/24

However, if I try mounting the folder I get this:

❱ sudo mount -t nfs4 omv:/exports/shared /mnt/shared
mount.nfs4: No such device

I've also tried these variants with the above results of "No such device":

sudo mount -t nfs -o vers=4 omv:/exports/shared /mnt/shared
sudo mount -t nfs4 -o vers=4 omv:/exports/shared /mnt/shared
sudo mount -t nfs4 -o vers=4 192.168.1.100:/exports/shared /mnt/shared

omv is of course in my hosts file:

#<ip-address>	<hostname.domain.org>	<hostname>
192.168.1.100   omv.local		omv

What else can I try? I believe the NFS should be v4 since the shared folders are found in /export on the server.
The IP of my Arch machine is 192.168.1.110, so that should be allowed to mount according to the showmount output...?

Last edited by 7thSon (2019-07-08 16:10:46)

Offline

#2 2019-07-08 16:02:18

seth
Member
Registered: 2012-09-03
Posts: 51,052

Re: [SOLVED] Not able to mount NFS share

https://wiki.archlinux.org/index.php/NF … uch_device

Otherwise:

I believe the NFS should be v4

Believing is good for religions, because you don't have to face reality.
Back in the real world: did you try "-t nfs"?

Offline

#3 2019-07-08 16:10:35

7thSon
Member
Registered: 2017-05-07
Posts: 186

Re: [SOLVED] Not able to mount NFS share

seth wrote:

https://wiki.archlinux.org/index.php/NF … uch_device

Otherwise:

I believe the NFS should be v4

Believing is good for religions, because you don't have to face reality.
Back in the real world: did you try "-t nfs"?

Yes, I did try "-t nfs" both with and without "-o=vers4". I appreciate your help, but you might as well have kept your unhelpful remarks to yourself.
I managed to solve this anyway, turned out my kernel version had updated, so the modules were not loaded, a reboot allowed me to use "sudo mount -t nfs omv:/export/shared /mnt/shared/"

Marking this as solved

Offline

#4 2019-07-08 16:31:50

seth
Member
Registered: 2012-09-03
Posts: 51,052

Re: [SOLVED] Not able to mount NFS share

Sorry if you feel offended, but in case that didn't come through: "believing" does not work with reality.
That's not an "unhelpful remark", that's an essential attitude to deal w/ problems in the real world.
These systems in particular are deterministic, you can actually think and check stuff to systematically solve problems. What you may or not believe is meaningless here.

Edit: rpcinfo -p omv

Last edited by seth (2019-07-08 16:33:40)

Offline

#5 2019-07-08 16:57:28

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [SOLVED] Not able to mount NFS share

You do have a good point, seth, but you could've gotten it across without bringing religion into it. That was unnecessary.

https://wiki.archlinux.org/index.php/Co … ial_topics


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB