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.

544 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
2 answers
5k views

Yet Another NFS Permissions Error: Linux NFS4 Access Denied ('Auth Bogus Credentials (seal broken)') from NAT'd VM

Inside the VM, host address is 10.0.2.2, local address is 10.0.2.15. (VirtualBox). This gets translated to 127.0.0.1 on the host side. To connect: sudo mount -vvvt nfs4 -o clientaddr=127.0.0.1 10.0.2....
  • 403
7 votes
0 answers
5k 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 ...
  • 315
6 votes
1 answer
1k views

using chained automount to mount home directory

I have set up two directories mounted with automount (via LDAP): in the /home directory automount is configured to mount * -fstype=bind :/network/srv/home/& in the /network directory one ...
5 votes
0 answers
1k views

Is my NFS mount actually using async? Diagnosing very slow response time

I have the following NFS mount: server:path /mnt/path nfs rw,hard,intr,nfsvers=4,async 0 0 Pings to the server are ~60ms, which is quite reasonable, yet any access to the mount is very slow. Copying ...
5 votes
0 answers
2k views

list directory is slow when using NFSv4

I'm currently setting up NFS based file sharing between my Mac client (Macos 10.14.1) and Raspberry Pi3 server (U16.04.1 LTS). As I dual-boot my Mac (MacOS/Ubuntu18) I want to use my Pi with NFS (I ...
  • 209
5 votes
1 answer
7k views

Why does the "nocto" NFS mount option in Linux not prevent flush-on-close?

I've been learning about the close-to-open policy of NFS, which causes each file to be flushed to the server as it's closed, to ensure consistency across clients. (See http://docstore.mik.ua/orelly/...
4 votes
0 answers
873 views

Interesting phenomenon when viewing .zfs snapshot folder on NFS share

We use a FreeNAS system as an NFS share and mount this share on several Linux systems. We make ZFS snapshots of the share in order to restore files if needed. With ZFS it is possible to make ...
  • 66
4 votes
0 answers
4k views

Are the in-built sharesmb / sharensfs options in ZFS on Linux special/better?

While reading through the man page of zfs I noticed the sharesmb and sharenfs options. Are they thin wrappers over samba/smb/cifs/nfs provided by the underlying Linux system, or special/optimised code ...
4 votes
0 answers
2k views

NFS ignores secondary groups

My NFS server seems to be ignoring secondary groups. I have fewer than 16 groups per user, but have --manage-gids on. The NFS share doesn't mount when this option is missing. Users and groups are ...
  • 141
4 votes
0 answers
2k views

Automount mac home directories using NFS4

I'm trying to set up automounting of user home directories using NFSv4 on Mac clients. Everything appears to work as expected except for logins via the Mac GUI. These hang with a spinning cursor. ...
4 votes
0 answers
2k views

Non-root user needing chown capability on NFS client

I am providing an NFS server as part of a collaborative project with another group producing client software over which I have no control. Their software provides file management to its users through ...
  • 83
4 votes
1 answer
5k views

Amazon EFS hangs when attempting to list files inside

When doing an ls inside an Amazon EFS mount point, it just hangs. The EFS troubleshooting section on AWS EFS troubleshooting Mentions the following: Mount Does Not Respond An Amazon EFS ...
4 votes
0 answers
1k views

ansible hangs on checking a directory

I have an ansible playbook that mounts an nfs share. It first makes sure that the destination directory exists: - name: create /mnt/tmp file: path=/mnt/tmp recurse=yes state=...
4 votes
1 answer
5k views

Solaris 10 NFS client mount error "NFS compound failed for server 10.0.2.18: error 5 (RPC: Timed out)"

I have a Solaris 5.10 (I think that's considered Solaris 10) server - we'll call it "Bill" - which I own, but a vendor supports the additional software installed. They have to manually stop services ...
  • 293
4 votes
0 answers
273 views

Windows NFS Client Tools Doesn't Follow manage-gids

I am running into an issue with the Windows NFS Client tools, it seems that when I attempt to access a folder on an NFS share that has read permissions for a group that user is member of - but not the ...
  • 223
4 votes
0 answers
2k views

Linux NFS - 'stat' on defunct NFS mount causes blocked ('D') state processes and high load average

I'm rearranging some NFS mounts - tidying up and decommissioning them. As part of this, my 'management' server has gained a huge load average, because of nagios kicking off 'stat' on the NFS mounts. ...
  • 3,717
4 votes
0 answers
1k views

NFS Write Permissions -- ls -l shows I have it; I actually don't

I have an NFS server serving several clients. Permissions work fine with all clients except one. The client mounts the nfs share fine, with permissions all correctly placed to the right users. ...
4 votes
0 answers
2k views

NFSv4 idmapd ignores Nobody-User

I have a folder which is owned by ftp:users. I wanted to export this folder and have all requests mapped to the ftp user, which has id 107. In /etc/exportsI have the following: /media/other 10.1.1....
  • 295
4 votes
0 answers
8k views

NFS server service won't stop, client mount timeout?

Client machines were able to connect to our NFS server earlier this afternoon, and everything was running fine. The setup has been working fine for several years. No configuration changes were made on ...
  • 4,483
4 votes
0 answers
3k views

AutoFS wildcard subdirectory

I am trying to automount /home/users/<username>/secure for all users using AutoFS. Naturally I would put down this line as a direct map: /home/users/*/secure -fstype=nfs4,rw,sec=krb5p jupiter:/...
4 votes
0 answers
2k views

Tuning performance in Windows Services for NFS -- slow write performance from client to server

Background: I'm using a NFS datastore in esxi5.1 to do some ghettoVCB backups. The NFS share resides on a Windows Server 2008R2 box, using Windows Services for NFS to distribute the share. Writes to ...
4 votes
0 answers
636 views

Nobody nogroup on ubuntu client with Solaris server

I have an openIdiana server with ZFS and it has been shared with NFS on a ubuntu server (called server1) one year ago. Now i am asked to shared it on a second ubuntu server (called server2). So i have ...
4 votes
1 answer
8k views

Improve NFS performance for Windows NFS client to Linux NFS Server

I have a CentOS 6.7 server as an NFS Server, and I have a 3-4 Windows 7 (Enterprise) PC's using Windows NFS client to mount the NFS exports. The problem I'm having is this: The Windows clients can ...
  • 891
3 votes
0 answers
551 views

Extremely slow NFS openat performance

I've installed an NFS server on Ubuntu 20.04 and a FreeIPA Ubuntu 20.04 client with the users home directories served by the NFS server. Performance is extremely slow when accessing files. When I ...
  • 153
3 votes
0 answers
840 views

NFS server disrespects anonuid, anongid

I exported an NFS share from a server and mounted it from a client. I got permission denied errors when I tried to access it, wondered why. Made the export world-writable, created a file there, and it ...
3 votes
0 answers
1k views

NFS4 and bind mount issues

Ok guys I have a weird issue. After recently adding a bind mount 2 folders deep inside an existing NFS4 export, when I mount that NFS export on my client, it leads directly to the bind mount. No ...
3 votes
1 answer
1k views

Docker NFS volumes "no route to host"

I have an NFS server at nas.vm.lan == 192.168.122.30. It exports /srv. I have three Docker hosts set up as a swarm at docker-gitlab-swarm1/2/3 == 192.168.122.27/28/29. I have four volumes defined ...
3 votes
0 answers
2k views

Cheating with hard links and NFS

At what layer does the magic occur that allows me to hardlink files between two NFS mounts on the client when they’re on the same file system on the server? Also, can I trust these to act like normal ...
3 votes
0 answers
5k views

Configuring Windows Client for NFS

this question is about configuring Windows 10 Client for NFS. There are two parts to it, 1) map the export (drive), 2) set IM Let's have NFS export (/media/NFS_share 192.168.0.*(rw,async)) already ...
  • 45
3 votes
2 answers
3k views

kubernetes and sharing an nfs volume accross multiple pods

I'm trying to figure out how I can use a single nfs share with k8s persistent volume claims. For example, let's say I have a single nfs pv configured: apiVersion: v1 kind: PersistentVolume metadata: ...
3 votes
0 answers
622 views

Programatically (with syscall) invalidate NFS lookupcache

I have a process that relies on detecting file creation on an NFS server. Usually it works fine, but there's been a few minor glitches recently, due to caching and an NFS rename operation. We've ...
  • 3,717
3 votes
0 answers
1k views

NFS mount fails when using VPN

I've got an NFS mount set up on my development server which I have been mounting on local machines without issue. I've now been trying to mount the same NFS share to the same machine (openSUSE laptop) ...
3 votes
0 answers
655 views

what is snmp mib for getting NFS IO counters?

I can get local disk I/O requests and read/write bytes using the following snmp MIB: SNMP table: UCD-DISKIO-MIB::diskIOTable diskIOIndex diskIODevice diskIONRead diskIONWritten diskIOReads ...
  • 651
3 votes
0 answers
1k views

Kernel modules won't load for NFS/RoCE Ubuntu 16.04 with latest drivers/software

I'm having trouble with NFS over RoCE on Ubuntu 16.04 using the latest OFED package provided be Mellanox (MLNX_OFED_LINUX-3.3-1.0.4.0-ubuntu16.04-x86_64.tgz). My cards are Mellanox 10Gbe and are RoCE ...
3 votes
1 answer
2k views

gssproxy: apache httpd as nfs-client? centos7

When Apache httpd attempts to access a user directory automounted with sec=krb5p, and presumably other sec=krb options, gssproxy issues a failure message and the web server replies with 403 Forbidden. ...
  • 12.8k
3 votes
1 answer
197 views

Best practices for migrating to new SAN

My collaborator is splitting from his institute and wants help moving his application and data off the institute's network. And of course things are moving quickly. He has 12 TB of image data on a ...
  • 181
3 votes
0 answers
1k views

NetApp NFS Exports with all_squash

We've got a NetApp filer (v8.1.4) with a UNIX-style qtree sharing a volume to a number of different machines (web content for a cluster of front-end and application servers) over NFS. We're trying to ...
  • 31
3 votes
0 answers
2k views

Create and Manage Windows NFS Shares for Linux Clients with AD Authentication

I have a Windows file server that I would like to create NFS shares on. These shares need to be accessible by both Windows 7 domain clients and Linux clients (Red Hat 5 & 6) using Samba/Winbind ...
3 votes
0 answers
2k views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
  • 127
3 votes
1 answer
1k views

NFS performs ways worse than SSHFS, how can I debug?

Situation: zfs server over 10GbE p2p at 192.168.201.1 running omnios, debian client at 192.168.201.2. The nfs performs fairly well on big files but horribly slow on small ones. For instance, cp -r /...
  • 746
3 votes
1 answer
775 views

What are some good ways to identify nfs clients that cause high load on nfs server

Sometimes my nfs4 server is under high load. Is there any good tools identify which client causes it. running iotop and nfsstat on nfs server shows only general load information which does not help to ...
  • 31
3 votes
0 answers
646 views

Linux NFS server refuses blocking locks

So I have this problem. This horrible, awful problem. I have a set of Linux NFS servers (in a NFS/CIFS cluster using CTDB) that refuse locks… only when the lock is blocking. If it's a non-blocking ...
  • 39k
3 votes
0 answers
1k views

LDAP authentication, pam_mkhomedir and NFS automounted homes

We currently have a setup (running on Ubuntu 14.04 LTS) with mixed LDAP/NIS authentication and automounted home directories from several servers (with the auto.home map distributed over NIS). ...
  • 1,663
3 votes
0 answers
2k views

php-fpm process in D state ,cause nfs wait rpc_wait_bit_killable

my wordpress site which is in clustered environment using NFS,nginx,php-fpm,mysql the infrastructure is hosted on amazon ec2.Under high load/traffic the php5-fpm process goes in D state(...
3 votes
0 answers
47 views

Can I force nfsd on Solaris to announce more free space than physically available?

I'm working with various Solaris based distributions (OmniOS, SmartOS, Nexenta) and I have a highly compressible and deduplicable data set on a very small amount of high performance storage. The ...
3 votes
0 answers
533 views

How do I get the file name corresponding to an NFS file handle on Linux?

I have tcpdump output of some NFS traffic, it shows which file handles are being read or written. I'd like to know which files they correspond to. There's got to be an existing tool which will list ...
3 votes
0 answers
547 views

ZFS on RedHat configuration

I have to set up a ZFS storage appliance (Oracle ZFS Storage ZS3-2) with NFSv4. The NFS is mounted on a Redhat 6.5 cluster, where the linux users are created (they don`t exist on the appliance). ...
  • 81
3 votes
1 answer
3k views

nfs problems: shares appear to be the wrong size. files created on share not visible on server

I have set up shares on an NFS server. I can mount the shares with no error. The share sizes reported by "df" are much smaller than the share size on the server eg. server reports 1 TB but the share ...
3 votes
2 answers
1k views

rsnapshot over NFS issue

I have a VPS configured with a webhost which I need to backup regularly. I have also purchased a 'backup disk' which is simply an NFS mount on another of their servers. I have configured rsnapshot to ...
  • 31
3 votes
0 answers
3k views

nfs: kernel server not accepting mount (rpcinfo: RPC: Timed out)

I have an nfs-server that halfway hangs now and then. On server l this works: # uname -a Linux l 3.2.0-0.bpo.1-amd64 #1 SMP Sat Feb 11 08:41:32 UTC 2012 x86_64 GNU/Linux # showmount -e l Export list ...
  • 2,906

1
2 3 4 5
11