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 ...

learn more… | top users | synonyms

38
votes
7answers
10k 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 ...
25
votes
7answers
17k 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 ...
18
votes
2answers
407 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: ...
18
votes
8answers
10k 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 ...
17
votes
9answers
15k 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 ...
16
votes
3answers
90k 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, ...
15
votes
5answers
22k 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 ...
15
votes
1answer
10k 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 ...
14
votes
5answers
981 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 ...
13
votes
7answers
13k 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 ...
11
votes
3answers
7k 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 ...
10
votes
9answers
19k views

What is the “real” difference between a NAS and NFS? Or, why pick a NAS device over “mere” NFS? [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 ...
10
votes
4answers
46k 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?
10
votes
6answers
25k 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 ...
10
votes
6answers
35k 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 ...
10
votes
1answer
6k 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 ...
10
votes
1answer
3k views

NFS v3 versus v4

I am wondering why NFS v4 would be so much faster than NFS v3 and if there are any parameters on v3 that could be tweaked. I mount a file system sudo mount -o ...
9
votes
5answers
5k views

Best filesystem choices for NFS storing VMware disk images

Currently we use an iSCSI SAN as storage for several VMware ESXi servers. I am investigating the use of an NFS target on a Linux server for additional virtual machines. I am also open to the idea of ...
9
votes
7answers
9k 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 ...
9
votes
0answers
1k views

What causes repeated linux NFS client side RPC credential refreshing?

Using nfsstat -c, I'm seeing a high "authrefrsh" (known as "newcred" on some systems) count on my NFS client pc for operations like ls and find on directories containing ~1000 files. This correlates ...
8
votes
3answers
12k views

.nfsXXXX files appearing, what are those?

We have an application running (on RHEL5), streaming data onto an NFS share. Recently we saw a lot of .nfsXXXX... (xxx being a hexadecimal number) appearing in its working directory, where the ...
8
votes
1answer
49k views

How do you mount an NFS Share in Windows 7?

I have FreeNAS exposing an NFS. How do I access this from Windows 7? I have enabled the "Services for NFS" within Windows Features.
8
votes
2answers
9k views

Linux NFS create mask and force user equivalent

I have two Linux servers: fileserver Debian 5.0.3 (2.6.26-2-686) Samba version 3.4.2 apache Ubuntu 10.04 LTS (2.6.32-23-generic) Apache 2.2.14 I have a number of Samba shares on fileserver so that ...
8
votes
3answers
2k views

Fault-tolerant NFS?

Probably a FAQ but I haven't found anything useful after a while of searching: Can I set up NFS in such a way that every single error (e.g. server CPU, hard disk, hd controller, network adapter, ...
8
votes
3answers
2k 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: ...
8
votes
1answer
3k 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 ...
8
votes
1answer
1k views

high load average, high wait, dmesg raid error messages (debian nfs server)

Debian 6 on HP proliant (2 CPU) with raid (2*1.5T RAID1 + 2*2T RAID1 joined RAID0 to make 3.5T) running mainly nfs & imapd (plus samba for windows share & local www for previewing web pages); ...
8
votes
1answer
1k views

NFS (with Kerberos) mount failing due to “Server not found in Kerberos database” error

When running: sudo mount -t nfs4 -o sec=krb5 sol.domain.com:/ /mnt I get this error on the client: mount.nfs4: access denied by server while mounting sol.domain.com:/ And on the server syslogs I ...
7
votes
6answers
4k views

How should I copy my VM templates between vSphere datacenters?

Background/Environment Architecture: My current environment for $corp_overlords$ is set up in a hub-and-spoke model with a technologically well-endowed home office hub (SAN, bladecenter/bladesystem ...
7
votes
9answers
2k views

Geographically distributed file system with preferred locality

I'm building a application that needs to distribute a standard file server across a few sites over a WAN. Basically, each site needs to write a lot of misc files of varying size (some in the 100s MB ...
7
votes
4answers
18k views

Maximum Number of Files in a Single Directory for Netapp NFS mounts on Linux

On an older Linux box I have, there is an NFS mount of a Netapp. Once there are 100k files in a single directory on this box, files can no longer be written. Anyone know what might be causing this? ...
7
votes
4answers
766 views

Securing NFS against SSH tunneling

I was idly reading http://nfs.sourceforge.net/nfs-howto/ar01s06.html trying to understand why localhost exports were bad when I got to the section "6.4. Tunneling NFS Through SSH". Everything in that ...
7
votes
5answers
9k 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?
7
votes
2answers
3k views

Troubleshooting strategy for very poor iSCSI/NFS performance

We have a new Synology RS3412RPxs that offers iSCSI targets to three Windows 2008 R2 boxes and NFS to one OpenBSD 5.0 box. Logging into the RS3412 with ssh and reading/writing both small files and ...
7
votes
4answers
3k views

Good NFS configuration for Small Network (NFS Performance Issues)

I have a small LAN that has a couple of Linux boxes (Ubuntu 9.10) with NFS shares on them. The boxes are networked with a consumer grade Netgear router (model WGR614V9) and using wired connections. ...
7
votes
1answer
453 views

How to reference an NFS share by UUID in the client's /etc/fstab

I have the following NFS export on my server, with fsid set to a newly generated UUID. /etc/exports: /mnt/data client(ro,fsid=b07f5af6-6b10-11e3-b4c1-00248115724d) I would then run exportfs -rav ...
7
votes
1answer
907 views

NFS performance woes on Debian

I am having very inconsistent performance with NFS between two wheezy machines, and I can't seem to nail it down. Setup: Machine 1 'video1': Dual 5506 w/12GB ram, XFS on 8x3TB RAID6 exported as ...
7
votes
3answers
935 views

The best way to share a file uploads directory across horizontally scaling web servers

I'm currently trying to spec up a horizontally scalable cluster for a drupal based web app, that looks something like the colorful diagram below: The load balancer implements sticky sessions, so a ...
7
votes
3answers
431 views

Permissions are not taking effect with Kerberised NFSv4 on FreeBSD

I'm currently trying to set up an NFSv4 server on FreeBSD. I have extensive experience with doing this on other Unices (Solaris and Linux), but I'm fairly new to FreeBSD. My goal is to achieve the ...
6
votes
8answers
470 views

Term for a _____ of servers whose network shares are distinct from another _____ of servers [closed]

I'm looking for a term for use in documentation, and felt that SF users would have the more experienced set of terminologies compared to other sites. At work there are development servers in the ...
6
votes
5answers
869 views

Networked filesystem with user level security for linux

I want to enable file sharing between servers and clients, both linux. I don't want to rely on machine trust like in NFSv4 because client users will have root privileges. What are my options besides ...
6
votes
7answers
11k views

What can I do to optimize NFS copy speed on a 1GBit home network? [closed]

I have a home network with a 1 GBit/sec switch as the central point, and all computers with 1 GBit/sec NIC's. However, I get at most 200 MBit/sec copy speeds over NFS shares. It seems I should be ...
6
votes
1answer
597 views

Vagrant NFS share doesn't show updated file if size doesn't change

When mounting /vagrant over NFS, a changed file on the host is not refresh on the guest if the size doesn't changes. Quick update/typo are not immediately reflected unless I make enough modification ...
6
votes
7answers
9k 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 ...
6
votes
2answers
5k views

How to allow writing to a mounted NFS partition

How do you allow a specific user permission to write to an NFS partition? I've mounted an NFS share on my localhost (a Fedora install), and I can read and write as root, but I'm unable to write as ...
6
votes
2answers
2k views

Getting ZFS per dataset IO statistics (or NFS per export IO statistics)

Where do I find statistics about how IO is divided between zfs datasets? (zpool iostat only tells me how much IO a pool is experiencing.) All the relevant datasets are used through NFS, so I'd be ...
6
votes
3answers
3k views

Combined NFS, Samba server w users from Active Directory

I want to build a server that exports user home directories over SMB/CIFS and NFS. This server would be joined to a Win2k3 AD domain controller that holds our user database. As I understand it, ...
6
votes
1answer
3k views

Windows NFS Performance vs Windows File Sharing?

Has anyone set up NFS where both the server and the clients are all Windows? I am wondering: How Does Performance Compare to using builtin Windows file sharing (CIFS/SMB)? Can clients mount NFS ...
6
votes
2answers
3k 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 ...
6
votes
2answers
1k views

Mac OS X client crashes while mounting and writing to Linux server via NFSv4

We are a Linux shop with about 30 Macs to support. We have our Leopard and Snow Leopard systems set up with LDAP authentication and automounted NFSv3 home directories so our staff have the same login ...