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

1
vote
0answers
1k views

automount stops working due to hanging mount.nfs processes that leave /etc/mtab~ lock file

I've got many automount entries in LDAP for mounting ~200 nodes between each other. Often, the automounter stops working. After debugging, I figured out that it can be fixed by running rm -f ...
14
votes
5answers
1k 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 ...
2
votes
3answers
1k views

NFS4 client within OpenVZ container running Ubuntu 11.10?

I have an Ubuntu 11.10 VPS running inside OPenVZ with a hosting company. I'm trying to get it to mount a remote NFS server using NFS4, but can only get it working using version 3. I've been Googling ...
3
votes
5answers
3k views

Would using SAS disks instead of SATA disks make sense over NFS for a VMWare datastore?

We are deciding whether to use SATA or SAS aggregates on our Filer for our VMWare datastore. We will be using NFS to connect the VMWare hosts to storage. Doesn't seem to make sense to use SAS disks ...
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 ...
0
votes
3answers
709 views

Best way to share storage between multiple computers

I need to provide shared storage for multiple application server nodes in a cluster in a Linux environment. In other words, each of the nodes in my cluster needs to be able to read/write files to a ...
5
votes
1answer
745 views

NFSv4 - ACLs not working

I've setup an NFSv4 server (Debian) and client (Ubuntu/Mythbuntu). It seems that uid username mapping is working nicely out-of-the-box (I get correct usernames on ls -l if the usernames match between ...
3
votes
1answer
4k views

NFS. Non-root mount requests

I'm trying to make my NFS server allow non-root mount requests. Server: Debian Squeeze, kernel 2.6.32-5-686 What I have now: root (or sudoes) can mount NFS file systems, but regular users can't. ...
11
votes
6answers
27k 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 ...
3
votes
2answers
364 views

Linux shared writable directory recursively

How can I make a directory recursively read/writable to a group of users? PROBLEM: This is a directory used by apache so access rights should be fairly strict. The only way I could make it ...
0
votes
1answer
2k views

NFS compound failed for server foosrv: error 7 (RPC: Authentication error)

I'm setting up an Ubuntu NFS server with a Solaris 10 client. The basic configuration looks okay to me, and it was also working for some time. I'm getting an "RPC: Authentication error" message on the ...
3
votes
0answers
854 views

how to tune NFS client on MacOS to get Linux like performance?

I have a NFS server running Linux and exporting a couple of shares. Both Linux and MacOS clients connect to the server, and while with the Linux clients I get ~ 75MB/s write speed, the MacOS clients ...
1
vote
2answers
1k views

NFS server + client : Recommended hardening / final touches

We have just setup a lovely little nfs share / client for the first time. a) The UID for files on the client side, is showing up as 4294967294 when listed via ls, but the client is able to create and ...
1
vote
1answer
473 views

NFS mounted userdir in httpd on CentOS

I am using httpd server on CentOS (with SELinux enabled). I want to use UserDir (public_html) If I create the user on local system it works but when I give the path on NFS shared system it gives 404 ...
9
votes
1answer
2k 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 ...
1
vote
1answer
850 views

LAMP server to AWS with HA and NFS

I am planning to use Amazon Web Service (AWS) to migrate my existing LAMP infrastructure to them. So I created a simple design of my system architecture with the following. *1 Elastic Load Balancer ...
1
vote
1answer
337 views

Why nfs transfer speed is slower than http?

Consider I have a large file on my nfs server. The server and my desktop is connected by 100mbps network. If I mount a directory on my desktop and then try to copy a big file to local fs I have speed ...
1
vote
5answers
1k views

Keeping Files Synced Across Two Servers

I have setup a web server running nginx and another server running php-fpm on Linode VMs. Nginx proxies all PHP requests off to the PHP backend and this works great. The problem, is that the actual ...
1
vote
1answer
890 views

Can I put /etc/passwd, /etc/group and /etc/shadow on an NFS share?

OK, this may be a dumb question but I'm wondering if I can export /etc/passwd, /etc/group and /etc/shadow from an NFS server and mount those files over the local ones on the client machine. The goal ...
0
votes
2answers
210 views

Managing user and group information for a lab using Linux and /home mounted from a data node

Our lab consists of multiple desktop machines and a data node, all running Ubuntu Linux. The desktop machines mount /home from the data node. Files and users in /home are managed using UIDs and GIDs ...
1
vote
0answers
254 views

Why does a file on an NFS mount seem to cache randomly, but no longer be cached when running `ls`?

Here's the mount configuration of an NFS mount, we'll call it server2, gotten from running cat /etc/mtab: <ip1>:/mnt/fs101 /mnt/fs101 nfs ...
0
votes
1answer
771 views

How to setup WIndows 2008 as a NFS server for clonezilla

This sounded like an easy task to me, use clonezilla to image a laptop to a windows 2008 R2 NFS server. I got the clonezilla Live CD to boot on the Laptop. I got into the command line. I was able ...
-2
votes
1answer
748 views

Is it possible to limit Samba (or entire LAN) speed?

I've a problem with a mini server (Via epia c3 1ghz): when there is too much LAN traffic (in particular Samba or NFS files moves) the server reboots and continue to reboot until I unplug the LAN cable ...
1
vote
2answers
309 views

Windows 2008 NFS, find command not working recursively on unix client

I have a Windows 2008 Storage server configured for NFS service. I am using a FreeBSD client to mount share from the storage server. Every thing works fine like copying, deleting files etc. However, ...
2
votes
1answer
357 views

How to change NFS export allowed IP addresses on Mac OS X Server (Tiger)?

I am running NFS on a Mac OS X Server 10.4. I had originally set up the NFS exports in the GUI, and restricted the IP addresses in the GUI to which it can export. Right now, I only have command-line ...
3
votes
2answers
542 views

Is NFS caching suitable for caching large files (200kb to 50mb?)

I have a 1TB disk on one server that 4 other servers frequently access via NFS to distribute the files over HTTP. I'm seeing a high load on the central server and want to cache these files on the ...
1
vote
1answer
1k views

NFS Mount Options on Solaris 10

I need to be able to mount an NFS file system on Solaris 10 using the equivalent of the nolock mount option. From what I can see this mount option is not available on Solaris (looks like its a Linux ...
0
votes
1answer
1k views

Lots of nfs4_reclaim_open_state: Lock reclaim failed entries in syslog

I have an Ubuntu 11.10 VM set up in VMSphere. I'm storing some data on a nfs mount. The VM has been going down frequently. I haven't been able to pin the reason why down, but I think it has to do with ...
-1
votes
2answers
2k views

NFS Permissions trouble

I have an NFS4 share and I need to use it for 2 remote machines However, folders that were created on machine 1 are not writeable for machine 2, giving the error "Permission denided". How should I ...
1
vote
2answers
173 views

Does it make sense to copy files in parallel to the same NFS mount?

Here's an example: ( cp /tmp/one /nfs/one ) & ( cp /tmp/two /nfs/two ) & ( cp /tmp/three /nfs/three ) & ( cp /tmp/four /nfs/four ) & ( cp /tmp/five /nfs/five ) & wait Against a ...
1
vote
2answers
464 views

How to share USB drive via NFS on FreeBSD

I'm trying to share USB hard drive with msdosfs connected like this: mount_msdosfs -o large /dev/da1s1 /mnt/usb I can see mounted drive: /dev/da1s1 on /mnt/usb (msdosfs, local) but when I'm ...
1
vote
0answers
367 views

Restart linux kernel NFS lockd

Hi is there a way to restart the lockd kernel thread (NFS lock manager)? There were some file locking requests which went wrong and since then it consumes about 50% of CPU. The processes requiring ...
3
votes
1answer
109 views

Loading of Home taking too long

We have a shared storage from NetApp mounted onto about 80 systems (all running Ubuntu 10.04 64 bit). These days there is some problem with the loading of user homes onto the lab machines ...
1
vote
2answers
957 views

NFSv3 Exporting directories with binded subdirectories

I've been scratching my head regarding this and thought I'd post it to see if I was missing anything obvious! The scenario is this: The server contains a very large folder called "Programmes" which ...
0
votes
2answers
1k views

NFS support in iptables (or other firewall)

How do I enable NFS mounts/shares with iptables with DROP policy? NFS uses dynamically assigned ports, thus it is difficult to use with firewalls. I have an NFS server and a few clients. I would ...
2
votes
1answer
483 views

Why is Apache serving stale files from NFS despite a seemingly correct configuration?

I have two CentOS machines (virtualized) with a mounted NFS share with the following in /etc/fstab: <ipaddr>:/mnt/nfsshare /mnt/nfsshare nfs ...
1
vote
2answers
691 views

Mount an NFS share as non-root in fstab

A tomcat server that is run as root (i.e. web app using port 80) needs access to an NFS share to store uploaded files, which the root account does not have access to. Unsurprisingly, when the web ...
4
votes
3answers
4k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
0
votes
1answer
904 views

NFS mount drops to read-only during intermittent network failure

I have an NFS mount (say to /opt/foo) on a RHEL5 install that occasionally drops to a read-only filesystem after a short network failure...I have control over this box but not over the network, so I ...
3
votes
1answer
3k views

How to test if NFS is working

I am trying to create a script that runs on the client and checks my NFS mount periodically and changes some stuff around (moves a read-only, local version of the data in place of NFS) if there is an ...
0
votes
1answer
2k views

How can I troubleshoot inaccessible NFS datastores in ESXi 5?

I've been having some trouble with my virtual machines the last few days. When i fire up vSphere the NFS datastores intermittently appear offline / inaccessible. The NFS shares are on my Windows Home ...
1
vote
1answer
341 views

Serve an NFS mount over TFTP

I have a FreeBSD server on which I would like to run a TFTP server (for PXE). My daemon of choice is tftp-hpa and I have it configured to serve from /tftpboot properly. It works unless I mount ...
1
vote
0answers
258 views

I'm building a diskless php-fpm cluster, unpredictable /etc/statetab and looking for other building strategy

I'm building a 24 nodes php-fpm farm using three Supermicro MicroCloud (8 nodes in 3U, nice and tight) At first, I was planning to have each of them nodes have a disposable HDD with CentOS on (6 or 5 ...
0
votes
1answer
272 views

apache mod_proxy… windows 2008 IIS 7.0 docroot nfs export not working

Gents, Unfortunately, I've lost any windows knowledge (if i ever had any)... We have to mount an nfs export to be served from a few IIS domUs. Our "developers" wrote this beautiful "thing" that ...
1
vote
2answers
1k views

error when mounting nfs network-share in linux

I'm trying to mount a nfs network share in various OSs (ubuntu 10.10/10.10 server/11.10) but continually get the same error: mount.nfs: access denied by server while mounting 128.251.xxx.xxx:/Systems ...
1
vote
1answer
2k views

VMware ESXi Missing VMDK (Flat files and snapshots, but no base image)

We recently had a SAN failure that killed a very high-disk-activity VM while it was on. We fixed the failure, but can't boot the VM. When we attempt to, it displays this error message. I checked the ...
0
votes
2answers
695 views

Ubuntu PXE boot mount wrong NFS share

This question may be simple but I couldn't figure out and was stuck here for the whole day already. Any suggestions are appreciated. I have two boxes, one as the server and other one running as the ...
0
votes
1answer
843 views

Connecting to Redundant NFS Servers (Load Balancers or Round-Robin DNS?)

In a typical NFS setup with redundant servers (multiple boxes), do people use a load balancer or round-robin DNS to achieve a single connection vector for clients? Is there a better way to do this ...
0
votes
1answer
205 views

NFS Connection Configuration Between Multiple Clients/Servers

I have several client computers (PCs) that need to connect to DRBD-replicated NFS servers. With NFS, I know you need to have the connection configured on both machines (e.g. client -> server and ...
3
votes
1answer
2k views

How do I speed up and cache mmap file access over NFS on Linux?

The server and client are both 64-bit Ubuntu 10.04 LTS. The application in question is a custom app that uses mmap() for fast random file access. Its ideal state is when the entire file is cached in ...