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.

Filter by
Sorted by
Tagged with
271 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, ...
Arseni Mourzenko's user avatar
108 votes
6 answers
326k 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 ...
Produnis's user avatar
  • 1,747
92 votes
5 answers
238k 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 ...
Jacob Schoen's user avatar
  • 5,035
74 votes
8 answers
519k 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 ...
KYLE's user avatar
  • 741
72 votes
11 answers
100k 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 ...
Tom Cumming's user avatar
41 votes
2 answers
42k 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?
Jorge Castro's user avatar
  • 71.7k
24 votes
2 answers
150k 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 ...
Nicholas Parmentier's user avatar
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/...
Timur Fayzrakhmanov's user avatar
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 ...
JaR's user avatar
  • 808
17 votes
1 answer
11k 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 >...
mr. Noobey's user avatar
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....
Bran's user avatar
  • 785
17 votes
1 answer
27k 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 ...
tudor -Reinstate Monica-'s user avatar
17 votes
4 answers
5k 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: ...
l0b0's user avatar
  • 8,819
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 ...
moritz's user avatar
  • 171
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,...
Alex's user avatar
  • 329
13 votes
2 answers
50k 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 ...
hans_meine's user avatar
13 votes
3 answers
21k 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 ...
HarlemSquirrel's user avatar
13 votes
2 answers
64k 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 ...
marsilea's user avatar
  • 133
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 ...
Oli's user avatar
  • 293k
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-...
nLinked's user avatar
  • 3,347
13 votes
2 answers
13k views

How can I setup an NFS share using a GUI?

Is there a GUI for selecting which folders are shared via NFS?
Phil Hannent's user avatar
  • 1,595
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 ...
CaptainPlanet's user avatar
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 ...
Chirag's user avatar
  • 2,099
9 votes
2 answers
34k 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.
bensin88's user avatar
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 ...
Juan Simón's user avatar
  • 1,703
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 ...
Jim's user avatar
  • 91
8 votes
2 answers
38k 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 /...
mindas's user avatar
  • 215
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: ...
Николай Емашев's user avatar
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 ...
Jorge Castro's user avatar
  • 71.7k
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 ...
Tim Post's user avatar
  • 832
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 ...
425nesp's user avatar
  • 220
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 ...
lpanebr's user avatar
  • 1,277
7 votes
1 answer
9k 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 ...
Nick T's user avatar
  • 2,483
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 ...
Boris's user avatar
  • 4,922
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 ...
EmreA's user avatar
  • 175
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 ...
Scott Rowley's user avatar
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 ...
zachrahan's user avatar
  • 131
7 votes
0 answers
656 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 ...
John Breedlove's user avatar
7 votes
3 answers
5k 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-...
user avatar
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 ...
zirodec's user avatar
  • 63
6 votes
3 answers
17k 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 ...
René Pieters's user avatar
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=...
meanderix's user avatar
  • 181
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,...
AyvenRedwing's user avatar
6 votes
1 answer
14k 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 ...
Peter Bell's user avatar
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 ...
SSH's user avatar
  • 2,821
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 ...
Marius Gedminas's user avatar
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 % ...
andreas's user avatar
  • 193
5 votes
7 answers
71k 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 ...
5 votes
2 answers
4k views

Mounting NFS synchronously on boot

I've added the following line to my /etc/fstab: server:/srv/homes /home nfs rsize=8192,wsize=8192,timeo=14,intr,hard,auto 0 0 As you can see, /home needs to be mounted during the boot or users won't ...
Mike Hordecki's user avatar
5 votes
2 answers
9k views

Issue Mounting NAS

I am trying to mount a NAS on one of my servers: htadmin@testing:~$ showmount -e 10.0.0.210 Export list for 10.0.0.210: /humanresources /Web /Usb /...
Andrew Rhyne's user avatar

1
2 3 4 5
13