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

NFS mount internal error

I have a server that I use for NFS share. 4 servers use it without a problem. I configured a new server and that can't mount. I get this error mount.nfs: internal error In the logfile of the client: nfs: server 192.168.1.100 not responding,…
0
votes
0 answers

Cannot run ctl on Linux for pNFS

I want to install pNFS server. I install ctl from source code. But when I run command ctl -u, the error below occur: /proc/fs/pnfs_block/ctl: No such file or directory I run linux 4.6, the ctl package downloads from the source…
Waveter
  • 564
  • 2
  • 6
  • 23
0
votes
1 answer

NFS drive full even though du says it's not

I am experiencing a very weird behaviour of my backup drive that I can neither explain nor get fixed. I have an external drive mounted via NFS. I regularly call rsync jobs that backup files from my server to that drive. In order to save space, I am…
fabee
  • 111
  • 4
0
votes
0 answers

Cannot access nfs share

On my Debian 8.4 system, I would like to run a postgres database. The data should reside on an NFS mounted folder. # cat /etc/fstab xxx.xxx.xxx.xxx:/volume1/srvPostgres on /var/lib/postgresql type nfs…
Atmocreations
  • 179
  • 3
  • 10
0
votes
1 answer

Not able to mount shared drive on server A to server B

I am not able to mount a drive that is located on server A to server B. I have followed this document step by step just replacing portmap to rpcbind as the system installed rpcbind instead of portmap. I am getting the below exception when I try to…
0
votes
2 answers

Open the folder as another user in Debian

I have logged to my debian as root using ssh. Than I have mounted some foler from my NAS using mount -t nfs 192.168.1.222:/nfs /media/nfs. Now I can access all subfolders. Exept /media/nfs/somefolder, bacause this folder available only for admin,…
A_buddy
  • 35
  • 2
  • 11
0
votes
1 answer

NFSv4 with Kerberos - idmap stops working after ~35 minutes

All machines are running CentOS 6.5. We have about 85 client machines doing a Kerberized NFSv4 mount (sec=krb5p) to a server. This weekend, the server was changed (serverA changed to serverB). Everything appears to work, except, on one a few…
Matt
  • 1,047
  • 2
  • 14
  • 20
0
votes
2 answers

NFS mount in Windows - can't copy files with 600 permissions

I have a Netapp with some NFS exports for VMware storage. I want to mount the snapshots on a Windows 2012 R2 server in order to copy all of the virtual machine files to tape. I can mount the share just fine, but I can only copy some of the files. …
Charles Burge
  • 768
  • 6
  • 16
0
votes
1 answer

Disabling shadow copies on a NFS share folder

I want to disable shadow copies being created on a specific Windows NFS share folder which is being used by an ESXi 6 server for virtual machine backups (via xsibackup). The reason for wanting to do this is because the VM backups are being handled…
James White
  • 674
  • 3
  • 18
  • 32
0
votes
1 answer

OS X 10.10 hard-coded absolute paths to network home directory

We have our users home directories on NFS servers. In the past, when we used 10.7, this was just a little problematic... every now and then, either from someone logging in at two different machines at the same time or "just because", mail or…
John Oliver
  • 129
  • 1
  • 4
0
votes
0 answers

How slow can be a QCOW2 vm disk (proxmox/KVM) over NFS (dedicated 1Gbit)?

I'm running 3 proxmox 3.4 nodes using NFS shared storage with a dedicated 1GB network switch. root@lnxvt10:~# pveversion pve-manager/3.4-11/6502936f (running kernel: 2.6.32-43-pve) root@lnxvt10:~# mount | grep…
sgargel
  • 190
  • 1
  • 15
0
votes
0 answers

Wrong permission when accessing ZFS snapshot over NFS (Solaris server, Ubuntu client)

TL;DR: I don't understand why I can access one file but not an other (in the same directory), although they appear to have identical permissions. I have an NFS server running Solaris 10 10/08 and a client on Ubuntu 12.04. I mount a ZFS snapshot…
Pavel
  • 1,038
  • 1
  • 11
  • 30
0
votes
0 answers

NFS on Ubuntu Server 14 LTS with iptables

I have a virtual server with Ubuntu Server 14 LTS. The provider has offered me NFS storage which I wanted to mount on the virtual server: mount -t nfs 192.0.2.4:/space /mnt/nfs However, I cannot mount it unless I completely disable iptables. My…
andreas
  • 221
  • 1
  • 4
  • 11
0
votes
2 answers

Cannot start NFS: Not starting NFS kernel daemon: no support in current kernel

I installed NFS on a new Debian7 install. I did: apt-get install nfs-kernel-server add folder to share to /etc/exports: /home/share *(rw,sync,no_root_squash) service nfs-kernel-server start But after this I get this error: [warn] Not starting NFS…
brasileric
  • 111
  • 1
  • 2
0
votes
1 answer

NFS vs AFS cache validation

NFS clients revalidate cache blocks on access by evaluating T-Tc < t. If this fails it sends a getattr call to the NFS server asking for the last Tmodified stamp of the relevant file. AFS revalidates its cache files after a periodic time T, on open…
xrdty
  • 101
  • 1