Stack Exchange Network

Stack Exchange network consists of 175 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]

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

0
votes
0answers
12 views

How can I detect directories mounted via LDAP?

Is there any simple method where I can find information about mount points mounted via LDAP on Red Hat Enterprise Linux?
0
votes
0answers
25 views

How can I get a non-blocking network file share between windows and linux PCs

I have a file share server (samba daemon) running on a Debian server at a local network. My never-ending problem is that whenever I leave the local network (take my notebook to work, or outside) my ...
2
votes
0answers
31 views

NFS mounting issues

Having a really weird problem with NFS mounts. When I mount my exports on my clients the directory and the files within are readable, but I can't write to the exported directory from the client ...
0
votes
1answer
23 views

Ext4 - Last write time

I'm currently looking at an issue with data loss and was using the tune2fs utility, and I was wondering what 'Last write time:' refers to. The volume is written to constantly and backups confirm that ...
0
votes
0answers
14 views

Unable to mount from the newly added second interface of a Ubuntu NFS server

I have a Ubuntu NFS server with single interface (just one IP address i.e 192.168.1.13) configured for both network and storage traffic. To avoid performance issues, I have got the second interface ...
0
votes
0answers
25 views

nfs share error

I have a error in configuring nfs share. not able to view the nfs directory after showmount command.
0
votes
0answers
36 views

nfs problems with jumbo (MTU=9000) but works with default (MTU=1500)

I have a local network set up between two servers running ubuntu 18.04 server. They are connected by a 10G network switch (actually 2 bonded connections 10G each). For performance reasons, in /etc/...
1
vote
0answers
21 views

sm-notify: bindresvport on RPC socket failed: Cannot assign requested address

Can't figure out how to make sm-notify work. I've added hostname entry with related IPv4 to /etc/hosts $ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ...
0
votes
1answer
52 views

How can I see who and where is currently mounting at on my PC via nfs?

I thought the UNIX command showmount -a shows the current info of nfs: who is mounting on, and what directory of my computer it is attached at. But, when I use this command, it replies nothing like: ...
1
vote
3answers
74 views

List of nfs mounted filesystems in AIX

I wanted to get the list of nfs mounted filesystems from some file present in the AIX machine. Is it present in some file? Currently, the only way that I know, is using mount system call and then ...
0
votes
0answers
19 views

How configure multiple server nodes to do computation for not-root user?

Suppose that I have a 4 server nodes but I am not root user. Password-free login has been implemented between nodes. If I want to call multiple nodes for computation, how should I configure it, ...
2
votes
1answer
56 views

What's the difference between `nfs-server` and `nfs-kernel-server`?

Autocompletion shows $ sudo service nfs- stop nfs-blkmap nfs-common nfs-config nfs-idmapd nfs-kernel-server nfs-mountd nfs-server nfs-utils ...
0
votes
1answer
27 views

where and how are the NFS server and its client running?

https://unix.stackexchange.com/a/97764/674 says that nfs service isn't userspace process Another option is that the socket doesn't belong to a process, it belongs to the kernel. One common example ...
5
votes
4answers
125 views

Protecting access to NFS shares in Docker

I would like people to access NFS shares from within Docker. Problem is inside of Docker they can become root, and then they can have write access to anyone's files by becoming that user. Is there a ...
0
votes
0answers
8 views

Diskimage (qcow2) size on NFS in the context of virtualization

We are running a KVM virtualization platform with NFS as storage backend. The disk images are qcow2 files (This is "as-is" and we cannot change the setup). Now we need to move a rather large VM with ...
0
votes
0answers
42 views

AutoFS with nfs does not show files in mount point

I tried to practice on autofs and something do not work as excepted. I have the following Scenario : Debian NFS SERVER : 192.168.1.32 Centos7 nfs Client: 192.168.1.99 /etc/exports on NFS SERVER : ...
1
vote
1answer
29 views

Wrong charset when mounting NFS share on OpenBSD

I have a NFS server running on a Fedora 29 machine and other machines on my network (an Ubuntu box and a Debian VM) mount it properly. But when I mount it on an OpenBSD VM, the charset is wrong, for ...
1
vote
0answers
17 views

Roaming home folder : exempt specific file from roaming

At my high school we have computer labs totaling 80 Debian desktop machines, used by roughly 2000 users. Currently only the users' documents are roaming via the newtork, not the home folders per se, ...
0
votes
1answer
33 views

centos and kerberized nfs works fine but only for nfs3

I want to mount a nfs4 kerberized share. I'm on centos7, the kerberos server is Freeipa,the client is centos7. The problem is my configuration is working for nfs3 but not for nfs4. First I put my ...
2
votes
2answers
307 views

Why are samba client and NFS client used differently?

Can you compare why samba client and NFS client are used differently? For example, Why do I have to mount a shared directory on a NFS client side, while I don't have to for samba client side? In ...
0
votes
1answer
50 views

Does systemd by default start a service upon booting OS?

https://unix.stackexchange.com/a/197682/674 says All services are "disabled" by default; "enablement" is opt-in. Is it correct? After I run sudo apt install openssh-server why is sshd ...
0
votes
0answers
280 views

mount.nfs: access denied by server while mounting <SERVER_IP>:/mount/test

Have a strange issue with mounting an NFS share. Server: OS Debian 9. /etc/exports: /var/www <CLIENT_IP>(rw,sync,fsid=fd095945-8ace-4f31-b349-91bf805ca2ea,no_root_squash,crossmnt,insecure,...
3
votes
0answers
43 views

Can't Export Any Directory Off My Home Directory - Ubuntu 18.04

Whenever I make an NFS export on a folder off my home directory I get the error below (appreciate this example is too brief, but the next set of code shows how I got here): $ sudo exportfs -ar ...
3
votes
0answers
139 views

Failed writes after a while on mounted nfs volume

I have mounted an nfs drive on the machine. I can see it with the following command: $ df -aTh | grep nfs … unrelated volumes … 10.200.30.100:/export/pvc-70..1d nfs4 976M 2.0M 907M 1% /var/lib/...
1
vote
0answers
35 views

systemctl restart X causes Connection reset by peer

I have a google compute instance with a startup scrtip that executes systemctl restart nfs-kernel-server, which causes the following errors: Jan 27 14:32:15 nfs startup-script: INFO startup-script: ...
0
votes
1answer
103 views

How to store an rsync backup of my system on a NFS mount?

I'd like to use rsync to make a backup of my complete system including files owned by root and myself as well as other system and non-system users. I'd like to be able to restore the source directory ...
1
vote
0answers
98 views

NFS Mount and Subfolders

I have problems with exporting NFS shares and accessing subdirectories. I exported /srv/nfs, by adding this line to /etc/exports: /srv/nfs/ *(rw,no_root_squash,fsid=0) I can mount /srv/nfs ...
1
vote
0answers
81 views

Why do I have duplicate bind mounts?

I'm curious if someone could explain to me what causes the odd scenario where we have a duplicate mount that appears cyclical on Centos 7 when binding a nfs directory? In our hosting environment we ...
1
vote
1answer
23 views

iptables, rpcbind, nfs (v4) - vagrant cannot mount

The setup debian 9.6 vagrant 2.2.3 VMs are all configured in vagrant as private network with static IPv4 in address space "192.168.3.0/24" as far as I discovered NFSv4 and later is listening to TCP:...
1
vote
0answers
206 views

NFS Issue w/ one mount (stale file handle)

I have 5 NFS exports from an NFS server. From the NFS client, I can connect to all except one I keep getting "Stale file handle". The only difference I can see is that the NFS exports are on different ...
0
votes
0answers
29 views

Problem with iozone on NFS share

I'm doing some tests with iozone. I use this command : sudo iozone -a -c -e -i 0 -i 1 -p -f /mnt/nfsshare/iozonetmpfile -U /mnt/nfsshare I can't figure out why iozone keep tell me this : umount.nfs: /...
0
votes
0answers
73 views

how to optimize performance of nfs running inside Strongswan ipsec transport on 10Gb network

Host1: Ubuntu 18.04 Host2: Freebsd 11.2 Here is my situation... I have 2 hosts on a 10G lan that have Strongswan IPsec transport configured between them to secure nfsv3. (Yes, I know nfsv3 is old ...
1
vote
0answers
20 views

Embedded Linux: Setting up NFS (or any service) in a portable way

If I have a read-only file system, but with a read-write overlay on /etc, is it possible to run NFS service (or any other service) via a USB drive, as if the service is a portable application? Note: ...
3
votes
1answer
70 views

Why would NFS have lag after a minute of inactivity?

I am running a version 4 NFS server on a Salix server with kernel 3.10.17. I am mounting the NFS share with the command sudo mount -t nfs 10.0.0.150:/share /mountpoint on my client machine, which is ...
-1
votes
1answer
31 views

How to sync ram disk of one server to another

I have created ram disk as /mnt/ramdisk/test in both server A and B. Where I will be writing dedicated content in each server's ram disk. Now, i want the content of ram disk in server A to sync with ...
2
votes
0answers
371 views

Idle timeout for NFS share mounted with systemd automount

What I want to do? I want to configure my /etc/fstab so that my NFS share was: mounted automatically when accessed (auto-mount on-demand), unmounted automatically after specified idle timeout (x-...
0
votes
0answers
58 views

NFS R/W mount and permission

sudo mount -t nfs 192.168.0.49:/mnt/HD_a2 /mnt/nas sudo chmod -R 777 /mnt/nas/Family/Photos/iphone_08-2014 chmod: changing permissions of '/mnt/nas/Family/Photos/iphone_08-2014/._IMG_0602.JPG': Read-...
0
votes
1answer
197 views

NFS Share Permissions - on Debian

server: machine-1 client: machine-2 or any machine in the allowed-subnet. I have created NFSv4 server on machine-1: How can I ensure that: in the NFS folder all newly directories from machine-2 to ...
1
vote
1answer
252 views

Rsync - write permission denied

I use rsync on Windows (Cygwin), where I move files from shared folder (from another Windows instance) to NFS storage. I have mapped the shared folder to one drive and mounted the NFS folder to ...
1
vote
0answers
146 views

Problem with NFS mount when FS is shared for all clients however works when a specific client network is specified [closed]

I have shared a File System over NFS with ro permissions for all clients using * . But on client side it is not able to mount it, however sharing that FS for a subnetwork where the client is, mounting ...
1
vote
0answers
172 views

Files mounted over NFSv3 are owned by 4294967294 [closed]

I have a windows 2016 server which I added "server for nfs" role on and shared a folder using nfs permissions. On my Centos 6.4 server I have mounted the directory which I have shared on windows 2016 ...
0
votes
1answer
31 views

How to only export the folder “Documents” under /home/ <users>?

I need to only export the folder "/home/%USER%/Documents" for all the users. How can I do to configure my /etc/exports file. system: CentOS 7 Service: NFS-server I did try to use regex syntax in /...
0
votes
0answers
244 views

How to secure or disable rpcbind while being an NFS client?

I am having a publicly reachable Ubuntu 18.04 LTS server I installed nfs-common so that I can mount a remote NFS share for creating backups which is secure and not publicly available. nfs-common also ...
-1
votes
2answers
98 views

How to escape wildcard in path when using sudo -u <username> command [duplicate]

I need to access a file on an NFS fileserver where root squash is turned on. I'm using bash on Arch Linux. I am using this type of command: # sudo -u authduser ls /mounted/filesystem/path/aa.user.js ...
0
votes
0answers
48 views

Allow www-data to read files from NFS share

I have a virtual machine in a larger Linux network (with unified UIDS/GIDS) that has mounted an NFS share from a fileserver. I want to run a small nodejs server application on that machine. For ...
0
votes
1answer
229 views

Docker SELinux Error on mounting NFS volume to container

I've created a NFS volume with docker volume create --driver local --opt type=nfs --opt o=addr=preisschild-server-2.lan,rw --opt device=:/mnt/tank/MariaDB MariaDBData which seems to work, but when ...
0
votes
1answer
146 views

Does NFS requires a directory with full permission in order to share with other clients?

I have set up NFS share and it is working properly with 770 or 777 permission on the directory but the minute I have the permission for the group like 760 or 750 then it stops work and I can't access ...
0
votes
1answer
45 views

Abort slow NFS operation

I'm connected to a server via ssh, on that server I'm trying to access an NFS directory. However, due to connection issues, basic commands like ls sometimes, but not alway, take forever to complete ...
4
votes
1answer
609 views

Stale NFS File Handle why does fsid resolve it?

Problem statement (note that this problem has been solved, but there is a question about why the solution works) The NFS server is Ubuntu 16.04.4 LTS. The clients are a mix of Ubuntu 16.04.4 LTS and ...
1
vote
1answer
347 views

Why do I temporarily get 'Input/output error' reading a symbolic link in a NFS mount?

I use scp to copy some files to a XFS local partition on a file server host and create a symbolic link to new deployed files locally though SSH. That partition is exported through NFS and mounted on ...