Questions tagged [nfs]

Network File System (NFS) is a network file system protocol originally developed by Sun Micro systems in 1984, allowing a user on a client computer to access files over a network in a manner similar to how local storage is accessed. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system. The Network File System is an open standard defined in RFCs.

Filter by
Sorted by
Tagged with
105 votes
8 answers
692k views

Which ports do I need to open in the firewall to use NFS?

I'm running Ubuntu 11.10 - setting up NFS to share a directory among many other servers. Which ports are required to be opened on the firewall?
  • 1,163
73 votes
5 answers
496k views

How to properly set permissions for NFS folder? Permission denied on mounting end.

I'm trying to connect to an NFS folder on my dev server. The owner of the folder on the dev server is darren and group darren. When I export and mount it to my Mac using the Disk Utility it mounts, ...
  • 957
57 votes
4 answers
311k views

Mapping UID and GID of local user to the mounted NFS share

I have a server with NFSv4. I am mounting contents of the home folder of remote user to local host. Able to read and write contents, but when I am checking ownership of files at the mounted volume ...
  • 673
48 votes
3 answers
85k views

.nfsXXXX files appearing, what are those?

I have an application running (on RHEL5) that streams data onto an NFS share. Recently, I saw a lot of .nfsXXXX... (xxx being a hexadecimal number) appearing in its working directory, where the ...
  • 2,398
46 votes
7 answers
53k views

Why rsync is faster than NFS?

Few days ago I noticed something rather odd (at least for me). I ran rsync copying the same data and deleting it afterwards to NFS mount, called /nfs_mount/TEST. This /nfs_mount/TEST is hosted/...
  • 2,235
45 votes
2 answers
142k views

chown on a mounted NFS partition gives "Operation not permitted"

I have a remote partition that i have mounted locally using NFS. 'mount' gives 192.168.3.1:/mnt/storage-pools/ on /pools type nfs (rw,addr=192.168.3.1) On the server i have in exports: /mnt/...
  • 1,401
44 votes
7 answers
16k views

Troubleshooting latency spikes on ESXi NFS datastores

I'm experiencing fsync latencies of around five seconds on NFS datastores in ESXi, triggered by certain VMs. I suspect this might be caused by VMs using NCQ/TCQ, as this does not happen with virtual ...
  • 591
39 votes
1 answer
120k views

unable to write to mount point (nfs-server), getting "Permission denied"

I'm trying to configure NFS between two RHEL7 nodes: first node: [root@ip-10-164-175-246 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-164-175-246 ~]# ...
  • 12.8k
38 votes
6 answers
146k views

Are there any free NFS clients for Windows 7?

I have Windows 7 Professional, but the NFS Client for Windows is only included in the Enterprise and Ultimate editions. I would like to connect some Windows machines to our NFS server so I can drop ...
37 votes
10 answers
67k views

Unmount a nfs mount where the nfs server has disappeared

Server A used to be a NFS server. Server B was mounting an export of that. Everything was fine. Then A died. Just switched off. Gone. Vanished. However that folder is still mounted on B. I obviously ...
  • 30.9k
35 votes
10 answers
69k views

Is it feasible to have home folder hosted with NFS?

I'm planning to deploy some kiosk computers and would like to leave them with a small pendrive as boot disk, keeping the rest at an easy to back up server, ala LTSP. Right now I'm pondering two ...
  • 718
34 votes
4 answers
45k views

What are the advantages/disadvantages of hard versus soft mounts in UNIX?

This question may vary between distros but, in general, what are the advantages/disadvantages of using a hard or soft mount in the UNIX world? Are there certain situations where one is more ...
  • 1,505
31 votes
1 answer
52k views

NAS Performance: NFS vs Samba vs GlusterFS

I am planning my new shared storage infrastructure for a small webserver farm. Therefore i ran a lot of tests with a lot of NAS filesystems. By doing so, i got some unexpected results and would like ...
28 votes
1 answer
19k views

Understanding NFS4 (Linux server)

I've been a bit bothered by NFS4 on Linux. Some information 'out there' seems to conflict with other information, and other information appears hard to find. So here are a couple of things that caught ...
  • 1,699
27 votes
1 answer
60k views

Measure & benchmark the speed & latency of file access on a mounted NFS share

I have a Linux Centos system that mounts some NFS shares, what technique can I use to measure the I/O speed/latency/rate when reading and writing files from that share? Could this technique also be ...
27 votes
5 answers
106k views

Why is an nfs server mounted as rw returning read only filesystem errors

I am working on a Ubuntu Server 64bit. I have mounted an nfs as rw, but whenever I try to edit anything on the mountpoint in question, I get a read-only filesystem error my etc/fstab reads: # <...
26 votes
4 answers
6k views

Is it reasonable to use NFS on a production web server?

Can NFS be reasonably used on production servers as a means of connecting a compute server to a storage server, assuming the connection is over a LAN 1Gbe or 10Gbe connection? There's obviously some ...
  • 371
26 votes
4 answers
34k views

NFS poor write performance

I have two machines connected with 10Gbit Ethernet. Let one of them be NFS server and another will be NFs client. Testing network speed over TCP with iperf shows ~9.8 Gbit/s throughput in both ...
  • 611
25 votes
7 answers
81k views

mount.nfs: access denied by server while mounting

On my Ubuntu system, I have this line in /etc/fstab: myserver:/home/me /mnt/me nfs rsize=8192,wsize=8192,timeo=14,intr When I do sudo mount -a I get: mount.nfs: access denied by server while ...
  • 2,235
23 votes
5 answers
61k views

Files mounted over NFSv4 are owned by 4294967294, UIDs and GIDs match

I have two identical linux machines (identical images launched in amazon EC2) and I am trying to mount an exported directory over NFSv4. Here is what the mounted directory looks like on the client ...
  • 914
23 votes
8 answers
21k views

Analyzing Linux NFS server performance

I'd like to do some analysis of our NFS server to help track down potential bottlenecks in our applications. The server is running SUSE Enterprise Linux 10. The kind of things I'm looking to know are:...
  • 12.1k
22 votes
4 answers
10k views

Systemd: start a unit after another unit REALLY starts

In my particular case I want to start remote-fs unit after all glusterfs completely starts. My systemd files: glusterfs target: node04:/usr/lib/systemd/system # cat glusterfsd.service [Unit] ...
  • 611
21 votes
1 answer
23k views

Mount NFS volume on Ubuntu Linux server from macOS client

I have an Ubuntu 20.04 server (a local VM in my case). How do I mount a directory on the Linux server from a macOS Catalina client, using NFS?
  • 2,838
21 votes
3 answers
25k views

How do I forcibly unmount when I'm getting stale nfs file handles?

Got myself into a tricky situation. Have aufs mounted at /mnt/1 aufs on /mnt/1 type aufs (rw,relatime,si=daab1cec23213eea) I can't unmount the thing: sudo umount -f /mnt/1 umount2: Stale NFS file ...
  • 1,086
20 votes
5 answers
40k views

exportfs: Warning: /home/user/share does not support NFS export

'exportfs -r' returns me this error when I'm trying to export /home/user/share (ext4): exportfs: Warning: /home/user/share does not support NFS export. /etc/exports: /home/user/share 192.168.1....
  • 209
19 votes
2 answers
6k views

Does NFS and SMB support sparse files?

This question was previously asked in stack overflow but the good folks there have recommended that i try the community over here instead. I am researching on sparse files with regards to various ...
  • 303
18 votes
4 answers
52k views

File locks on an NFS?

My server uses NFS (Network File System), and I'm unable to use PHP's flock() -function. Is there a way to lock files on an NFS or is there a need to do so?
  • 367
18 votes
4 answers
107k views

"Stale NFS file handle" after reboot

On the server node, it is possible to access an exported folder. However, after reboots (both server and client), the folder is no longer accessible from the clients. On server # ls /data Folder1 ...
  • 982
18 votes
7 answers
35k views

Slow NFS transfer performance of small files

I'm using Openfiler 2.3 on an HP ML370 G5, Smart Array P400, SAS disks combined using RAID 1+0. I set up an NFS share from ext3 partition using Openfiler's web based configuration, and I succeeded to ...
  • 1,623
18 votes
2 answers
502 views

An unknown tool is wiping our Virtual Machines and we can't ID it

A console view of a Windows 2008 R2 VM, on vSphere is showing the following screen: "Operation 2 of 2" "Wiping disk" Can someone advise on what this program is? Some information on this mystery: A ...
  • 1,055
16 votes
9 answers
83k views

Why pick a NAS over a "normal" NFS share? [duplicate]

From an end-user perspective, what is the difference between a NAS device and using NFS exports from a file server? They seem to accomplish the same end result. The difference between a SAN and ...
  • 18.1k
16 votes
4 answers
28k views

Tuning NFS for minimum latency

How can I achieve low latency for NFS exports in order to e.g. have developers work nicely in Eclipse/Visual Studio with their workspaces mounted over NFS?
16 votes
1 answer
26k views

NFSv4 User Mapping

This question seems to have been asked many times already, but the other answers somehow did not apply to me. Basically I just set up a new NFSv4 server and I am facing the classic problem where UIDs ...
  • 397
15 votes
5 answers
1k views

Choosing a SAN technology for 100s of VM Web Servers

The Problem We have an issue with performance on an existing platform, so I'm turning to the hive mind for a second opinion on this. The performance issue so far relates to IOPS rather than ...
  • 3,205
15 votes
1 answer
10k views

What is the difference between Ceph and NFS when it comes to shared file storage?

Can someone explain to me what is Ceph compared to NFS? From a shared file storage perspective? What is the added value of using Ceph instead of NFS?
  • 2,010
15 votes
3 answers
8k views

NFS with encrypted ubuntu home directory

I am having trouble getting NFS setup on with vagrant: On my local machine I have installed NFS: apt-get install nfs-common nfs-kernel-server And in my Vagrantfile set it to be used: config.vm....
user avatar
15 votes
4 answers
73k views

mount.nfs: an incorrect mount option was specified

I'm trying to mount an NFS volume on a centos 7.2 server: When I try to mount the NFS share point, this is the response I get back: [root@web1:~] #mount -t nfs nfs1.example.com:/var/nfs/home /home ...
  • 287
14 votes
2 answers
130k views

fstab entry to mount NFS with password

i need mount at boot a disk using NFS, to mount manually from console i type: mount //192.168.0.1/NASShare -o username=administrator,password=pass /mnt/NAS To /etc/fstab i added this line: 192.168....
  • 955
14 votes
1 answer
11k views

How does NFS read cache work on Debian?

I am planning to use NFS to serve out many small files. They will be read very often so client side caching is crucial. Does NFS handle this? Is there a way to increase the client side caching in some ...
  • 1,385
14 votes
2 answers
3k views

How to setup an NFS server that caches a network share?

User data is stored on two fairly large (>1 PB) OpenStack Swift storage clusters. Let them be Cluster A and Cluster B. In addition, there are several PoPs that need to interact with that data. ...
13 votes
5 answers
31k views

Mounting a file system over the internet

I built a web application that runs on a virtual server for one of my customers. It includes the facility for them to upload files, but they now want to store those files on a server in their office. ...
13 votes
2 answers
28k views

NFS I/O monitoring

I have a NFS mounted directory, and I'd like to monitor the I/O usage on it (MB/s reads and writes). What's the recommended way to do that ? This is the NFS client, I don't have access to the NFS ...
  • 145
13 votes
2 answers
9k views

Win10 NFS Client a SAMBA Killer?

We finally got the last of our recalcitrant Windows 7 users to Windows 10 thanks to MS' recent withdrawal of support from the former, so the entire enterprise now is either Ubuntu 18.04 or Windows 10. ...
  • 288
13 votes
3 answers
26k views

NFS cache : file content not updated on client when modified on server

Here's my set up: One NFS Server machine (v4), several NFS client machines. When a client machine write files to the NFS mount, the other clients see the new content instantly : no problem. But, ...
13 votes
7 answers
113k views

Can't mount nfs volume - time out

I have an NFSv3 export from a Linux fileserver which used to mount fine. The fileserver had to go down for hardware maintenance. After bringing the server back up, the Linux client can no longer mount ...
  • 253
13 votes
2 answers
15k views

How to do client side NFS failover in Linux?

I have a CentOS 6.3 client that needs to access NFS storage. There are two NFS servers that serve up the same content stored on a SAN with a clustered filesystem. How do I set up CentOS to failover ...
  • 371
12 votes
8 answers
13k views

Tuning NFS client/server stack

I have a CentOS 5 VMWare server connecting to an OpenSolaris 2009.06 machine over NFS that holds the disk images. My virtual machines seem to be bound by slow IO so I'd like to do everything I can to ...
11 votes
6 answers
45k views

CentOS 6 + LDAP + NFS. File ownership is stuck on "nobody"

I've been trying to get LDAP authentication and NFS exported home directories on CentOS 6 working for a few days now. I've gotten to the point that I can now login to the client machine using the ...
  • 3,417
11 votes
4 answers
13k views

Read only bind-mount?

I use mount -o bind to mount directories inside chroots, which works really well. The problem is that I'd like some of these bind-mounted directories to be read only in chroot. Is it possible? If not ...
user avatar
11 votes
3 answers
13k views

nfs, execution denied

I have server (debian 6) machine (say, ip = 10.13.13.100) with nfs exports /etc/exports /path/to/my/shared/folder 10.13.13.0/24(rw,async,no_sub_tree_check,no_root_squash) There are two users on ...
  • 123

1
2 3 4 5
38