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.

Original NFS version

The implementation details are defined in RFC 1094. Sun used version 1 only for in-house experimental purposes. When the development team added substantial changes to NFS version 1 and released it outside of Sun, they decided to release the new version as v2, so that version interoperation and RPC version fall back could be tested.

NFSv2

Version 2 of the protocol (defined in RFC 1094, March 1989) originally operated entirely over UDP. Its designers meant to keep the protocol stateless, with locking (for example) implemented outside of the core protocol. NFSv2 only allowed the first 2 GB of a file to be read.

NFSv3

Version 3 (RFC 1813, June 1995) added:

  • support for 64-bit file sizes and offsets, to handle files larger than 2 gigabytes (GB)
  • support for asynchronous writes on the server, to improve write performance
  • additional file attributes in many replies, to avoid the need to re-fetch them
  • a READDIRPLUS operation, to get file handles and attributes along with file names when scanning a directory
  • assorted other improvements.

At the time of introduction of Version 3, vendor support for TCP as a transport-layer protocol began increasing. While several vendors had already added support for NFS Version 2 with TCP as a transport, Sun Micro systems added support for TCP as a transport for NFS at the same time it added support for Version 3. Using TCP as a transport made using NFS over a WAN more feasible.

NFSv4

Version 4 (RFC 3010, December 2000; revised in RFC 3530, April 2003), influenced by AFS and CIFS, includes performance improvements, mandates strong security, and introduces a stateful protocol. Version 4 became the first version developed with the Internet Engineering Task Force (IETF) after Sun Micro systems handed over the development of the NFS protocols.

NFS version 4 minor version 1 (NFSv4.1) has been approved by the IETF and received an RFC number 5661 since Jan 2010. The NFSv4.1 specification aims:

  • To provide protocol support to take advantage of clustered server deployments including the ability to provide scalable parallel access to files distributed among multiple servers (pNFS extension).
  • to provide sessions and Exacely One Semantic (EOS)
1887 questions
0
votes
0 answers

Windows 2003 - Sharing an NFS mounted directory

In one Windows 2003 server there's an NFS NAS mounted as a network drive, this works ok, any application running on the server can access the NAS shared directories. Now, there's an application that must access files stored on the NAS but through…
leonardorame
  • 327
  • 3
  • 14
0
votes
1 answer

SMB/NFS Backend for SVN Server -- Permissions Errors

Ubuntu 16 Apache2 SVN 1.9.3 I created an SVN server and set the repo root to reside on an NFS mount (mounted with root). Users on other machines were able to connect to the repo and do a checkout but when they attempt to commit, they get a…
Copy Run Start
  • 734
  • 1
  • 9
  • 27
0
votes
1 answer

Patching RHEL 6 diskless

I am setting up a RHEL 6 diskless installation. It is working via PXE over nfs. However, I am concerned about patching. How do I patch the diskless image if it is just a collection of files representative of a RHEL 6 installation? For instance, if…
Engineer2021
  • 601
  • 8
  • 25
0
votes
1 answer

How do I mount an nfs export from the command line using the info of rpcinfo

I cannot mount a quite old (~2002) nfs server (axel) from a new Ubuntu 14.04. (exos): steier@exos:/home/steier> sudo mount -v -t nfs 10.0.0.10:/dataaxel /dataaxel mount.nfs: timeout set for Fri Jan 27 00:10:00 2017 mount.nfs: trying text-based…
0
votes
1 answer

nginx/phpfpm is giving older php file result

Server: ubuntu 14.04lts nginx(v1.10) server is showing older content when i have already changed the file,the changes are seen after 3-6 minutes. the document root directory is mounted from nfs share. the changes in the file is seen when i read/cat…
sherpaurgen
  • 616
  • 6
  • 10
  • 26
0
votes
1 answer

elastic search repo creation

I have configured elasticsearch with cluster and I have on nfs shared folder that mounted but when I try to create and repo path with this location I have faced some issues with permission error": { "root_cause": [ { …
ankit
  • 1
0
votes
1 answer

NFS share from Windows Server 2008 to AIX 6 client

Google doesn't brings up a solution for it! That's why we are asking. Maybe no one had this before? Q: How can we share a directory from a Windows Server 2008 via NFS to an AIX 6 client? (the two steps/howto needed: share NFS on WinServer side AND…
pepite
  • 111
  • 3
0
votes
1 answer

PHP or Nginx configuration settings in AWS Auto-Scaling group

I did all the changes to AWS EC2 machine for Nginx & settings up PHP values and tested everything and than baked the AMI so it can be launched under AWS auto-scaling group. All is good, but when developers or application rewrite requires sometimes…
Farmi
  • 379
  • 1
  • 4
  • 17
0
votes
1 answer

AWS - Unable to connect NFS instance

We have an auto-scaling group which spins up multiple instances as required. All instances in auto-scaling group take their data from separate EC2 instance (running NFS) so they can all share the same data. Following are the settings for NFS server…
Farmi
  • 379
  • 1
  • 4
  • 17
0
votes
1 answer

Proxmox marked as down on monitoring platform

I have 3 Proxmoxs (ve 4.1) setup in a Cluster. They had an NFS storage attached to them (synology cluster) with an active and a passive node. I decided to cut them out of the proxmox just after i have free them of any VM or backups,... Everything is…
Gorshok
  • 29
  • 11
0
votes
4 answers

Share a drive between networks with the same subnet

I have two networks that are physical separate and distinct. They both have the same subnet 192.168.1.0 netmask 255.255.255.0. I need to share a drive to both networks. My hosts are all Linux. setting two nics to the same subnet in one PC is…
hillsm
  • 9
  • 2
0
votes
1 answer

NFS headaches with FreeBSD 4.9

Once upon a time, this used to work, and I kept the configuration the same, but... now nothing. I'm just trying to get an NFS server set up on a FreeBSD 4.9 server. The process should be about as complicated as this: Add this entry to…
Ernie
  • 5,352
  • 6
  • 31
  • 37
0
votes
0 answers

mounted directory, can't edit file

I have mounted a folder with my other laptop and i would like to edit files created by admin@master which is the main server and admin@worker the mounted one. /shr is the mounted folder, both can see the same folder and same files, both can create…
kobbycoder
  • 151
  • 1
  • 9
0
votes
1 answer

NFS /sbin/init with Qemu without initrd

TL;DR : I try to tell my kernel on a Qemu machine to start /sbin/init from an NFS server but I have a kernel panic (not syncing: VFS: Unable to mount root fs on unknown-block(2,0)). I used the following command for that : kvm \ -netdev…
0
votes
1 answer

GlusterFS server logic

I quite don't understand about GlusterFS probes. See, i add all servers to /etc/hosts file and i do this for each server. Lets say i have 100 servers and later i added 100 more. I cannot imagine updating all 200 server's hosts file for see each…
xangr
  • 144
  • 4