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.
1,918
questions
0
votes
1
answer
227
views
Access rights are not inherited for new files
I am trying to provide an NFS share on a Windows Server 2022. This share is mounted by different Linux/Solaris systems.
The plan is to keep everything simple in the first place. The share should ...
1
vote
0
answers
372
views
NFS Server for WS2022 is not working afer migrating to a different drive letter
One should mean that this is a prette strait forward task.
I am using Windows Server 2022 and installed the "Server Role" "NFS Server".
I shared the D:\ drive as "dev_files&...
1
vote
2
answers
456
views
Kubernetes network policy prevents NFS PVC from mounting
I have Ganesha NFS server provisioner installed in my cluster as STS according to the documentation. I run it with just a mounted block storage PVC.
I deploy a separate NFS server per namespace and I ...
0
votes
0
answers
401
views
Setup kerberos with nfsv4 for no_root_squash mounts
I am very new to kerberos and nfs. Kindly help to know if this is feasible. The NFS server is Truenas scale and client is ubuntu 22.04 desktop.
nfs v4 is enabled in Truenas server and exports /export/...
0
votes
1
answer
147
views
Firefox and other browsers not opennig, possibly relatd to NFS
I have a setup with a NFS server sharing the /home directory with some clients. Randomly, those clients are not able to open any browser (firefox, chrome, vscode [which is browser based]). I have not ...
0
votes
1
answer
190
views
If the default nfs4 ACL 'deny access' why do default ACLs frequently contain A::EVERYONE@:rxtncy?
Is there an alias for deny that I could use? So far I have not had any luck removing the EVERYONE@ ACE. Maybe that a bad idea. You tell me.
I was just able to nfs4_editfacl and change the A::EVERYONE@...
1
vote
0
answers
454
views
Why am I getting "Permission Denied" when trying to write to NFS mount using AWS EC2 EFS mount as server and OSX as client
I have a folder like this
$ ls -al /mnt/efs/main/
total 8
drwxr-xr-x. 3 root root 6144 May 24 02:35 .
drwxr-xr-x. 3 root root 18 May 23 23:59 ..
drwxrwxrwx. 2 nobody nobody 6144 May 24 03:04 ...
1
vote
1
answer
461
views
Setup SSO : openldap, kerberos, nfs(truenas) :
Currently I am able to setup a SSO NFS setup with openldap ldap server and Truenas NFS server (with LDAP access configured). The ubuntu clients are able to use pam-mount to mount the nfs home shares. ...
0
votes
0
answers
204
views
How to change location of NFS share without changing autofs configuration
On our data server we currently share a location on an HDD raid /volume1/folder with multiple linux servers via autofs. Every server mounts this location to /data/shared/folder. We now updated to an ...
0
votes
1
answer
275
views
NFS bind mount directories have same filehandle
I have the following exports
/exports/nfs 192.168.1.0/24(fsid=1234,sec=krb5p,rw,no_subtree_check,root_squash,crossmnt,async)
/exports/share 192.168.1.0/24(fsid=2345,ro,...
2
votes
2
answers
341
views
Using file system (AWS EFS) as cheap database for Lambda function
I am designing a database that could easily be represented as a large collection of files containing fixed size records, with sequence numbers 0,1,... This could fit nicely in DynamoDB with the ...
0
votes
0
answers
200
views
SLURM / NFS based computing cluster with disk uniterruptible sleep issues (state : D)
Context :
We have a computing cluster based on 7 servers, running Debian 11:
a storage (HDD NAS, ~500TB, RAID5, LVM)
a frontal server, running SLURM, nfs-common
5 nodes on which the storage is ...
0
votes
1
answer
342
views
NFSv4 and CentOS
I have a storage server, running Rocky 8, and multiple clients, using Rocky 8, CentOS 7, and Debian 10/11, that connect via NFS with different exports for different file systems. One of the file ...
0
votes
1
answer
64
views
Very slow experience with Students + NFS + Development tools
I teach programming to students in a school where they can all login to any computer; their session files being carried by a common NFS server. We experience very slow execution times when we use ...
0
votes
0
answers
206
views
deleted files doesn't free up space on nfs volume
I would like to hear your suggestion on why space is not released after files deletion.
Jira application uses nfs volume as shared jira home. 12 gb indexes snapshot is created per hour (oldest one is ...
2
votes
4
answers
799
views
Creating replicated gluster volume always gives Distributed-Replicate volume
Peace upon you,
I am trying to create a replicated gluster volume but always it gives me Distributed-Replicate volume
i followed the following commands
Pool Peers
root@tiny1:~# gluster peer status
...
3
votes
1
answer
1k
views
Heavy NFS metadata traffic flooding NFSv4.1 Server (AWS EFS)
We are observing a massive uptick in metadata requests to an NFSv4.1 (AWS EFS) network drive that is linked to a one or more web servers. This started happening about a week ago across a number of ...
0
votes
0
answers
336
views
Windows storage server 2019 exported NFS: chown permission denied
I've not been a windows server guy for a long time, so I'm not super familiar with the newer MS server OSes... but I'm trying to link up my linux host to a NAS at a customer site. Their NAS is ...
2
votes
0
answers
443
views
cachefilesd - how to ensure file is copied from local cache?
I have setup cachefilesd and to check if it is correct I verified following:
cachefilesd service is running
NFS storage is mounted with -o fsc and able to see FSC set to yes in /proc/fs/nfsfs/volumes
...
0
votes
2
answers
1k
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 ...
0
votes
1
answer
844
views
NFS server not starting at boot time (Can be started manually)
Problem:
I have an NFS server that fails to export directories on boot. Once booted I can ssh in and start the server manually.
I have set all owner:group and permissions to be very "permissive, ...
3
votes
2
answers
881
views
2x10Gb network : Transfer Huge files with NFS limitied to 6 Gbps
I'm transferring big files (78GB) through network, with NFS, but the transfer is finally limited to 6 Gbps (on a 2x10Gb NIC). I cannot find the bottleneck for now. Here my setup:
1 Server
MB: ...
1
vote
0
answers
133
views
permission denied when writing to mounted directory exported by NFS server running on OpenBSD OS
I have a default installation of openbsd, with portmap, mountd, nfsd services started by via rcctl. I have following entry in /etc/exports
/nfs/testdir -alldirs -maproot=root -network=192.168.0 -mask=...
0
votes
0
answers
62
views
df reports zero used space
On a VM in azure we mount some blob storage via NFS, which generally works good. I now found though, that df reports wrong values for usage of the NFS storage:
root@myVM:~# df -h /mnt/blob/
Filesystem ...
1
vote
1
answer
605
views
netbooting CentOS via PXE and UEFI : unable to mount root over nfs -- failed to switch root path /sysroot
Last weekend, I went down the rabbit hole of trying to netboot rockylinux on raspberry pi 4.
I was able make it work as far as being able to boot the kernel. But I fail to properly nfs mount root. I ...
1
vote
1
answer
3k
views
Mapping NFS mount with docker: "Error response from daemon: error while creating mount source path"
I'm trying to run a docker that gets its data from an NFS mount, something in the trend of:
docker -v /mnt/nfs1:/input ...
but I'm getting errors like:
docker: Error response from daemon: error while ...
0
votes
0
answers
68
views
Trigger Shell Script when new NFS filesystem is mounted
I am looking for a way to trigger a shell script when a new NFS filesystem is mounted. This would be used on Ubuntu 16/20 systems.
The reason behind this is that on occasion, the connection to the NFS ...
0
votes
0
answers
448
views
NFS over wireguard on Ubuntu. Mounting fails with error: "reason given by server: no such file or directory"
I have setup wireguard VPN network 192.168.6.x. The network topology(if that is the correct term) is:
[client] ----- VPN ---- [VPN server] ----- Local net-----[NFS&SSH server]
[192.168.6.32] ...
2
votes
2
answers
772
views
Distributed SSD cache for network storage
Our small computing cluster has 3 computing nodes and 1 file server. The file server has around 70TB data to be accessed by the 3 computing nodes. All of the 3 computing nodes have 3 4TB SSDs which ...
1
vote
2
answers
1k
views
RPCNFSDCOUNT is ignored on Ubuntu Server 22.04.1
I'm trying to increase the thread count of nfsd by editing /etc/default/nfs-kernel-server file. I set up RPCNFSDCOUNT=48 but after reboot, nfsd thread count is still Ubuntu default which is 8.
root@...
0
votes
1
answer
250
views
NFS re-export between VPN-connected servers
I have two Linux NFS servers on two locations (two different networks), each providing at least one NFS share.
Those servers are connected through VPN and each other NFS is mounted to folder on each ...
1
vote
0
answers
173
views
Automating NFSv3 File/Folder permissions in Windows
I'm a Windows/MSSQL DBA who is inheriting a quirky system through no fault of my own, and had a quick question.
Background
I have an Azure NFSv3 volume that is being exported to a Windows Server 2019 ...
0
votes
0
answers
3k
views
Systemd error: "Failed to get properties: Transport endpoint is not connected"
Background info first. The server that this occurs on has only been on for less than a year and includes an external SAS JBOD. This server was intended to take on the duty of an old web server, ...
1
vote
0
answers
10k
views
Mounting using NFS result in Operation Not Permitted
I followed an article from DigitalOcean to mount a directory from my backup machine (192.168.100.82) on my service machine (192.168.100.81):
mount -vvv 192.168.100.82:/var/nfs/general /nfs/general
...
1
vote
0
answers
207
views
Finding resources about switching CIFS from soft to hard mount
We have some NFS shares and smb CIFS shares mounted over TCP/IP on our RHEL 7 machine. The shares are part of a HNAS that sits on a VSP. As per default the NFS shares are mounted with the "hard&...
4
votes
1
answer
690
views
Shared file system among pods
We are running a cluster of x nodes.
Every node in the cluster pulls some files from remote storage. Unfortunately, the remote server is getting overloaded. So we are exploring a solution in which ...
0
votes
1
answer
583
views
How to mount my macOS volume on my Linux through network
I have a Linux Debian 10 and a MacOS Monterey system on the same local area network.
As my macOS only have 8GB of ram, I would like to use my Linux system to do coding on the mac, using a mounted ...
1
vote
0
answers
2k
views
Mounting a Linux NFS share with the Windows 10 client seems to ignore groups (despite --manage-gids)
I have an NFS share exported from a Centos 7.9 VM and mounted on a Windows 10 PC. The share is accessible from Windows, but directories who's permissions are set not readable by the user but readable ...
0
votes
2
answers
5k
views
Trouble mounting an NFS mount-point on a firewall system which works perfectly on other internal systems: How do I find the cause?
This is on Fedora Core 35: This environment is mature and has a few systems that are called either firewalls or gateways, and for the first time, we want to do an NFS share to one of these systems.
...
0
votes
0
answers
566
views
Why NFS is listening to a port but not showing the process name, is there any security risk if no firewall is set?
I'm using ubuntu 22.04 and have mounted an NFS storage, here is my fstab file
ftpback-bhs5-26.ip-149-56-30.net:/export/ftpbackup/ns524316.ip-xxx-xxx-xxx.net /media/backup nfs vers=4.0 0 0
When ...
1
vote
0
answers
605
views
Need help regarding NFS shares permissions
I recently switched to using Proxmox as my OS of choice from OMV as the main OS and running a bunch of docker containers on the same host. I installed OMV (OpenMediaVault) inside a VM. I passed ...
1
vote
0
answers
343
views
NFSv3 mount options to influence WRITE Calls as FILE_SYNC or UNSTABLE
In the NFSv3 protocol (https://www.freesoft.org/CIE/RFC/1813/27.htm), a WRITE Call can be FILE_SYNC, DATA_SYNC, or UNSTABLE. Are those options influenced by any mount parameters, e.g. mount -t nfs -o ...
2
votes
2
answers
522
views
Force deleted files on NFS server to be recycled instead
I have a RHEL 7.9 server I'm using as a file server. It exposes an XFS partition over NFS for clients to mount and use. I am willing to use a different filesystem than XFS if need be, but I cannot ...
2
votes
2
answers
1k
views
How to specify a specific bind address for nfs-kernel-server on Debian 11.4
I simply refuse to believe this is somehow not a feature, I need to get NFS to stop listening on the IPv6 addresses of a server, and also restrict which of it's IPv4 addresses it listens on as well.
I'...
2
votes
1
answer
2k
views
How to perform healthcheck on NFS clients connectivity from the NFS-Server?
I have three Debian 11 servers let's call them nfs-server which is the NFS server, nfs1, and nfs2 which are the NFS clients.
I want to perform some sort of health check from the NFS server to ensure ...
2
votes
1
answer
2k
views
write cache in RAM for NFS?
is there a way, solution for a Linux server (SLES) to put write (or even read) caching in RAM?
Having big RAM, ex.: 2 TBytes, but limited NFS IOPS and we need a big IOPS for DB files, stored on NFS.
0
votes
1
answer
80
views
NFS read-only export security considerations
Almost all articles about NFS security refer to clients faking uids to access files they are not supposed to.
My concerns are different. My only export is read-only and effectively public (not exposed ...
0
votes
0
answers
184
views
NFSv4 with Kerberos takes a long time to mount
I have an NFS server with Kerberos authentication (Debian 11). If I want to mount a share on a client for the first time after a restart, this takes 10-12 seconds. If I then mount another share from ...
1
vote
1
answer
284
views
NFS + SMB sharing file locks
Is there any way to share file locks between samba(smbd) and nfs(-kernel-server)?
I assume that this is hard to impossible on most linux distributions. The regular smb/nfs implementations have no way ...
1
vote
1
answer
729
views
Running NFS server on Kube StatefulSet pod
I have a Kubernetes cluster setup with 2 StatefulSets in a Kube Namespace:
NFSserver Statefulset defined with a "headless" service that has 1 pod with an attached persistent volume and ...