Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nfs]

Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems 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.

1
vote
0answers
28 views

NFS Server IPv6 best practices?

I have a NFS server that only has exports for 10.0.0.0/16. I'm enabling IPv6 on all my network (homelab network), and want to switch all services to prefer ipv6 if possible. With that being said, ...
0
votes
0answers
11 views

How to check the application i/o type

I want to check my NFS performance. Here I am trying to launch the application and I want to check the IO latency. Here I am using ioping to check the IO latency. As ioping has a different I/O type, ...
0
votes
0answers
27 views

rsync spawning excessive threads

The objective is to use rsync to synchronize a daily single .gz backup file. The command is: rsync -auvx /backup/source/*.gz /save/dest/ The files are on two separate systems; the source is mounted ...
0
votes
0answers
48 views

Linux NFS unsupported protocol error after power failure

Everything was smooth until a power failure. One of my servers and a client are both running Xubuntu 18.04. This server has internal 4T data disk and an 8T external USB backup drive mounted at /A and ...
0
votes
0answers
19 views

random ports blocked on client's firewall when mounting nfs share - why?

Could you help me, how can I prevent this? Every time, when I mount an nfs share, I see 6-7 blocked packets in the client's firewall log. These packets come from and to random tcp ports, but they are ...
2
votes
0answers
38 views

How to configure NFSv4 only server in CentOS 6.10

I am trying to configure NFSv4 only server in CentOS 6.10 I've disabled NFS v2 and v3 using this conf file /etc/sysconfig/nfs MOUNTD_NFS_V2="no" MOUNTD_NFS_V3="no" RPCNFSDARGS="-N 2 -N 3" I ...
0
votes
0answers
35 views

ReadOnly overlayfs from multiple NFS mounts

I am trying to use overlayfs to overlay multiple nfs mountpoints. Since I only need read-only access, I did not include the upperdir and workdir options. My command looked like: mount -t overlay ...
0
votes
0answers
26 views

file_handle structure in NFS

As I see in manpage, the structure of file_handle is: struct file_handle { unsigned int handle_bytes; int handle_type; /* File identifier. */ unsigned char f_handle[0]; }; As I know up to ...
2
votes
0answers
85 views

mktemp in a docker container fails, but touch works

I am in a docker container, with an NFS volume mapped. In a directory inside the volume, I can create files by touch or other methods, but not using mktemp: $ ls -ld /home/share/scripts/...
2
votes
0answers
762 views

How to share a directory on a Linux machine to a Windows machine via NFS?

What are the full steps one needs to do to mount a directory from a Linux machine as a network drive on a Windows machine via NFS? Incomplete answer: Linux side: Install the NFS server and ...
0
votes
0answers
18 views

Why, if NFS is sharing the destination, is it recommended to use rsync --omit-dir-times?

From the rsync manual: -O, --omit-dir-times This tells rsync to omit directories when it is preserving modification times (see --times). If NFS is sharing the directories on the receiving side,...
1
vote
1answer
95 views

Why does rm over NFS not free space immediately?

I'm on a SUSE Enterprise server which has mounted a drive via an NFS mount. I have created a 34GB file via dd if=/dev/Zero of=test_file bs=8k Count=4194304 to test the write speed of the NFS share. ...
1
vote
1answer
89 views

Why NFS shows 100% but actual disk usage is some MB only

We have an issue with one of the NFS as its showing 94% usage as per df but actually some 10 BM only used. # df -h |grep lv-new-1401 cbjserver:/f04780/lv-new-1401 10G 9.4G 650M 94% /var/lib/...
0
votes
0answers
41 views

External storage on rpi2 stops working every once in a week or so

I have a raspbian on rpi2 with an external hard disk connected to it through USB. The hard disk is a 1TB seagate with its own power supply. The hard disk is mounted locally and shared via nfs. The ...
1
vote
0answers
75 views

How to access NFSv4 shared folder with Kerberos authentication without root rights

I'm setting up a NFSv4 shared folder with Kerberos authentication. The issue I'm facing is that when the user on the client machine runs mount /mnt (see the fstab configuration below) he's not able to ...
0
votes
1answer
43 views

Not able to write in NFS share with same user and group

I have a local server with shares for the local computers to backup stuff on. The server has a backupuser(1002:1002). The client has the user alex(1000:1000) who is also in the backupuser(1002) group ...
1
vote
1answer
186 views

Unable to connect win10 to linux nfs server

I am running a server with arch linux and it is for all intents and purposes an nfs server atm. It is up and running and everything works wonderfully. I am able to connect from both my laptops (...
0
votes
0answers
186 views

Permission denied on NFSv4 shared directory with authentification with SSO (openLdap + Kerberos)

I'm trying to set up Single Sign On (SSO) with Kerberos and LDAP but I have an issue with NFSv4 with Kerberos for authentification and encryption (krb5p) service. My environnement: 1 server (...
2
votes
1answer
162 views

Strategy for File System Permissions On KVM Shared Folder

I have a Ubuntu/KVM hypervisor environment that has access (via NFS) to ZFS data sets (aka file systems). I have been hosting the VM images on a ZFS file system which, although not the fastest thing ...
0
votes
1answer
54 views

Solution for shared filesystem among loosely coupeld clients

I am looking for a solution for the following network setup (think university): Clients are mainly Laptops or PCs with their own local users / groups / system. They should be able to work without a ...
0
votes
1answer
30 views

How to share a folder on a computer behind a router to nodes outside the router?

I want to share a folder on a computer X to several other nodes, say A, B, C, which are on the same LAN. X is behind a router, and the router's IP address might change over the time (it's DHCP-...
2
votes
0answers
247 views

How to find out which client has file lock on NFS

We have a Centos 7 cluster backed by NFS4. There are some files on it that running flock with LOCK_EX blocks (and with LOCK_NB returns resource temporarily unavailable). Only a handful of files, ...
1
vote
0answers
16 views

How share new dynamically created folders?

I developed an app in java, and this app run on Apache Tomcat 9. My app create some folder and files dynamically. I want to share this files and folders via NFS. NFS config is as follow: /home/noor/...
0
votes
1answer
316 views

nfs mount access denied using Ubuntu 18.04 Vmware client and OSX Sierra host

I'm trying to nfs share a directory from my OSX machine to be mounted by an Ubuntu client (VM). I feel like I'm missing something in regards to access permissions. When I try to mount the nfs share, ...
0
votes
0answers
311 views

How to view audit logs on the nfs server

I'm trying to do a nfs share. I've configured the share. Now I want to view the logs associated with the files in the nfs share. I've created a centralized log server. I don't know the difference ...
0
votes
0answers
37 views

networking - router/gateway during a power outage

I have two computers connected via Cat 5e to a simple switch (dumb). The switch itself is wired (Cat 5e) to my home router. The router is also the LAN gateway: router: 192.168.0.1 computer 1: 192.168....
0
votes
0answers
59 views

How to find the client IP/name from the audit logs

I'm auditing the files in a nfs share. When I look at the audit logs using the command ausearch -f /var/nfs/general , I get some logs that looks like this: In the server side: time->Tue Jun 12 16:...
2
votes
1answer
376 views

Terminal hangs when mounting/doing showmount

I am creating a NFS share. I've configured the NFS server and also the NFS client. My share was working perfectly fine until yesterday and now I found out it doesn't work. I redid all the steps of ...
0
votes
1answer
267 views

System logs written to an NFS mount

Today we had an issue with a Linux server that filled (100%) it's entire root (/) partition due to a misconfiguration in postfix that led to a huge /var/log/syslog file and yesterday we started using ...
1
vote
0answers
206 views

How to Set Mac OS X LDAP to Use Remote Home Folder

I have a MacOSX El Capitan machine that uses LDAP for authentication. This part already works and I can log onto the machine with LDAP accounts. I set the NFSHomeDirectory as #/Users/$uid$ which ...
0
votes
1answer
64 views

Disallow NFS parent directory sharing, how?

I have /etc/exports like this: /data/mydir1 *(rw,sync,no_root_squash,no_subtree_check) /data/mydir2 *(rw,sync,no_root_squash,no_subtree_check) From clients, I saw I can mount ip_of_nfsserver:/ or ...
0
votes
1answer
535 views

Mount point permissions changing after `mount -a`

I am using my raspberry pi as a plex server and have having serious problems with one of the shared folder... Related to my Synology NAS All three are on my local network Synology NAS: "music" is ...
1
vote
1answer
154 views

autofs mounts in parent directory

For many years I have a problem with autofs, now. I thought there was a bug in the autofs version in my repository. Unfortunately, even after several system as well as distribution upgrades covering ...
1
vote
0answers
20 views

Ubuntu offline shared folder

So I've got a PABX (Ubuntu) that records calls to /opt/recordings. Because this folder can get very large I don't want to keep it on my fast storage so I moved it over to our slow iSCSI storage. So /...
1
vote
0answers
149 views

Fedora 26 hangs on reboot

I'm using fedora 26 and i keep getting these weird hangs on reboot, they are not consistent (I can reboot 20 times and it would work fine, and reboot 20 times again and it will hang). The last ...
0
votes
0answers
133 views

NFS server unavailable, client timeout doubles on each access

I have a linux client mounting a linux server's NFS share using autofs. This works fine until the server goes down. The mountpoint autofs takes care of refuses to react to ls and any other commands. ...
0
votes
0answers
62 views

rsnapshot doesn't backup new folders

I am facing a weird behavior with rsnapshot. I am using it on a dedicated backup server to backup several machines. One of them is nextcloud. The data folder is mounted to the nextcloud VM under /...
0
votes
1answer
1k views

nfsd: last server has exited, flushing export cache

Brief Summary on the issue: NFS share on a CentOS6.9 system properly mounts and displays the directory when mounted on a Windows or Linux system but has trouble displaying the directory when mounted ...
2
votes
1answer
239 views

NFS mount is readonly after NFS server reboot

I have mounted nfs drive on /data, but even root user can not write to it. On nfs server I can easily read and write but any client can't. That started when nfs server went down for few minutes. /etc/...
0
votes
2answers
123 views

How to mount local directory to remote hosts?

I'm doing some experiments with some computers I have, I have the following scenario local network host1 [ubuntu] vps [internet] host2 [CentOS] I have an external hard disk connected to the ...
1
vote
0answers
72 views

NFSoRDMA support using MLNX_OFED and Linux Kernel 4.4

We are trying to use the latest MLNX_OFED v4 with SLES12 SP3 and Kernel version 4.4.73-5. The MLNX OFED v4 package does not support RDMA (for some reason this was dropped). We tried to download the ...
1
vote
0answers
298 views

Best NFS settings for media streaming between CentOS 7 and QNAP [closed]

tldr; What are the optimum NFS settings when the share is being used to stream media. I'm looking for help in setting up my NFS share between my Mac mini (2011) running CentOS 7 and my QNAP. The ...
0
votes
1answer
437 views

Unable to write to mounted nfs directory

I don't really know what I'm doing here, so I apologize for any lack of clarity or precision. I have a Fedora 27 workstation and server. The server is configured to share a folder called /home/nfs on ...
0
votes
0answers
48 views

Is it a good idea to use a NFS Server for data space for other virtual machines?

I have been able to get an old server from my work place and I want to use it now as a home server, and to experiment with it among other things. It consist of: Six core Xeon 5650 32 Gb Ram 8x146Gb ...
2
votes
0answers
72 views

Vagrant Mount Command error

I have a vagrant set up that was built by someone else at my company. Other co-workers say it works for them on their (similarly configured) apple laptops. When I run vagrant up, I get the following: ...
0
votes
0answers
206 views

Nvidia Shield TV - mount distant server

I would like to know if it is possible to mount a distant server (Synology DS216+) to an Nvidia Shield TV 2017, using the Nvidia Shield interface. I have already done it to mount local volumes, but ...
0
votes
0answers
582 views

Error mounting NFS folder on windows 2012 R2 client

I am trying to mount NFS folder on Windows 2012 r2 client` and facing below error: C:\Windows\system32>mount -o anon \\10.1.1.5\interface\ABCD Z: Network Error - 53 Type NET HELPMSG 53 for more ...
2
votes
0answers
181 views

no dns server on nfsroot with systemd-networkd

I've created my own Sysroot with Yocto and mounting it via NFS on an ARM-Board. It uses systemd-networkd and systemd-resolved for networking. I am starting the board like this: U-Boot Bootloader ...
0
votes
1answer
694 views

Proxmox - sharing storage across VMs on different subnets

I have a question how I can share a disk across different home network subnets (e.g. 192.168.1.1 and 10.0.0.1) to different VMs. Within the same network subnets I just put up an NFS storage, but how ...
0
votes
1answer
1k views

NFS Mounts on High Sierra (and autofsd mounts)

NFS Mounts stopped working after upgrade to High Sierra. This is specific to a QNap NAS as our Synology NAS is still mounting as expected. Mounts are exported NFS 3. mount -v -o rsize=32768,wsize=...