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
-3 votes
0 answers
12 views

Windows Server Slow NFS Performance

Setup: Server: Windows Server 2019 w/NFS feature installed. Virtualized on Proxmox backed by 6-disk zfs Client: Windows 10 Network: 1GB backbone NFS: Authentication Kerberos V5 w/Server authentication ...
user avatar
  • 95
0 votes
0 answers
10 views

High load and file descriptors but idle cup usage

I have a problem with NFS & PHP. I changed the NFS mount on some of my servers using Ansible, but I forgot to change the NFS mount on this server. After 4-5 days, I saw the system load on this ...
user avatar
1 vote
0 answers
14 views

How does a lazy unmount actually work?

During recent testing, I couldn't unmount an NFS mount after removing the NFS server or blocking the IP address of the server on PREROUTING raw, with iptables. --force didn't work. Running mount to ...
user avatar
  • 183
0 votes
0 answers
15 views

Default timeout for server commands - NFS mount

Noticed the following: if a NFS mount becomes unavailable for whatever reason, most linux commands will wait endlessly. Doing an ls -lahF on the mount path just waits... forever. And never returns. I ...
user avatar
  • 183
0 votes
0 answers
17 views

Allow Bitbucket pipeline runner to access ports other than 80 and 443 such as NFS

I am trying to persuade a bitbucket pipeline that employs a runner on our GKE based infrastructure to mount a directory from a GCE VM via NFS. It seems that the outgoing traffic to NFS ports is ...
user avatar
0 votes
0 answers
34 views

ESXi 7.0 mounting NFSv4 datastore unable to provision OVAs, NFSv3 works fine

We have an Ubuntu 20.04 host using ZFS and the sharenfs option: root@host:~# zfs get sharenfs pool/enc/esxi NAME PROPERTY VALUE ...
user avatar
  • 1
-1 votes
0 answers
21 views

How to setup a school/university/company-like SSO

I would like to setup a client-server system such that the end product is similar to taht used by universities, schools, and businesses. That is, I'd like to be able to sit down at any (properly setup)...
user avatar
1 vote
1 answer
19 views

Bind mount ONLY if Samba mount is present? (Ex: BIND MOUNT Requires NFS Mount \\172.16.x.x\files... )

I have a mount with SAMBA using the following in fstab: //source/files /mnt/files cifs user,_netdev,cache=none,credentials=/usr/src/access.smb 0 0 And then i have the following mount --bind line: /...
user avatar
0 votes
0 answers
29 views

Which Cipher Is Being Used To Encrypt NFSv4 With "sec=krb5p"?

I am using NFSv4 with sec=krb5p encryption enabled on a CentOS 7 client & server. My NFS shares mount flawlessly at boot-time, and when I query my keytab file I am able to view the list of ...
user avatar
  • 11
0 votes
1 answer
45 views

Migrate Kubernetes storage from vSphere to NFS with StatefulSets

I'm trying to move all my persistent volumes from vSphere to NFS, I managed to do it for many applications that use Deployment kind. All I have to do is: Mount the NFS volume to a different path (/...
user avatar
0 votes
1 answer
26 views

Private Docker registry w/ NFS storage and Jenkins

I would essentially like to run a private docker registry on an internal LAN that would provide read-only access to a couple of Jenkins nodes. Jenkins Pipeline seems to only allow images from a local ...
user avatar
0 votes
0 answers
38 views

NFS user ID mappings

Change current NFS mapping from UID/GID base mapping to a mapping base on account names. Currently the UID/GID for an account has the same value on server and client. The new implementation should ...
user avatar
  • 1
0 votes
0 answers
62 views

How to get Windows 10 client connected to NFS share on CentOS 7? Network Error 1204: "network provider name is invalid"

I have a CentOS 7.9 server, IP address 192.168.1.185, with a 48TB volume mounted in /media: [root@ds1 media]# ls -la drwxr-xr-x. 3 root root 29 Mar 16 08:20 . dr-xr-xr-x. 17 root root 278 Mar ...
user avatar
  • 11
0 votes
2 answers
46 views

NFS with FS-Cache - set up, but still says it's disabled

I have about the same problem as this one here, but that one seems to have been solved because cachefilesd hasn't been enabled. I have it enabled (removed the comment before RUN=yes in /etc/default/...
user avatar
0 votes
0 answers
10 views

BBB Not Storing Recordings in NFS

I have a big blue button server configured and a scalelite where NFS mount is created and shared with BBB. However, BBB still stores the recordings in the same server. I have tried the answer provided ...
user avatar
0 votes
1 answer
147 views

Cannot mount NFS Share from Windows Server

I am trying to mount an NFS Share from a Windows Server File-Server Cluster on a Ubuntu Host. The connection times out when I try to mount the share like this: sudo mount -t nfs fs01:/longhorn /...
user avatar
  • 74
0 votes
1 answer
83 views

What would prevent php-fpm (8.0.16) from being able to write to an NFS mounted filesystem?

I have a php-fpm (8.0.16) instance that cannot write files to an NFS share. I am using a simple php script for testing: <?php ini_set('display_errors', 1); ini_set('error_reporting', E_ALL); $fp =...
user avatar
0 votes
1 answer
44 views

How to have Kerberos tickets for services to access NFS share?

I want to externalize my servers storage and to import it via NFS from the storage server. I want to use NFSv4 with Kerberos for security and for not having to match UID/GID between servers. So I ...
user avatar
  • 1
1 vote
0 answers
38 views

Servers upgraded, NFS not working as well

I administer two servers that were set up by a previous admin, one works as an NFS server the other the client and they have a dedicated 10GBase-T connection. Both servers were recently upgraded from ...
user avatar
3 votes
0 answers
78 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 ...
user avatar
  • 153
0 votes
0 answers
102 views

NFS mount fails over ipv6 with "Address family for hostname not supported"

NFS fails to mount through /etc/fstab configuration, which is as follows: # NFS_SERVER:/PATH/TO/EXPORTED/DIR /MOUNT_POINT_ON_CLIENT TYPE_OF_FS OPTIONS DUMP PASS [...
user avatar
  • 111
1 vote
0 answers
71 views

NFS insists to send packets over MTU, nftables might be the solution

I have an NFS mount over a Strongswan IPSec tunnel, which is encapsulated in a 6to4 tunnel. The IPSec is because I need encryption for NFS traffic, the 6to4 is because the VPS provider won't assign a ...
user avatar
0 votes
0 answers
29 views

nfs uses LOTS of hidden disk space

I have a machine that exports /home to 2 others. Regularly the partition fills up but it's impossible to pinpoint what takes up size. Both du -x /home and ncdu -x /home show something like 56Gb use ...
user avatar
  • 183
1 vote
0 answers
75 views

NFS cache on Linux client but only for metadata?

I have several mounts shared via NFS. They contain loads of files, from text files to RAW photos. Issuing find on them is rather painful as even on 1GbE link it just doesn't happen as smooth as on ...
user avatar
0 votes
1 answer
454 views

Rsync: "chown failed: permission denied (13)"

I run a rsync task every midnight using the following command: rsync -ahzP --stats --update --delete-before --delete-excluded --exclude "*.log" --exclude temp /mnt/raid/ /mnt/backups > /...
user avatar
1 vote
1 answer
57 views

initramfs - customize init script

We have a cluster system with master and several nodes. I have set up a PXE netboot of ubuntu kernel 5.4.0-91 from the master. The nodes load the initramfs and end up in the busybox. Now I want to ...
user avatar
0 votes
3 answers
890 views

What does the NO_ALL_SQUASH option do in NFS exports?

From the exports(5) man page, in the "User ID Mapping" section, it says: User ID Mapping ... Very often, it is not desirable that the root user on a client machine is also treated as root ...
user avatar
1 vote
0 answers
20 views

NFS disk - weird behavior about disk operation response time for open/delete (Java access)

I figure out weird behavior with NFS (v4). We are experiencing problem with Jira Data Center and we found as the most possible reason slow response time on NFS disk (used for shared cache between ...
user avatar
  • 195
1 vote
0 answers
116 views

NFS stale file handle for regular user but not root

I've installed freeipa container on a Ubuntu server and an NFS server on the server itself. When I mount the NFS directory on a client machine or even the server itself, I can view the mounted ...
user avatar
  • 153
1 vote
1 answer
27 views

What mount options can be used for read-only NFS export that is known not to change?

We have versions of datasets mounted from readonly snapshots of our enterprise file system, so we know the data on the mount never changes. Wondering what the best mount options are so NFS doesn't ...
user avatar
  • 243
0 votes
1 answer
153 views

Access Denied when mounting Kerberised NFS v4 Share

I want to mount an NFS4 share, but with Kerberos security enabled. This is my setup: Debian Server (dns fqdn: nfsv4test.subnet.example.org) Debian Client (dns fqdn: nfsv4client.subnet.example.org) ...
user avatar
0 votes
0 answers
103 views

NFS permissions (with AKS)

I'm mounting NFS (on the Azure Virtual Machine) into k8s (AKS). My application is running with Apache (www-data user). Now for some reason I cannot eventually comprehend my application errors with ...
user avatar
  • 101
0 votes
0 answers
44 views

NFS in Ubuntu not following /etc/exports

I am trying to setup NFS on a server. I have used NFS in the past, and not really had much problem with it, but for some reason I do in Ubuntu server 20.04. I have added some test paths while setting ...
user avatar
  • 1
0 votes
0 answers
45 views

why bind mount(shared mode) doesn't work for fuse client?

Create juicefs Network mount(like NFS mount) in host machine juicefs mount -d redis://10.111.100.91:6379/0 /mnt/jfs-mount 2021/12/10 20:05:25.914969 juicefs[33027] <INFO>: Meta address: redis://...
user avatar
  • 113
1 vote
0 answers
286 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 ...
user avatar
1 vote
0 answers
41 views

NFS v3 linux permissions issue

new with linux permissions and I'm having an issue on write between my fileserver (192.168.1.1, debian) and my new nextcloud instance (192.168.1.2, ubuntu) on the file server side: exportfs /mnt/...
user avatar
  • 11
0 votes
1 answer
416 views

How can I set a specific IP range for NFS exports file?

For example, I want to set an allowed IP range from 192.168.0.12 to 192.168.0.20. Would it require me to input all the IP addresses on that one line? Or is there an easier way to set this specific ...
user avatar
0 votes
1 answer
121 views

R/W Permission Kubernetes over NFS

I have kubernetes pod with a PHP & Nginx containers , mounting an NFS share v4.1, as /var/www/html/"webcontent" When I access the application from browser throws the error "You ...
user avatar
2 votes
0 answers
265 views

NFS mounts folders, but no files

I have a problem getting files to show up using an NFSv4 mount between Server: Ubuntu 20.04, 192.168.1.1 Client: Ubuntu 18.04, 192.168.1.2 On the server, I have a folder and file /home/server/files/...
user avatar
0 votes
0 answers
122 views

Use NFS to export an ISCSI drive. Any potential issues with this setup?

I have a storage system that is broken for file storage. The block storage components still work and I am able to create a pool/lun and attach to a linux host. I created a multi-TB LUN and have it ...
user avatar
  • 179
1 vote
0 answers
135 views

NFS mounted XFS file systems not visible using xfs_quota

With CentOS7, I made the leap to XFS (from ext4) and since then I have been unable to query quotas on NFS Clients via the quota or xfs_quota commands. The xfs_quota command also does not report any ...
user avatar
  • 11
0 votes
0 answers
175 views

Error when exporting exfat disk by nfs

I have the following fs: /dev/sdb1 exfat 60085120 11776 60073344 1% /mnt/apuntes in the /etc/exports: /mnt/apuntes 192.168.2.20(rw,sync,no_subtree_check) the service is started ...
user avatar
  • 113
0 votes
1 answer
117 views

VNC server won't start on AlmaLinux/CentOS 8

I could not get tigervnc to start on my AlmaLinux 8 machine. We have SELinux enabled and our home directories are automounted NFS shares (configured by IPA). I see errors in my /var/log/audit/audit....
user avatar
  • 41
2 votes
0 answers
32 views

NFS poor performance on some vm's

I have a Cassandra cluster of 6 VMs, each of these VMs has an NFS share attached, the last few weeks the backups from some nodes began to fall off, began debugging, as a result I tried to write zeros, ...
user avatar
0 votes
1 answer
138 views

Can't mount exported directory as NFS version 4

I'm trying to create a simple NFSv4 export. What I did so far: My exports file: /srv/nfs4 <myipnet>/255.255.255.0(rw,sync,fsid=0,no_subtree_check) /srv/nfs4/homes <myipnet>/255.255.255.0(...
user avatar
0 votes
0 answers
24 views

persistent volume for a SaaS project on docker Swarm & ON MY OWN Servers / VPS (non-AWS, non-Azure): what to use for the MySQL & for the file-uploads?

I am not sure, what architecture / which way to go for the persistent data of my docker Swarm SaaS webapp. A draft of the layout with traefik_proxy and some context for a better understanding of my ...
user avatar
1 vote
0 answers
228 views

Can't mount NFSv4 with Kerberos from a Linux client to a FreeBSD server

I'm trying to set up NFSv4 with Kerberos. The server is FreeBSD 13.0-RELEASE and the client is Ubuntu 20. I have the Kerberos part running and I can automaatically get a ticket on login for my user, ...
user avatar
  • 181
0 votes
0 answers
35 views

NFS4 late mounts on server are not visible to clients

I have fairly simple working NFS version 4 setup on Ubuntu 20.04LTS with one server and few clients (all same OS). I export /mountpoint. My /etc/exports on server looks like this: /export *(...
user avatar
  • 121
2 votes
0 answers
581 views

NFS mount a user cannot write gets permission denied. Gid, UID match and am not using all_squash

Both server and client are cent os 7.0 My data VM has a exports file: /data 10.75.0.0/24(rw,sync,no_subtree_check) 10.50.1.0/24(rw,sync,no_subtree_check,no_root_squash) My client has a fstab: 10....
user avatar
  • 67
1 vote
1 answer
265 views

how to disable/remove nfs4 acl, and back to original linux access control?

I have add nfs4 acl for a directory in nfs client, but can not use "chown/chgrp" after add nfs4 acl, now I want to give up nfs4 acl, and back to original linux simple access control, how to ?...
user avatar
  • 21

1
2 3 4 5
37