Questions tagged [nfs]
Network file system protocol allowing a user on a client computer to access files over a network in a manner similar to how local storage is accessed.
652
questions
4
votes
1
answer
7k
views
mount.nfs: access denied by server while mounting synology NAS drive
My synology NAS will not let my ubuntu computer mount the shared NFS folder to a local folder for my plex server to read
[This is the error I get]
[Command]
sudo mount 192.168.0.27:/Volume1/Movies /...
5
votes
6
answers
14k
views
How can I make the nfs server support protocol version 2 in Ubuntu 17.10?
I have a linux embedded system that (when doing active development on it) mounts its root filesystem as an nfs share exported from my ubuntu box. So just to be extra clear: embedded linux is the nfs ...
5
votes
1
answer
3k
views
VLC Won't Open Files from NFS Share
I have an mkv file on a Synology DS220j mounted via NFS. If I right click the file and open with VLC it throws an error:
VLC is unable to open the MRL 'file:///nas
I have to copy it locally to the ...
0
votes
1
answer
41
views
Mount NFS doesnt work anymore after changing ip adres due VLAN
I have put my Synology NAS in a different VLAN then my computer. I changed the IP address in the etc/fstab file for the mounts. My Ubuntu pc is on 192.168.10.50 and my NAS is on 192.168.40.50. I can ...
0
votes
0
answers
41
views
EA App games on Steam don't work
I wanted to try ubuntu for a while, since i used arch also linux mint for maybe half a year by now, and wanted a bit of change.
Went to windows for a while to play Need for Speed Unbound and other EA ...
1
vote
1
answer
5k
views
Issue mounting NFS share with Ubuntu 22.04
I have a QNAP NAS with NFS shares on my LAN and am trying to mount them on my mostly vanilla Ubuntu 22.04 install.
Running showmount on the client shows the NFS shares:
~$ showmount -e nas.localdomain
...
0
votes
2
answers
2k
views
nfs client reconnect after interface change
I have nfs client on my laptop which mounts couple of partitions over nfs from a local server.
Everything works fine, but I have problems when switching from wifi to utp interface and vice versa.
So, ...
2
votes
4
answers
12k
views
How do I ensure an NFS share stays mounted?
I have a machine that mounts another machine's NFS share.
However the client machine boots up faster than the server, so it gets an error when trying to mount the NFS share from the server. I had a ...
3
votes
2
answers
11k
views
How to reset NFS client after interrupted connection?
I have two devices: a laptop with Ubuntu 20.04, and a Raspberry Pi 4 with Raspberry Pi OS.
Both of these have an identical version of nfs-kernel-server and setup on them.
Both of of these share some ...
0
votes
0
answers
30
views
22.04 autoinstall, air-gap environment. Failing to run nfs-kernel-server
Unlike most packages that successfully run after being installed in a chrooted environment while preparing Ubuntu 22.04 autoinstall images, nfs-kernel-server seems to be an exception. The package ...
-1
votes
0
answers
51
views
Can't access www-data directory as a root user on my nfs share
I have an nfs share mounted on my server, who acts as storage for my Nextcloud instance. As usual the directory is owned by the www-data user. After a restart of my docker containers, there were ...
3
votes
1
answer
153
views
sudo apt-get upgrade errors
I get the following errors when running the apt-get upgrade:
dpkg: error processing package nfs-common (--remove)
cannot remove /sbin/umount.nfs4: Bad message
E: Sub-process /usr/bin/dpkg returned an ...
0
votes
0
answers
41
views
NFS mounting including FQDN Fails
I'm running into a weird issue with mounting an NFS share on my 22.04.3 Ubuntu box.
When I try to mount the share using the server's FQDN like this:
sudo mount -t nfs nfsserver01.mydomain.com:/path/to/...
4
votes
2
answers
31k
views
Mounting and accessing Western Digital's MyCloud NAS
I have bought a Western Digital Mycloud disk. I did succeed to mount it under Lubuntu 13.10 by means of the following command:
sudo mount -o soft,intr,rsize=8192,wsize=8192
<IP address>:/nfs /...
0
votes
1
answer
236
views
Shutdown hangs for one minute while umounting NFS shares on kubuntu 22.04
I am running kubuntu 22.04 on two desktop machines. I have parts of the users' home directories mounted via NFS 3 (fstab with defaults). A few months ago I started encountering problems during ...
0
votes
0
answers
257
views
Mounting Synology NAS with NFSv4 in Ubuntu 22.04
I'd been using Debian for ages, but had hardware issues where certain devices (mostly audio devices) never worked. I switched to Ubuntu 22.04 recently and set up my user with the same uid and gid as ...
0
votes
0
answers
40
views
Ubuntu 22.04 - NFS fail to start due to missing depencies - systemd-networkd-wait-online.service and proc-fs-nfsd.mount fail to start as well [duplicate]
I'm trying to install NFS for my VPS server however it fails to start - it shows that is due to missing dependencies:
sudo systemctl status nfs-server
root@server:/# sudo systemctl status nfs-server
...
4
votes
2
answers
10k
views
Unable to access NFS share from Mac OS X
I am trying to use NFS to share an external drive mounted on an Ubuntu server with a Mac running OS X 10.9.5. I cannot access the mount point from the Mac.
The relevant line in /etc/exports is:
/mnt/...
14
votes
1
answer
21k
views
Why is NFS not allowing me to mount a share?
The Host
I have a host, running Ubuntu 12.04, at 10.0.0.202. It provides an NFS share for other machines on the network. Here is the contents of /etc/exports:
/media/storagedrive 10.0.0.0/24(rw,sync,...
2
votes
1
answer
6k
views
mount.nfs requested NFS Version or transport protocol not supported -- Ubuntu 18.04
I have nfs-common installed. I believe I have version 4 installed
Every time I try to mount the NFS it gives the same error
mount.nfs: requested NFS version or transport protocol is not supported
I ...
1
vote
1
answer
12k
views
"Unable to correct problems, you have held broken packages" while installing NFS server
I am trying to install an NFS server on my Ubuntu 12.04 machine but everytime it gives me an error like this:
david@machineA:~$ sudo apt-get install nfs-common nfs-kernel-server
Reading package ...
2
votes
2
answers
18k
views
mount.nfs: mount(2): Permission denied
I have a external harddrive mounted in /media/hdd and I want to share it with another client, specifically in the folder /mnt/archive. I want to save some files from the client into this harddrive
...
2
votes
2
answers
10k
views
Diskless with Ubuntu 12.04
I'm trying to setup a new diskless solution with ubuntu 12.04 without any success. I followed this Diskless Ubuntu HowTo
But the initramfs seems not to be able to mount my nfs share.
On my server ...
0
votes
2
answers
4k
views
NFS mounts not happening at boot in 18.04 or 18.10
I'm trying to set up a couple of NFS mounts to automatically mount at boot. I'm not new to this; I did this on Solaris in 1985.
Here's what I have in /etc/fstab:
iomega:/nfs/Music /music nfs rw,...
-1
votes
1
answer
79
views
Cannot boot due to nfs and gnome display manager
I recently updated to 22.04.3 and I'm having problems booting. The first error message I get is Failed to mount /mnt/nfs
This is followed by dependency failed for remote file system. Finally, failed ...
5
votes
2
answers
2k
views
"Files" application says "Unable to access location, mount point does not exist" when clicking on NFS server in "Other Locations"
I am on Ubuntu 20.04 LTS. I click on the "Files" application, and then I click on "Other Locations" at the bottom of the sidebar. Among other things, it shows an NFS server on my ...
0
votes
0
answers
152
views
RPI3/4 PXE boot ok with ubuntu 20.04 but failed on 22.04 due to missing /lib/systemd in initramfs
I'm experiencing difficulties with PXE boot on Ubuntu 22.04 and have been trying to resolve this issue for a year.
There are two main problems:
The first is a bug where NFS version 4 support has been ...
0
votes
4
answers
3k
views
rpi4 - Ubuntu 20.04.2 LTS - NFS drive not mounting on boot
I have been having an issue getting an NFS share to automatically mount on boot for a handful of rpi4's all running Ubuntu 20.04.2 LTS.
If I run a sudo mount -a the drive successfully mounts with no ...
0
votes
0
answers
44
views
Drive filled up after connection to NAS was broken
Version: Ubuntu 22.04.3 LTS
This has probably been covered before but I'm not sure what do call it to find it.
I use NFS in my fstab to connect my Synology to /media. My Synology went offline for a ...
2
votes
1
answer
4k
views
Systemd mount.nfs fails: Network is unreachable on Ubuntu 16.04
I've setup an NFS mount in the /etc/fstab file of an Ubuntu 16.04.6 machine.
The NFS fails at every boot, I noticed that when the Unity Greeter comes up the network icon on the top right of the screen ...
0
votes
1
answer
214
views
Ubuntu 22.04 NFS server timeout?
I use an Ubuntu NFS server. I have recently upgraded to Ubuntu 22.04 which only supports NFS over TCP. I am seeing the server close connections after 10 minutes, which my client is not handling ...
1
vote
1
answer
175
views
No Internet on Diskless Client - Ubuntu 22.04.3
So I have been working with PXE booting a diskless client using.
My setup includes TFTP, dnsmasq and an NFS share.
Using TFTP and dnsmasq I can do PXE booting. I prepared an OS and copied the rootfs ...
0
votes
0
answers
77
views
nfs client time out after apt upgrade updated nfs-common
I am running virtual ubuntu 20.04.6 LTS node in a virtual cluster and have three nfs shares , shared between all instances. All the other nodes run on CentOS stream, but this one contains two GV100 ...
1
vote
1
answer
841
views
How to install and configure pNFS on Ubuntu 20.04?
Does Ubuntu20.04 support pNFS Server(Data and MetaData) and Client side of pNFS?
If YES, Then How to install and configure it? Is there any comprehensive guide?
How to install and configure pNFS ...
-1
votes
1
answer
471
views
mount.nfs: Connection timed out error when trying to add and nfs drive to Ubuntu server
I am currently running Ubuntu 22.04.03 and i am trying to connect an NFS drive from a WD PR4100 nas.
The annoying thing - i had this all working yesterday, then today it just wont connect. I am using ...
1
vote
2
answers
718
views
Why doesn't overlayroot work properly with a net-booted NFS root on a RPi4?
This question has not generated much interest (and no solutions): this may because it is not just a question about Ubuntu and is also not sufficiently documented. I have therefore extensively ...
1
vote
0
answers
94
views
NFS mount issues on orangepizero3 ubuntu client
I have a NFS server running with a valid export.conf, 3 of 4 clients on the network are able to connect to this server without issue and can read / write.
the forth client (orangepizero3) is the ...
0
votes
0
answers
105
views
Restrict user to access other directory and file in NFS server
I have one NFS server which will share to mutiple NFS client. The requirment is isolate each cilent ,make sure they could not access other's file. But the problem is NFS export could not restrict that....
18
votes
3
answers
39k
views
nfs is blocked by ufw even though ports are opened
I've set up an nfsv4 server and it's working fine, however the firewall is blocking nfs even if port 2049 and 111 are open.
I know nfs uses some random ports that change at every boot, but how can i ...
0
votes
1
answer
987
views
mount.nfs: Resource temporarily unavailable : not mounting on client machine
I followed the steps outlined here: https://www.howtoforge.com/how-to-install-nfs-server-and-client-on-ubuntu-22-04/ :
In one Ubuntu 22.04 VPS (NFS SERVER):
installed nfs-kernel-server
root@k8s-eu-1-...
72
votes
11
answers
101k
views
Permission denied error when running apps installed as snap packages - Ubuntu 17.04
I get Permission denied error when running a snap application, where my home directory is mounted on an nfs mount point that does not allow root-write.
This is not an unusual configuration, so I ...
0
votes
1
answer
340
views
Diskless Booting - grub.cfg & NFS
I have used guide:-https://ubuntu.com/server/docs/install/netboot-amd64 to build PXE server and currently it is working.
I plan to build upon this and make an environment where diskless client is ...
0
votes
1
answer
105
views
How to access an NFS share from any computer in any network
Is it possible to specify a client host in the exports file in such a way that I can mount the NFS share from any computer in any network, or would I have to use something like openmediavault or ...
1
vote
1
answer
366
views
How do I increase the nfsd threads on boot?
using: Linux nfs-naw 5.15.0-86-generic #96-Ubuntu SMP Wed Sep 20 08:23:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I am running a nfs server on this machine. I have edited the file /etc/defaults/nfs-...
0
votes
0
answers
696
views
How To Enable NFS v2 on Ubuntu 22.04
Much like the following question:
How To Enable NFS v2 on Ubuntu 18.04
I want to enable nfs version 2 protocols for some uboot stuff which only supports version 2 of the NFS protocols. As far as I can ...
0
votes
0
answers
67
views
NFS on ReadyNAS: mount fails
I get this error message when trying to mount an exported NFS folder from a ReadyNAS:
root@computer:/home/tom# mount -t nfs 192.168.188.210:/TRANSFER /NAS/Transfer -vvvv
mount.nfs: timeout set for Tue ...
1
vote
1
answer
292
views
Mounting a Wester Digital MyBook returns mount error(22): invalid argument
I tried mounting my WD MyBook like this:
sudo mount.cifs //192.168.x.x /mnt -o guest
But I get the error:
mount error(22): Invalid argument
I tried the usual mount commands but eventually this ...
92
votes
5
answers
239k
views
Which to use NFS or Samba?
I am setting up a box to be a file server at the house. It will mainly be used to share music, pictures, movies with other linux boxes on the network, and one OS X machine. From what I have read NFS ...
0
votes
0
answers
220
views
XFS Inaccessibility - Can not open directory '.': Input/output error
In two VMs, the partition (LVM) those were mounted, currently went into an inaccessible state.
It's showing I/O error while trying to get inside the partition. Furthermore, it has been observed that ...
0
votes
1
answer
309
views
Can I boot a live ubuntu from WiFi?
Some years ago I tried disk-less setups where the host did not have a HD and booted from the net. At that moment it was via cable with an integrated card so the Bios could use it.
Today, I have a PC ...