Questions tagged [nfs]

nfs (Network File System) created by Sun Microsystems. NFS allows a client system to access network files as if local.

Filter by
Sorted by
Tagged with
1
vote
1answer
28 views

Rsync does not preserve timestamp if ownership change fails

I'm trying to sync data to a NFS share while preserving timestamps. Original file: -rw-rw-r-- 1 simon simon 1554756 Apr 18 2017 IMG_0578-Bearbeitet.jpg Used rsync options are -avh --progress. ...
0
votes
0answers
10 views

How can I check if the network interface used for an NFS mount is connected?

I have an NFS server that I connect to using different networks depending on circumstances. Sometimes I might use Ethernet, sometimes I might use Wi-Fi, sometimes I'm connected to a different network ...
0
votes
0answers
21 views

Force NFS server to start after iSCSI targets connected

I have a Ubuntu machine that takes an iSCSI block, mounts it as ext4, then exports it as an NFS share. On boot, NFS fails to start as the iSCSI directory mounts have not loaded yet. "exportfs: Failed ...
0
votes
1answer
21 views

NFS mount fails on boot although IP Address is configured

I am trying to mount my NFS shares at boot time on a Raspberry Pi 4. It does not work and systemd complains that the network is unreachable. Manually mounting each shares works as expected. I have ...
0
votes
1answer
51 views

du AND find -ls

I have a Solaris 10 server that has mounted a remote filesystem via NFS. I believe the remote system is a NetApp, but it's not clear. When I run df -h <mountpoint> I get size 12T, used 10T ...
0
votes
0answers
18 views

NFS4 “Stale file handle” after server reboot

I've researched a lot on this and have concluded that this is actually a bug of Linux NFS, as all similar questions don't have satisfying answers, like, Stale file handle after server reboot "...
0
votes
3answers
39 views

How to install nfslock daemon

I want to learn the NFS locking mechanism I surfed on net. Using nfslockd or rpc.lockd we can do. But in Debian there is no package. Anyone please help me whether shall we do or not in Debian.
0
votes
0answers
12 views

NFS sync issue: ssh-remote file creation taking too long to be registered locally

We routinely run make or scripts via ssh on another (let's call it "remote" even though it's in the same LAN) machine, to use the software installed there. Both the local and remote machines operate ...
0
votes
0answers
16 views

Unmount data volume hosting NFS exports

So I've got a customer with two NFS server setup in a pacemaker cluster active/standby configuration. It is a legacy system running RHEL6. On the servers there is /mnt/data1 which is an xfs mountpoint ...
0
votes
0answers
33 views

Permission issues with NFS exporting FUSE (mergerfs) filesystem (git permission issues)

I have a mergerfs filesystem /data which merges /data1 /data2 /data3 /data4, each of which are ext4 filesystems. I am exporting the directory /data/coihome (actually a directory in /data3) via NFS to ...
1
vote
1answer
43 views

why does NFS require synchronized system clocks?

In multiple tutorials abouts setting up NFS, there are recommendations about setting up NTP as well to avoid differences between the clocks of the different systems. Do clock drifts affect the file ...
1
vote
1answer
22 views

Some directories empty in mounted NFS directory

From a client computer running macOS I connect to a directory on my Debian server on the local network using the address nfs://192.168.0.14/mnt/archive/foo. The strange thing is that some directories ...
0
votes
0answers
39 views

Issues with NFS share - unable to mount

Ahoy friends. Today i set up my PXE server using dnsmasq as DHCP proxy as well as tftp server. I wanted to set up a grub menu to be able to run Windows ISO files in EFI and Legacy mode, depending on ...
0
votes
0answers
24 views

Set up nfsroot for GRUB PXE

Ahoy friends. Some time ago i had a similar question but now im closer to the solution. I set up a simple grub menu on my tftp/pxe server. I want clients to be able to boot iso files in efi as well as ...
0
votes
0answers
11 views

stat command unable to update the modified Time for a mounted file, but when mounted through shell , stat works

I am using stat command to check if the mounted file got updated recently, when I issue mount command on bash i can see stat works, where any modification to the mounted file updates the Modify time ...
0
votes
0answers
81 views

How to mount Raspberry Pi directory to Asus RT-AC68U Router

An Asus RT68U is outfitted with Merlin Firmware and USB flash drive. A Raspberry Pi is pinned to a static LAN IP address at 192.168.1.115. The goal is to mount a raspberry pi directory to the RT68U. ...
0
votes
0answers
11 views

Run httpd as domain account for NFS-mounted storage

I have this VM running CentOS 8 that hosts a web app. I want the files for the web app to be hosted over NFS on a dedicated file server so I don't have to deal with virtual disk sizing (because they ...
0
votes
0answers
48 views

Linux groups lose write permission on new directories (NFS)

I have an NFS server with many individual users, and each user has exclusive write access to their personal directory. Some users want to have spaces where their teams can write in directories, ...
1
vote
0answers
75 views

CentOS 8 NFS - showmount hangs

I have NFS server running on Rhel 7.7 and trying to mount from CentOS 8.. Mounting itself works fine, i can mount it and it works, but when i try just to search for shared folders by showmount -e it ...
0
votes
1answer
27 views

Firefox file browser across NFS mount

On Rhel 7.6 / firefox 52.8.0 I'm trying to navigate through my filesystem via the firefox URL using an entry like file:///tmp. Certain directories are showing up with access denied errors. Most ...
1
vote
1answer
49 views

Stale file handle after server reboot

I have an NFS server on a Pi 4 which works rather well except I'm often getting "Stale file handle" on the client after rebooting the Pi. That is while the client has the share mounted, the Pi reboots,...
0
votes
1answer
11 views

start-stop-daemon - strange behaviour

My setup There is a box containing an NSLU2 (aka a "slug") controlling a church heating system and running Slugos (which is essentially Linux 2.6.27.8 - the IOT tends to be running somewhat ancient ...
1
vote
1answer
38 views

What size blocks does NFS server write to disk?

I am trying to calculate required IOPS for a fileserver, and to do this I need to know the typical block size. I know that NFS clients can use rsize and wsize to specify how much data is sent over ...
0
votes
0answers
46 views

Permission denied to NFS directory 0770

In my workplace we have a shared NFS storage mounted on a computing cluster. The working group's parent directory and each user's directory in it have 0770 permissions so we should be able to have ...
0
votes
0answers
17 views

Is there an easy way to restrict users to their home directory using NFS?

With FTP you can configure the vsftpd.conf file and use "chroot_local_user=YES" to restrict users to their home directory. Is there a way to do something similiar but with NFS? (network file system) ...
0
votes
0answers
18 views

Solaris automount hanging after hostname change

Having spent most of my time on Linux boxes over the years, I found myself inadvertently changing the name of a Solaris 10 zone by issuing a hostname -f command. In Linux, this is "show me the host ...
1
vote
0answers
62 views

Are file deletions in Linux's implementation of NFSv3 synchronous by default?

I see that the NFS client can be instructed to make file writes synchronous via the sync mount option or the O_SYNC open flag (as they are asynchronous by default), but I don't see any indication of ...
1
vote
0answers
49 views

Mount overlay directory containing NFS shared mount

I have a directory /tmp/usr/usr. In this path I mount NFS share from an other machine: mount -t nfs IP:/export_path/usr /tmp/usr/usr The contents of the remote /usr is there. But when I try to ...
1
vote
0answers
35 views

Rsync bottlenecks

Are there options to diagnose rsync bottlenecks, in particular to figure out the read time, transfer time, write time and possibly compression time and other overheads ? In my current case, it's going ...
0
votes
0answers
67 views

NFS IPv6 - configure server,client,firewalls, update

I'm having trouble configuring NFS server and client for IPv6. There is no problem using IPv4 in this but with IPv6 no such luck. My current try is this: server:/etc/exports /export/hat 2001:.../...
0
votes
0answers
19 views

NFS client not see one share

I have separate partitions on server: boot, home, tmp, usr, var, data. I want to share it through NFS. I have created bind mount for root directory to /srv/nfs. / /srv/nfs none bind,nofail 0 0 ...
0
votes
1answer
115 views

Linux gives an ephemeral port that is already used and bind on any interface “::” by the NFS service

I have a Java socket server that was created with ephemeral port (bind with port 0) on "localhost". However, after it is up and running, the netstat shows that there is another process listening to ...
0
votes
0answers
28 views

ACLs on NFS mounted directory

I'm trying to set an acl on the contents of a directory so all members of a group called prod_grp can write to a directory that is NFS mounted from another server. The acl is below: # file: prod-...
2
votes
0answers
23 views

NFS share not showing all directories

I have 2 servers, Server A & Server B. I am trying to share a directory from Server A to Server B at the following locations. Both servers are running Ubuntu Server 18.04.3 LTS. Server A: /home/...
0
votes
0answers
18 views

How can I mount multiple nfs server that mapped on one internet IP?

I have 5 nfs server hosted in IDC, and IDC can only mapping my server's port to same internet IP. So I let IDC did these port mapping: Server A:192.168.0.1:111 -> 118.x.x.x:10001;192.168.0.1:...
0
votes
1answer
55 views

systemd fails to umount manually mounted NFS shares in initramfs

My diskless laboratory computers do not shutdown properly because systemd probably do not handle properly manual NFS mounts in initramfs. I'll describe shortly what is happening: I created initramfs ...
0
votes
0answers
92 views

nfs export to ipv6 client

My NFS exports are accessible via IPv4 to a number of hosts on my LAN. I want to make these exports available via IPv6 so that I can mount them to my laptop when I'm away. When I'm away I can access ...
0
votes
0answers
28 views

Restricting NFS share access to particular IPs or hosts and restricting others on suse

I have created a shared folder /data01/share on one Suse Gnu/Linux and also made entry for host(client) machine in /etc/exports /data01/share  10.241.200.53(rw,sync,no_root_squash,no_subtree_check) . ...
1
vote
0answers
24 views

How to check connection bettween client computer and NAS device

I am using Computer Ubuntu 18.04, and i mount folder /vms-data with shared folder on the Synology device (NAS, IP = 10.0.0.161). sudo mount -t nfs 10.0.0.161:/volume1/VMS /vms-data And the result ...
-2
votes
1answer
56 views

Is NFS a protocol or a program? [closed]

For example . HTTP is a protocol. Client applications are Browsers and Server application can be Apache . Both client and server application communicate via the HTTP protocol . Now is NFS(network file ...
0
votes
1answer
441 views

mount a NFS volume on a container

I have a NFS server that export a file-system. showmount -e nfsserver Export list for nfsserver: /opt/application/aghas0/docker client1,client2 on the client2 server I have mounted the file-system ...
1
vote
0answers
273 views

Specify UID/GID for NFS mount (CentOS 7)

I have two servers svrA and svrB (both CentOS 7), where svrA is a turn-key system so I cannot change anything on it, and svrB is the one I am working on. svrA contains log files I need to transfer to ...
0
votes
0answers
128 views

File size more than allocated nfs space

W.R.T du space more than the disk size I am seeing a similar situation wherein nfs mounted share has been allocated 100G ( as seen in df ) however there seems to be a file with size 2.1TB inside it. ...
4
votes
0answers
298 views

NFSv4 Errors, But Not in NFSv3

I'm working on an NFS solution for RHEL6.5 clients (all VMs) with RHEL6.5 and RHEL7 hosts. Currently, the RHEL7 host with RHEL6.5 clients works fine. The trouble is with the RHEL6.5 host. These ...
0
votes
1answer
44 views

How can i check if a folder auto mounted on NFS share?

There are a folder /collect, i want to determine if this folder are auto mounted on NFS share. I got a method or tips like: "ls /collect" use "mount" to check if /collect on h%svcnfs1:/export/shared/...
1
vote
0answers
23 views

deboostrap overlay-like/union filesystem and network boot?

I'll describe the situation first: I'm trying to create a network booted Linux (Debian) for about 200 workstations. Unfortunately, those workstations become hardware-heterogenous in previous years; ...
3
votes
0answers
239 views

What happens when you disable NFS server delegation?

We are facing issues with NFS 4.1 on RHEL 7.6. We have a lot of applications on this server and GitLab is one of them and it is impacted the most. Excessive NFS network traffic (due to a bug with NFS ...
0
votes
0answers
21 views

Share NFS without sharing top level directory?

We recently had a situation where a user could mount a top level directory even though it was not in the /etc/exports file on our RHEL server. Is there a way to stop this and only share out sub-...
1
vote
0answers
125 views

AWS EFS: unable to mount on amazon linux using amazon-efs-utils

I have created a simple EFS and trying to mount it to my AWS EC2 which is using amazon-linux distribution. I have been following the very simple instructions given there, I login to the my EC2, then ...
2
votes
1answer
80 views

Invisible file footprint (du vs df)

I am aware of the expected reasons that du and df will report differences, however I cannot imagine these would justify the discrepancy I am seeing: [root@example.com mynfsmount]# df -h /opt/...