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

NFS datastore on ESXi 4.1 breaks win2k8r2 host

I have an NFS server running on Win2k8R2 and an ESXi 4.1 host that uses NFS as a datastore for ghettoVCB backups. No server authentication; unmapped user access by uid/gid; vmkernel port with it's own ip. I can add the datastore and manipulate…
0
votes
1 answer

Simpler way to add eth0 support in initrd.img (Centos)

I am trying to deploy clone image via pxeboot on hard disk. For this I want to use dd tool. I am aware that there are few tools like fog and clonezilla which does similar thing but this is university project. Background: Currently I am deploying…
Kapil
  • 39
  • 1
  • 7
0
votes
1 answer

Scalability of multiple keytabs, Linux NFS client/server and Windows AD KDC

I have kerberized NFSv3 working with a generic Linux NFS server and multiple Linux clients with a Windows AD 2012 domain for the Kerberos Realm. Windows KDC requires that when you create a keytab for authentication to the NFS server you must map an…
Compendius
  • 21
  • 3
0
votes
0 answers

When do NFS mount major/minor device ids change?

I have a NFS folder mounted in /mnt/data: # mountpoint -d /mnt/data/ 0:25 When should I expect the major and minor device IDs to change? Reboot? Remount? Random? I know they did change at least once from 0:26 to 0:25, however I don't know what has…
splash
  • 1
0
votes
1 answer

How I can split config file to many files?

I have got config in /etc/exports. I want to see another file as a config too for it, for example /etc/my_exports. How I can do it? What I need to write in /etc/exports to see /etc/my_exports like continue of config file?
0
votes
0 answers

Can't start glusterd anymore - how to deinstall entirly and start from scratch?

I am new to glusterfs and have today installed v 3.7.2 on two Ubuntu 14.04 LTS VMs through ppa. Before I had it installed in version 3.4.2 which I purged. I also tried to compile it, but this failed. Now I can not start it anymore: sudo…
merlin
  • 2,093
  • 11
  • 39
  • 78
0
votes
0 answers

Windows Server 2012 R2 NIC Teaming NFS Share ESXi

Having some strange issues with NIC Teaming when using 2012 R2 NFS for an ESXi 5.5 Datastore. Firstly I teamed two Intel NIC's on a separate VLAN via a Gigabit switch to two Intel NIC's on ESXi and setup the teaming in vSphere. This worked OK and…
CharlesH
  • 344
  • 2
  • 13
0
votes
1 answer

NFS Server | Hung threads

We have four lpars each running 1 java instance each. They do a lot of read/write operations to a shared NFS server. When the NFS server goes down abruptly, all the threads that were trying to read a image in each of these four servers get into a…
0
votes
0 answers

Encrypted network share for multiple users

I have the following scenario: 100GB of data 5 users should be mounted on two different servers the servers are all running Ubuntu users are accessing/writing to it at the same time (not the same files) What are my options? I looked into ecryptfs…
mediocre
  • 221
  • 1
  • 3
  • 7
0
votes
2 answers

nfs, mounted loop devices

I'm usign a Debian server (Jessie) as an NFS server. All exported NFS-shares are mounted filesystems using loop devices. They are mounted in the fstab without any special options & the mountpoints are managed within a common root…
0
votes
2 answers

NFS stop working when on a lvm

I have a nfs server that was working correctly with a share on /exports/something. However, when I mount /exports/something on /dev/mapper/something (a lvm with more space) the nfs does not work. The nfs server is a centos7. The client of the nfs is…
jul
  • 1
  • 1
0
votes
2 answers

MySQL, NFS and symbolic links

I have been migrating an older server running apache2 + mysql under ubuntu to a new server running debian (wheezy). The migration works fine while the databases are storted localy (in our case /srv/mysql), but when i try to move them to our…
FrontSlash
  • 41
  • 1
  • 8
0
votes
1 answer

NFS client, ZFS Server ZoL: cat to changed file ends with not found

We get in trouble since an update from our clients from Ubuntu 12.04 to Ubuntu 14.04. The behavior: On client A I change an existing file foo on a nfs share. On client B I do a cat foo. 1st time after mounting it works. cat shows the content of foo.…
0
votes
2 answers

Suggested System Parameter Settings for Solaris 10 client doing heavy NFS access

I have a client that has an application that is heavily utilizing NFS filesystem access on a T2000 32GByte 1GHz-4core SPARC Solaris 10 system. The client wants to get better performance out of the box. The system has no parameter modifications (in…
mdpc
  • 11,856
  • 28
  • 53
  • 67
0
votes
1 answer

Wrong ldap user and group IDs on nfs

we have users authentication driven by ldap and home directories shared on nfs server mounted by autofs. We recently installed Ubuntu 15.04 on three new machines and added them to our infrastructure as we always did. One machine was configured by…
Alexander
  • 163
  • 1
  • 6
1 2 3
99
100