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.

Filter by
Sorted by
Tagged with
57 votes
4 answers
311k views

Mapping UID and GID of local user to the mounted NFS share

I have a server with NFSv4. I am mounting contents of the home folder of remote user to local host. Able to read and write contents, but when I am checking ownership of files at the mounted volume ...
  • 673
11 votes
2 answers
4k views

ZFS - destroying deduplicated zvol or data set stalls the server. How to recover?

I'm using Nexentastor on a secondary storage server running on an HP ProLiant DL180 G6 with 12 Midline (7200 RPM) SAS drives. The system has an E5620 CPU and 8GB RAM. There is no ZIL or L2ARC device. ...
  • 196k
10 votes
4 answers
6k views

Crontab running before nfs mounted

Running Cronjob @reboot returns that file on nfs share does not exist. Example @reboot python /abs/path/to/script.py mail from crontab on startup reads "more or less" /usr/bin/python can't open ...
11 votes
5 answers
11k 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 ...
  • 1,221
6 votes
6 answers
17k views

Is there a way to do something like LVM over NFS?

I realize that since NFS is not block-level, LVM can't be used directly. However: is there a way to combine multiple NFS exports (from, say, 3 servers) into one mount point on a different server? ...
  • 18.1k
9 votes
3 answers
23k views

NFS Caching Issue

We are having an issue that happens intermittently during a code deployment. NFS caches the files as they are read, but if a file is read during a code deploy it stays in a dirty state as if the file ...
  • 333
8 votes
3 answers
10k 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, ...
  • 3,030
7 votes
3 answers
3k views

What is the use-case for NAS on a mid-to-high end storage array?

Many large storage vendors (EMC, NetApp, etc) provide storage equipment that does NAS in addition to FCP, FCoE, or iSCSI. When would it be appropriate to use the NAS functionality of these boxes? In ...
  • 101k
6 votes
1 answer
7k views

NFS - Files on client are not appearing on server

Heres my set up: One NFS Server machine, two NFS client machines. The client machines write files to the NFS mount, but occasionally, the files don't appear on the NFS Server machine or other client ...
user avatar
35 votes
10 answers
69k 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 ...
  • 718
18 votes
4 answers
107k views

"Stale NFS file handle" after reboot

On the server node, it is possible to access an exported folder. However, after reboots (both server and client), the folder is no longer accessible from the clients. On server # ls /data Folder1 ...
  • 982
18 votes
4 answers
52k views

File locks on an NFS?

My server uses NFS (Network File System), and I'm unable to use PHP's flock() -function. Is there a way to lock files on an NFS or is there a need to do so?
  • 367
16 votes
1 answer
26k views

NFSv4 User Mapping

This question seems to have been asked many times already, but the other answers somehow did not apply to me. Basically I just set up a new NFSv4 server and I am facing the classic problem where UIDs ...
  • 397
11 votes
6 answers
56k views

What does 'no locks available' mean?

I'm trying to commit to a SVN server. On the server the subversion repository is NFS mounted. When doing a commit, I get this error message: svn: Can't get exclusive lock on file '/svn/repo/db/...
  • 30.9k
9 votes
6 answers
48k 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 ...
  • 53.6k
6 votes
1 answer
4k views

Slow copying between NFS/CIFS directories on same server

Please bear with me, I know it's a lot to read. This problem may be applicable to others, so it would be great to have an answer. I had to give away the bounty because it was going to expire. When I ...
5 votes
2 answers
16k views

Should I mount GlusterFS as NFS or FUSE?

I'm using GlusterFS for a file storage cluster and my web apps. I have two volumes, the storage and the web ones. Currently I have the web one mounted as NFS, because FUSE was way too slow. Now I ...
4 votes
5 answers
5k views

MySQL 5.1.34 on NFS w/NetApp

Is this still a bad idea? I know older versions of MySQL performed poorly with NFS. I imagine the issue lies with the usage of fsnc() and/or O_DIRECT. If the issues are mostly resolved, are there ...
  • 143
3 votes
1 answer
10k views

LDAP + KERBEROS + NFS. Why do I need idmapd?

What I am trying to do I have a freeIPA domain, with a few clients and a Synology NAS (also enrolled in freeIPA). I created a shared folder on the NAS, with NFSv4 + krb5 support. From the client, I ...
  • 437
3 votes
4 answers
21k views

Mapping UIDs for NFS

I have a Mac OS X file server that serves via SMB/CIFS and AFP. The server is a domain client via the golden triangle approach, but this results in a very large UID for the users. This is fine for ...
  • 4,027
3 votes
1 answer
4k views

Windows hangs accessing a samba share with nfs backend

I have a somewhat less than ideal situation that requires me to mount a file system over NFS and then turn around and share that same file system over SAMBA to the rest of the users on my network. ---...
  • 171
2 votes
1 answer
6k views

What exactly does nfs4_disable_idmapping parameter do?

I've been experimenting with user/group ID mapping (translation) in NFSv4. What I want to achieve is name based ID translation, that is independent of the actual UID/GID on the server and clients. ...
  • 123
1 vote
1 answer
886 views

How to mount NFS share on Azure Container Instances

I'm registered for the Azure Files NFSv4 preview, and I cannot seem to find a way to mount NFS file shares on ACI. I have tried the following: Created a virtual network in eastus with two subnets, ...
  • 280
1 vote
2 answers
24k views

Problem with NFS server lockd timing out on Debian linux

We've recently upgraded an NFS server (called "ian"), and after the upgrade, NFS is broken, whereas it wasn't before. The server is now running Debian "lenny", with kernel version 2.6.26-2; it's a ...
  • 1,430
1 vote
1 answer
8k views

Can NFS be forced to refresh stale files/directories when not using noac on the mount?

We mount without using noac. I have a file that I append to once every 20 minutes. Then it will be read with mmap about 5,000 times a minute. We only mmap a couple blocks for each read. Needless to ...
0 votes
1 answer
502 views

Advantages and disadvantages of each type of layout in pNFS

As I know, Parallel NFS (pNFS) has three types: file layout, block layout and object layout. What are the advantages and disadvantages of each type?
  • 554
0 votes
2 answers
930 views

Running NFS with iptables, change firewall?

I have a number of web servers on which I've set up iptables as the firewall, this is working great. However, I also have a dedicated file server running NFS and I need to firewall this machine as ...
  • 3,776
0 votes
2 answers
108 views

NFS Mouting Failing due to illegal port

I have a VM machine that has a public IP interface and a private IP interface. The private interface is assigned 192.168.50.78. Then I have a dedicated host that acts as my "router" using ...
74 votes
5 answers
496k 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, ...
  • 967
45 votes
2 answers
142k views

chown on a mounted NFS partition gives "Operation not permitted"

I have a remote partition that i have mounted locally using NFS. 'mount' gives 192.168.3.1:/mnt/storage-pools/ on /pools type nfs (rw,addr=192.168.3.1) On the server i have in exports: /mnt/...
  • 1,401
34 votes
4 answers
45k 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 ...
  • 1,505
28 votes
1 answer
19k views

Understanding NFS4 (Linux server)

I've been a bit bothered by NFS4 on Linux. Some information 'out there' seems to conflict with other information, and other information appears hard to find. So here are a couple of things that caught ...
  • 1,699
26 votes
4 answers
34k views

NFS poor write performance

I have two machines connected with 10Gbit Ethernet. Let one of them be NFS server and another will be NFs client. Testing network speed over TCP with iperf shows ~9.8 Gbit/s throughput in both ...
  • 611
20 votes
5 answers
40k views

exportfs: Warning: /home/user/share does not support NFS export

'exportfs -r' returns me this error when I'm trying to export /home/user/share (ext4): exportfs: Warning: /home/user/share does not support NFS export. /etc/exports: /home/user/share 192.168.1....
  • 209
19 votes
2 answers
6k views

Does NFS and SMB support sparse files?

This question was previously asked in stack overflow but the good folks there have recommended that i try the community over here instead. I am researching on sparse files with regards to various ...
  • 303
18 votes
7 answers
35k 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 ...
  • 1,623
13 votes
3 answers
26k views

NFS cache : file content not updated on client when modified on server

Here's my set up: One NFS Server machine (v4), several NFS client machines. When a client machine write files to the NFS mount, the other clients see the new content instantly : no problem. But, ...
10 votes
4 answers
5k 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, ...
  • 333
10 votes
2 answers
23k views

Automatic Kerberos Ticket Renewal (Indefinitely)

I am currently switching our environment from NIS over to Kerberos + LDAP. During this migration I've now run into the following situation. We mount our homes via NFS which obviously should also be ...
8 votes
4 answers
21k views

Flush-0:n processes causing massive bottleneck

I have a LAMP cluster that shares files via NFS and occasionally one of them will be stricken for a while when mysterious flush processes start appearing. Can anyone help me? The only way to resolve ...
  • 701
8 votes
3 answers
27k views

Samba sharing an NFS mount point

I'm sorry if this is a repeat post, seems my first attempt failed... A little context first. Firstly, I have inherited one of the classic networks from hell. Amongst a number of other things, I ...
8 votes
3 answers
11k views

Access files located on the underlying filesystem of an NFS mountpoint

Perhaps this is an odd request, but it's the opposite of the question detailed at: Is it possible to view the contents of an underlying NFS mount without unmounting the NFS content? I have an ...
  • 196k
7 votes
2 answers
3k 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 ...
  • 2,117
7 votes
3 answers
9k views

Vagrant OS X host nfs share permissions error - Failed to set owner to '1000'

I am a Vagrant and Puppet newbie, I have created a Base Box with Debian Squeeze plus standalone Puppet, using the instructions here to install Puppet with the Puppetlabs packages. The box itself ...
7 votes
3 answers
19k views

How to mount multiple folders with nfs4 on centos?

I'm trying to get nfs4 working here. Machine 1 (server) I have a folder and in it 2 other folders I'm trying to share independently. /shared/folder1 /shared/folder2 Problem is, I can't seem to ...
  • 1,417
7 votes
3 answers
8k views

How to achieve multiple NFS/TCP connections to the same server?

I'm trying to maximize the NFS/TCP bandwidth between a Linux client and a single NFS server over a 10Gbps link. Although each NFS mount has its own device (major/minor), everything comes down to a ...
  • 1,341
7 votes
1 answer
3k views

NFS - Detecting remotely created files programmatically?

I'm trying to monitor an NFS share and detect the creation of a file by a process running on a remote system. The problem is that the detection isn't working after the file has been created, my script ...
7 votes
2 answers
4k views

How to set i/o priority for nfs client processes?

The configuration is: A linux server and a nas box (netgear) acting as nfs server. It is easy for a single process on the linux server to use all i/o bandwidth by simply copying a file from the nfs ...
7 votes
3 answers
14k views

sysctl.conf not running on boot

At what point is sysctl.conf supposed to be read during boot, and why might it not be running? I have the following settings which are not being applied when I reboot: net.bridge.bridge-nf-call-...
  • 776
7 votes
3 answers
57k views

centos 6 nfs: logs not showing anywhere

Can someone please tell me where NFS logs in centos 6? Or perhaps where I can tell NFS to send logs? At the present time, there appears to be no such setting. Trying to get the thing to work without ...
  • 1,417