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.

650 questions
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
  • 71,754
10
votes
1 answer

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 exist in ubuntu 12.04 How exactly do I configure NFS…
Chirag
  • 2,099
9
votes
2 answers

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.
7
votes
1 answer

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 not the owner of it! The owner is the default…
EmreA
  • 175
5
votes
2 answers

What's the difference between unfs3 and nfs-kernel-server?

I tried to install nfs using sudo apt-get install nfs-server (for the purpose of streaming audio files to a Mac running OS 10.6) and discovered that I have two packages to choose between. Package nfs-server is a virtual package provided by: …
senderle
  • 153
4
votes
1 answer

NFS4 + idmap, incorrect user name mapping

I tried to follow the ubuntu nfs4 documentation as closely as possible. My client machine is showing incorrect file ownerships. This is my idmapd.conf file on both machines: [General] Verbosity = 0 Pipefs-Directory = /run/rpc_pipefs Domain =…
demersus
  • 143
4
votes
1 answer

Set Static Ports for NFS v3 on Ubuntu 20.x Server

I'm trying to use NFSv3 on Ubuntu 20.x Server and need to set static ports to use UFW. Unfortunately Windows 10 which needs to connect to this server only supports NFSv3 so leaving just port 2049 open is not enough. I have tried to add ports to the…
Dmitry
  • 81
3
votes
1 answer

How to restart mountd without rebooting the machine?

I am setting up a NFS file server, and I have edited the file at /etc/default/nfs-kernel-server so that mountd is set to a defined port, rather than a random one. I tried sudo service nfs-kernel-server restart and sudo service nfs-mountd restart but…
3
votes
1 answer

NFS Share - trying to mount my Synology 1511+ NAS

I am running ubuntu 10.10 64 bit on my mac mini. After installing nfs-common, and attempting to mount using mount -t nfs4 -o proto=tcp,port=2049 192.168.1.139:/volume1/magneto/ ./test I keep getting this error: mount.nfs4: mounting…
Jason
  • 173
3
votes
2 answers

Port 111/tcp open and rpcbind running on NFS server but invisible on NFS client

I am setting up an NFS sevrer on ubuntu 12.04 LTS server. Running nmap SERVER-IP on the sever gives me: PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 2049/tcp open nfs which seems to indicate the NFS server runs But on the…
user166754
  • 31
  • 1
  • 1
  • 2
3
votes
0 answers

Seem /etc/exports can only export one directoy

on the nfsserver (called ubuntu) the /etc/exports contains /media/ext 192.160.1.0/24(rw) /home/file 192.160.1.0/24(rw) On the client machine sudo mount -t nfs ubuntu:/home/file /mnt was executed, however when executed ls /mnt, the contents were…
2
votes
1 answer

nfs really slow on one specific client

I have a fileserver in my network, with the storage accessible via NFS. From one particular client machine, reading from this NFS share is really slow. Or rather, it stops all the time. The pattern goes like: Copy really fast for like 2…
2
votes
3 answers

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 power outage over the weekend and this can be…
Jorge Castro
  • 71,754
2
votes
1 answer

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 have looked all over online, and the fixes do not…
2
votes
1 answer

How to ensure local filesystems are mounted before NFS server starts?

I have a simple Ubuntu 20.04 home server sharing a directory by NFS. The directory being shared is contained on a local filesystem, but not the root filesystem. Sometimes on boot the NFS server starts before the mount is ready, and so the NFS…
pauldoo
  • 313
1
2 3