You are not logged in.
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
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
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
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
You do have a good point, seth, but you could've gotten it across without bringing religion into it. That was unnecessary.
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