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

CentOS 7 autofs wildcard mount not working

I've got a couple of CentOS 7 client machines authenticating against OpenLDAP right now. The next step is to get autofs working. Which I have, but my map loads all users at once. I'd like to avoid this. Assume I have two users user1 user2 They…
user316114
  • 111
  • 2
0
votes
3 answers

Zabbix NFS monitoring

How would you monitor response of mounted NFS directory with Zabbix? I'm thinking about something like $ time /bin/ls -U /path/to/nfs (I think the output from nfsstat(8) relates less with user experience.)
0
votes
2 answers

NFS mount point is not being accessible after stopping NFS service

I have shared a directory on my NFS server to another machine. I am successfully mounting the NFS Share and able to access. After few days, I was supposed to stop the NFS service on the NFS server due to server maintenance. But unfortunately I did…
0
votes
1 answer

SSIS 2014 - map NFS

We are migrating SSIS from SQL 2008 to SQL2014. Old OS: WINDOWS 2008 R2 SP1 New OS: WINDOWS 2012 R2 I use the Execute Process Task to map an NFS share to a drive. Executable: C:\Windows\System32\net.exe Arguments: use Q: :/vol/ When I execute…
Boeykes
  • 1
  • 1
0
votes
0 answers

Trouble automounting NFS share on Centos 7

I have a fresh install of Centos 7. I cannot seem to auto mount an NFS share located on 192.168.254.105:/srv/nfsshare from the Centos client. Mounting the share manually however, works perfectly. /etc/auto.master has been commented out completely…
steelmonkey
  • 11
  • 1
  • 3
0
votes
0 answers

How can I configure NFS (v3) lockd to work across multiple IP addresses?

Consider the following short program, where /nfsmount/merlin is an NFS-mounted directory. import java.io.*; import java.nio.channels.*; public class Main{ public static void main(String[] args) throws Exception { String evilFile =…
merlin2011
  • 273
  • 1
  • 12
0
votes
3 answers

How to migrate NFS server without affecting the service (Linux)

We have to migrate a Linux NFS server. We want to use the same production IP addresses. There is a bin/ shared folder and so many servers in production using it... All the data is already replicated. All the /etc/exports already…
uDalillu
  • 105
  • 3
0
votes
1 answer

How to share files/folders between users on same linux machine?

We have 2500+ users using linux thin clients with their home directory on a common NFS. We want Windows like file/folder sharing functionality between users. The users are not linked to any particular machine, hence there is no IP-user mapping. So…
0
votes
2 answers

Migrating NFS server (Linux)

We have a NFS server (Linux) who stores files in a iSCSI disk array. This server is in production. The server and the array are very old and have to be replaced soon (the array is already in serious problems). I have the replacement server and array…
uDalillu
  • 105
  • 3
0
votes
1 answer

How to disable Disable the stock Linux NFS server?

I need to install MAPR on three node cluster and it is asking to Disable the stock Linux NFS server on nodes that will run the MapR NFS server. i have found one help on internet and it says to Start / Stop / Restart NFS Service under RHEL / CentOS…
Vikas Hardia
  • 283
  • 6
  • 15
0
votes
0 answers

Backup strategy for LVM file sytem on NFS file server connected to SAN

I have setup a server (CentOS) on which I have connected to several LUNs from a SAN via iSCSI then multipath, resulting in multiple physical volumes I can use for LVM (dm1 ...). From the file server, I have then used these physical volumes to setup…
Vince
  • 371
  • 5
  • 17
0
votes
0 answers

apache-user access to NFS from Windows2012 to Centos7

I have mounted a NFS share from a Windows 2012 server to a Centos7 webserver I have. I want my webserver to create and read files from the NFS share. I had a similar solution on Windows 2008 and Centos6 earlier, but I'm struggling after upgrading…
diCo
  • 1
  • 1
0
votes
1 answer

Adding additional Storage domain NFS for ovirt 3.5

I wanted to add an additional storage domain for my ovirt setup, but my problem is that everytime I try to add the Data / NFS I get this error: 2015-09-23 16:07:46,752 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand]…
0
votes
1 answer

NAUbackup - Xenserver 6.5 Backup Solutions

Has anybody every successfully used NAUBackups for xenserver 6.5 and had their backups go to a SAN storage repository? I see the default script backs up to an NFS share but I am trying to avoid NFS as backup location. I only want backups to our…
jrd1989
  • 698
  • 15
  • 48
0
votes
1 answer

when to use NFS for web app

I am currently building a simple webapp architecture on AWS, as follow: Elastic Load Balancer - multiple front ends - RDS database. I have also set up an NFS server to store all images uploaded by users through the web app, such as profile pics…
Tom
  • 616
  • 8
  • 13
1 2 3
99
100