Mounting failed, reason given by server: No such file or directory

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Mounting failed, reason given by server: No such file or directory

Post by /RaspberryPi »


Hi,

I have the following fstab file which was working fine till a few days ago, when there was a power outage - the IP address of my raspberry pi has changed but not of my NAS below

Fstab file:

Code: Select all

proc /proc proc defaults 0 0 PARTUUID=bd1fc058-01 /boot vfat defaults,flush 0 2 PARTUUID=bd1fc058-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that 192.168.0.166:/Public/Movies /home/pi/Movies nfs defaults,noatime,nofail,noexec,nodev,nosuid,_netdev,x-systemd.automount,vers=4.0 0 0 192.168.0.166:/Public/tv /home/pi/TVShows nfs defaults,noatime,nofail,noexec,nodev,nosuid,_netdev,x-systemd.automount,vers=4.0 0 0 192.168.0.166:/Public/drone /home/pi/drone nfs defaults,noatime,nofail,noexec,nodev,nosuid,_netdev,x-systemd.automount,vers=4.0 0 0 192.168.0.166:/Public/Backup /home/pi/Backup nfs defaults,noatime,nofail,noexec,nodev,nosuid,_netdev,x-systemd.automount,vers=4.0 0 0 Error message being received is:

mount.nfs: mounting 192.168.0.166:/Public/Movies failed, reason given by server: No such file or directory
mount.nfs: mounting 192.168.0.166:/Public/tv failed, reason given by server: No such file or directory
mount.nfs: mounting 192.168.0.166:/Public/drone failed, reason given by server: No such file or directory
mount.nfs: mounting 192.168.0.166:/Public/Backup failed, reason given by server: No such file or directory

Any help appreciated as I'm not that much of a technical person but can follow instructions well enough.

Thanks
submitted by /u/deathgnome123
[link] [comments]

Source: https://www.reddit.com/r/raspberry_pi/c ... r_no_such/
/RaspberryPi
Post Reply

Return to “Raspberry Pi Forum”