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.
658
questions
273
votes
7
answers
1.1m
views
Why do I get "wrong fs type, bad option, bad superblock" error?
When mounting an NFS directory by doing:
sudo mount 192.168.1.5:/home/shared /mnt/common
I get the following error:
mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/home/shared, ...
109
votes
6
answers
335k
views
How to unmount NFS when server is gone?
I am mounting a NFS-folder from a server to my laptop.
Unfortunately, the server goes off sometimes... The problem is, that I cannot unmount the "dead" NFS-folder. On the command-line, I get "device ...
92
votes
5
answers
240k
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 ...
75
votes
8
answers
526k
views
How do I mount a CIFS share?
I'm using Ubuntu 11.10, and am trying to mount a freenas server. I have the server set to share in cifs and nfs with no luck.
I have tried smbmount //192.168.1.### /mnt/
I am not new to Ubuntu but ...
72
votes
11
answers
104k
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 ...
41
votes
2
answers
43k
views
How can I cache NFS shares on a local disk?
I use NFS to share media to computers around my house. Unfortunately one of the machines is on a slow wireless link, is there a way to cache network shares on the local disk for performance?
25
votes
2
answers
164k
views
How to configure a NFS mounting in fstab?
I have a NFS share folder on a FreeNas system. I'm able to mount this share and use it with this command:
mount -t nfs -o proto=tcp,port=2049 192.168.0.216:/mnt/HDD1
/media/freenas/
I just don't ...
20
votes
5
answers
19k
views
Vagrant Up and annoying NFS password asking
Sorry for the language mistakes I've made.
I'm trying to prevent vagrant asking the password when it mounts shared folders by NFS:
[server] Exporting NFS shared folders...
Preparing to edit /etc/...
18
votes
3
answers
40k
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 ...
17
votes
1
answer
12k
views
nfs error 'no locks available' after update to 16.10
I use vagrnat with virtualbox vm and nfs synced folders to run django app and after update to 16.10 vagrant up fails on provision step with error:
Executed: /bin/bash -l -c "cd /home/vagrant/proj >...
17
votes
1
answer
69k
views
Ubuntu 14.04 : How do you use mount.cifs, mount.nfs, they are not in the repositories any more?
In Ubuntu 12 LTS, I always used mount.cifs and mount.nfs
Now they are not in the Ubuntu 14.04 repository, so how do you use mount cifs and mount nfs or install them in 14?
Thanks
i.e.)
Ubuntu 12....
17
votes
1
answer
28k
views
How do I mount NFS through nautilus?
I have an NFS share that I need to connect to (for reasons of speed).
If I try to connect through Nautilus->Connect to Server, I get the error "This file server type is not recognised."
I have ...
17
votes
4
answers
6k
views
How to enable trash for NFS mounts?
The /home/users directory on my host is an NFS mount connected to a server which is not in my control. When deleting files in $HOME (/home/users/foo) with Nautilus I get the following message:
...
16
votes
1
answer
2k
views
Diskless Boot with IPv6
At our work we are using around 80 diskless machines running Ubuntu. We want to make the transition to IPv6, so now I'm trying to get our diskless system to work with IPV6. The transmission of the ...
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,...
13
votes
3
answers
51k
views
(Re)mount all network drives from fstab
From Gentoo, I remember a separate /etc/init.d entry for mounting network drives (i.e., separate from local drives). In Ubuntu, there is umountnfs.sh, which is used during shutdown (in order to ...
13
votes
3
answers
22k
views
SSH vs SMB vs NFS for GUI file transfer
I am using Ubuntu 12.04 on many computers at my school (I am a teacher and the head tech dude). I use Clonezilla to massively clone desktops and laptops. I want to easily share the disk images ...
13
votes
2
answers
65k
views
How can I get read/write access to NFS share of Synology NAS?
I have read access only to the mounted NFS share.
With 'no squash mapping' set on the NAS, Ubuntu regular user gets Permission denied when trying to cd into the share and can only get read access by ...
13
votes
2
answers
9k
views
How can I share an optical drive in a way that fools the client into thinking it's a local drive?
I'm in the frankly ludicrous situation where my desktop has two optical drives and my media centre has none (nor space for one). Before I consider something as extreme as buying an external optical ...
13
votes
1
answer
6k
views
How can I stop Gnome Shell's drive pop up notifications?
I have an NFS drive mapped in Ubuntu 11.10 using autofs which automatically mounts a drive on every boot. But if I use the Gnome Shell interface, a pop up notification keeps popping up from the bottom-...
13
votes
2
answers
14k
views
How can I setup an NFS share using a GUI?
Is there a GUI for selecting which folders are shared via NFS?
10
votes
8
answers
49k
views
How to mount a NFS share in Ubuntu 16.04?
I made a fresh install of Xubuntu 16.04 recently. Before I used 14.04 and mounted a a NFS share with the following line in the /etc/fstab
192.168.178.66:/media/user/drive /media/user/banana nfs rw 0 ...
10
votes
1
answer
36k
views
How to share folders using NFS?
http://ubuntuforums.org/showthread.php?t=249889
In the above link it is shown that I need to do
sudo apt-get install nfs-kernel-server nfs-common portmap
However a software called portmap doesnot ...
9
votes
2
answers
35k
views
One NFS server to multiple clients
How do I set up an NFS server to multiple clients?
I have set up an NFS server but it does only share to one client.
9
votes
4
answers
16k
views
Delete empty "lost+found" folder automatically if it's empty
Every certain amount of time, Ubuntu checks my filesystems and it creates several empty "lost+found" folders.
Can I disable this feature? Is there any way that Ubuntu deletes automatically these ...
9
votes
2
answers
7k
views
What happens to LDAP user authentication and NFS home directory shares when away from the network?
At present I have several machines on the home network which are a mixture of static desktops and laptops. Its getting unmanageable for me and impractical for all of them to have local home ...
8
votes
2
answers
39k
views
Cannot mount nfs4 share: no such file or directory
I am trying to get a basic nfs4 working between two machines (let's call them server and client). I have followed this manual by letter to no avail. Here's what I'm getting:
root@server#: tail -n 2 /...
8
votes
3
answers
18k
views
Configure mounting timeout at boot
On remotely rebooting a 12.04 machine I found it hanging at the "unable to mount soandso: Skip, Manual Abort? " (That's pretty much how I remember the message) The machine was basically stopped there ...
8
votes
3
answers
19k
views
In Ubuntu 16.04 not start rpcbind on boot
Service rpcbind not start normally on boot in Ubuntu 16.04
root@HZ-Saturn /etc/systemd # systemctl status rpc-statd.service
● rpc-statd.service - NFS status monitor for NFSv2/3 locking.
Loaded: ...
8
votes
3
answers
4k
views
Mounted NFS shares interrupting shutdown?
I use NFS to share media to all my files on my network. However in 10.10 when the share is mounted my machines cannot shutdown, they seem to sit there. When I don't mount the NFS shares the machines ...
8
votes
1
answer
2k
views
Going from a shared NFS /home to a full LDAP solution
I recently deployed about a dozen Ubuntu (Karmic) desktops in a small office. Everything was going great, but storage became an issue. I then moved /home to an NFS mount which solved the immediate ...
8
votes
3
answers
18k
views
ZFS on Linux: Setting up NFS on Ubuntu 14.04 with OS X Mavericks Client
I have a working zpool and dataset set on my home server. I want to setup NFS to access ZFS over my home network on my Mac.
On the Ubuntu side, I have...
# apt-get install nfs-kernel-server
# zfs ...
8
votes
1
answer
6k
views
How to make NFS mounts available while offline?
Problem:
I work on a notebook and while at work I have access to many NFS mounted drives. When I get home they are obviously not available.
Windows 7 solution:
My business partner uses Windows 7 ...
8
votes
3
answers
6k
views
Nautilus - Connect to Server (nfs)
I can't connect to NFS share using nautilus "Connect to server" in "Other Location". "Connect" button seems to be disabled. Didn't find any logs related to this.
Already tried apt install gvfs-...
7
votes
1
answer
10k
views
.nfs0000... files keep showing up and disappearing when using Mercurial
As of late, something seems to have happened on my machine that is more annoying than anything else: every time I look in a directory for Mercurial changes it tells me about two .nfs#### files that ...
7
votes
1
answer
3k
views
How to set an NFS network?
I want to merge information found here and there in order to record in one answer all steps to set my NFS network between my two Ubuntu PCs
This is useful time to time, for example when switching to ...
7
votes
5
answers
54k
views
unable to mount nfs on Ubuntu 22.04
I've installed Ubuntu 22.04 on a machine and I am trying to mount an NFS share which has no problems mounting on an array of other Linux Ubuntu machines (21.04, 20.04, 18.04, etc.).
The command we use ...
7
votes
1
answer
19k
views
NFS mounted directory owner problem
I am able to mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.
But, when I mount it, I am ...
7
votes
4
answers
27k
views
NFS Mount fails on startup
I have multiple Ubuntu servers, recently I've installed a few 11.04 servers (and 1 desktop) and I've just found that upon rebooting the nfs mounts will not mount.
I've tried upgrading nfs-common to ...
7
votes
5
answers
6k
views
How to ensure nfs-server is not started until it can resolve hostnames? (16.10)
Summary: Is there a way to make sure that the NFS server isn't started by systemd until it can properly resolve client machine names specified in /etc/exports?
Problem description:
I have found that ...
7
votes
0
answers
657
views
Empathy Chat: People Nearby text chat OK but file transfer fails. Why? How to troubleshoot? [closed]
Problem:
Chat works (sending text and smileys) with the "People Nearby" feature but sending files silently fails. Going to Contact > Send File presents the sender with a file chooser and no error is ...
6
votes
2
answers
1k
views
Is it safe to do symlinks for the entire machine?
I have a virtual machine with limited amount of storage which has become a problem. I have my home directory linked to NFS storage on a server and it has been functioning without a problem. But I now ...
6
votes
3
answers
5k
views
Using the fsc mount option with nfsroot kernel parameter to allow FS-cache
I'm PXE-booting a Ubuntu 10.10 system, where I specify the kernel parameters as follows:
append root=/dev/nfs initrd=ubuntu-boot/initrd.img-2.6.35-24-generic
nfsroot=11.22.33.44:/data/nfsroot,fsc ip=...
6
votes
1
answer
77k
views
how to get user permissions for nfs share?
The situation: I simply want to be able to access a Synology NAS from an Ubuntu Server with a non-root user.
On the NAS I have this in the exports-file:
/Directory <client-ip>/255.255.255.0(rw,...
6
votes
1
answer
15k
views
Placing $HOME directory on nfs server
I have a number of client machines, all running Ubuntu, and recently upgraded to 13.04. I also have a Slackware-based server which includes an nfs service.
What I am aiming to do is to have access ...
6
votes
3
answers
10k
views
Access denied error while mounting a shared folder?
I am a linux newbie and I have a very basic question. I have three machines -
machineA 10.108.24.132
machineB 10.108.24.133
machineC 10.108.24.134
and all those machines have Ubuntu 12.04 ...
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
2
answers
61k
views
File permissions on NFS mount show up as 'nobody' after upgrading to 14.04
I have an Ubuntu 12.04 server that exports a couple of filesystems over NFS.
server$ cat /etc/exports
/home 192.168.42.0/255.255.255.0(rw,anonuid=65534,anongid=65534,async,no_subtree_check)
/stuff ...
5
votes
2
answers
11k
views
Can't mount NFS share on Mac OS Big Sur shared from Ubuntu 21.04 - rpc.statd not running
I have set up a NFS share on a Ubuntu 21.04 VM, which I want to mount on a Mac OS Big Sur client.
The share lists fine, when checked with showmount, but the mount fails:
andi@iMac-Pro Projects % ...
5
votes
7
answers
72k
views
mount.nfs: access denied by server while mounting
I have a problem I have been googling for at least 6 hours 28 hours with no luck. Whenever I try to mount a directory I get the following error (verbose version at end):
mount.nfs: access denied by ...