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.

678 questions
280
votes
7 answers

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, missing codepage or helper program, or other error…
111
votes
6 answers

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 is busy", and via nautilus it crashes my current…
Produnis
  • 1,787
93
votes
5 answers

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 and samba would work in my situation, and as such…
Jacob Schoen
  • 5,285
76
votes
8 answers

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 am nowhere near a power user, so I'd prefer a GUI…
KYLE
  • 761
74
votes
12 answers

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 consider this a bug. The error message: cannot create…
41
votes
2 answers

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
  • 73,717
27
votes
2 answers

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 know how to do that in /etc/fstab so it does it…
21
votes
3 answers

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 make them static so i can use nfs without…
JaR
  • 888
20
votes
5 answers

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/exports. Administrator privileges will be…
17
votes
1 answer

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 >/dev/null && /home/vagrant/venv/bin/python manage.py…
17
votes
1 answer

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 looked for a Nautilus plugin and only found nfs-lan,…
17
votes
1 answer

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.04 always worked with: root@ub12box# mount -t cifs…
Bran
  • 795
  • 3
  • 10
  • 19
17
votes
4 answers

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: Cannot move file to trash, do you want to delete…
l0b0
  • 9,271
16
votes
1 answer

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 kernel and initramfs can be still over a IPv4…
moritz
  • 171
15
votes
3 answers

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 between computers in order to back things up. I…
1
2 3
45 46