Questions tagged [nfs]
nfs (Network File System) created by Sun Microsystems. NFS allows a client system to access network files as if local.
1,029
questions
0
votes
0
answers
14
views
NFS mount fails on kernel boot but not bootloader
I'm trying to network boot a Beaglebone Black (rev C3) using TFTP and NFS, the network connection is provided via the serial cable. I'm using U-boot version v2018.05 with am335x_boneblack_defconfig. I'...
0
votes
0
answers
34
views
NFS: mounting root mounts all file systems mounted under it
I was reading about NFS here.
I can't understand the use of mentioning crossmnt with fsid=0.
I observed something weird.
Server's /etc/exports had the following 3 lines
/srv/nfs4 192.168.1.0/24(rw,...
0
votes
0
answers
34
views
Using autofs to mount NFS shares when host is available
I have set up a NFS server on my NAS box, and I can mount the directory on by Ubuntu 20.04 desktop PC.
I have also set up autofs to mount the share, which also works. When I start autofs, the mount is ...
0
votes
0
answers
32
views
Firefox "Access to the file was denied" for file on NFS volume
Using Firefox to open an html file (in fact any file) on a mounted NFS volume gives an "Access to the file was denied" error. Also apparently related problem when trying to upload files to a ...
0
votes
0
answers
41
views
NFS4 performance tuning for use with rsync
To open, I know that this is a bad idea, and should be avoided. However, we currently have no choice as our NFS server is a Netapp SAN, which means we can't just run rsync to the file server.
What I ...
0
votes
0
answers
25
views
Extremely slow file deletion on NFS drive
I have a linux machine (OpenSuse), and there is a mount point on a network drive (NFS). In a folder containing log files (frequently modified), the file deletions (just the rm command) is extremely ...
1
vote
1
answer
68
views
NFS share turned read-only
On an old RHEL 5 server, one of the NFS mounts turned readonly: running touch foo returns an error
touch: cannot touch `foo': Read-only file system
Moreover, in the output of ls -l UIDs and GIDs now ...
0
votes
0
answers
35
views
setting quota on nfs mount - not working
I have some issues with setting quota on an nfs drive, despite following all instructions from chatgpt. Here is the setup:
the nfs server has an ext4 drive, mounted as below (/etc/fstab):
UUID=XXXX /...
0
votes
1
answer
109
views
FreeIPA automount home directory prevents local user home directory creation
I have set up FreeIPA as IDM software for my network and successfully configured a Kerberos aware NFS server and Kerberos aware NFS clients.
When a user logs into a machine, it's user directory on the ...
2
votes
1
answer
32
views
How to set up a bunch of linux servers with shared file system without using job scheduler?
I am managing multiple GPU servers in our lab, which are mainly used for deep learning tasks. We would like these machines to share the same file system, so it is easier to switch between them.
...
0
votes
1
answer
32
views
NFS-Share Broken After Moving Files and Creating a Symlink
On my server I have a directory that I connect to from my desktop with NFS. So in /etc/fstab of the desktop:
storage:/home/storage/Videos /home/sjngm/Videos/storage nfs _netdev,noauto,users,exec,...
0
votes
1
answer
27
views
Adding and mounting a NFS share from RPM installer
I am building an installer for a proprietary SW package that requires an NFS mount to be added, if not already present, to /etc/fstab, and then mounted. I would like to automate this if possible so ...
0
votes
2
answers
122
views
How to make hardlinks across two NFS shares?
Is there a way to make hard-links, from the client side, across two or more NFS mounts, if the shared NFS directories are hosted on a single backing filesystem? (Such that the server would have no ...
1
vote
1
answer
56
views
How to monitor the I/O of a network-mounted disk in a process specific manner?
We have a disk mounted via network. nfsiostat revealed some basic stats for the whole disk:
$ sudo nfsiostat -d /mountpoint
10.20.xxx.xx:/source mounted on /mountpoint:
op/s rpc bklog
7.01
...
0
votes
0
answers
46
views
Proper way to design filesystems structure for a cluster of diskless nodes
I'm trying to learn the basics of Linux clustering so I started designing a really humble cluster:
6 worker nodes (Libre Computer La Frite | Cortex-A53 @ 1.2 GHz | 1GB RAM)
1 master node (Raspberry ...
0
votes
0
answers
24
views
Can an AppImage run from NTFS drive or NFS network share?
I'm on Ubuntu 20.04, and I just saw something that I was never aware of so far.
I wanted to get and https://github.com/mifi/lossless-cut; however, I do not have space on my primary ext4 formatted disk ...
0
votes
0
answers
26
views
How can I mount a functional drive readable by SMART, disk utilities, etc., but that issues an error on at least two Debian 11 installs at mount?
Error mounting /dev/sd* at /media/default/* wrong fs type, bad option, bad superblock on /dev/sd, missing codepage or helper program or other error
After adding a couple of hard drives to one of my ...
0
votes
1
answer
63
views
Solaris 11 and nfs idmapping
A simple problem
With Solaris 11 I create a nfs share
zfs set share.nfs=on rpool/public
my Linux client mount it..
mount solaris2:/var/public /mnt/share
I want to give write access to myuser, i know ...
0
votes
1
answer
134
views
NFS client (ubuntu) froze after a while with openbsd server / FIN_WAIT_2
I have an openbsd server sharing directories through NFS protocol. After I installed a new version of ubuntu on the client, I still mount NFS directories however after a (random) time: nautilus, ls ...
1
vote
0
answers
186
views
Is there any reason to use NFS 3 over version 4.2?
Consider a work environment with 100gbps type Infiniband switches, running on enterprise class servers having 512 GB of RAM and larger, with the operating system being RHEL 8.7 or very close to it.
...
0
votes
0
answers
47
views
Check accessibility nfs mount disk
Server Debian 10
I have multiple mapped network drives, like this:
//10.0.1.101/db/ /mnt/db cifs rw,cache=none,credentials=/mnt/creds/.db,nounix,file_mode=0755,dir_mode=0755,actimeo=1 0 0
//10.0.1.111/...
0
votes
2
answers
68
views
One NFS mounts as nfs-3, another mounts as nfs-4. How do I make them both nfs-4?
I have two NFS exports on my server configured identically in /etc/exports. On my NFS client one always auto-mounts with NFS-3 while the other mounts with NFS-4. I want nfs-4. How do I make that ...
1
vote
0
answers
78
views
Ubuntu NFS mount bind failing
This should be a rather simple question, but all my googlefu has failed me so far. I have an nfs server with a share mounted to my local machine in dir /share/ (rw,sync,no_subtree_check) from there I ...
0
votes
0
answers
52
views
How mmap works with EFS?
We are using vector search engine (qdrant) which is mounted on EFS with mmap configuration.
Recently we started seeing few errors which made us to realise that using database mounted on EFS and using ...
0
votes
1
answer
41
views
how to debug losing nfsroot connection on Centos 7 ? (observing "task blocked for more than 120 seconds")
I am experiencing diskless clients losing connection to their nfsroot server within 24 hours of booting. Initially I thought it was hardware related as i simultaneously upgraded 16 blades from Centos6 ...
0
votes
0
answers
21
views
How can I mount one network share into the mount of another permanently?
I have a system that mounts several network shares through systemd. A dummy systemd unit with RequiresMountsFor them and thus mounts them after the network-online service.
I need a directory from one ...
1
vote
0
answers
291
views
Backup on NFS mount: nfs: server xxx not responding, timed out
My home server (Debian 11, kernel 5.17.1) mounts network shares via NFS v3 from an old Synology DiskStation DS409+ (kernel 2.6.32.12) and does weekly backups on it.
I use rsnapshot as backup tool, and ...
0
votes
0
answers
77
views
SELinux: block access to remote filesystems or external drives for unconfined_t
My current PC spec: Debian 11, default policy (via apt). How to restrict access to files in remote filesystems (nfs, cifs) or external drives on SELinux enforced system for unconfined_t processes?. ...
0
votes
3
answers
191
views
NFS mount groups
I have a number of servers which mount a series of NFS mount points. The groupings of exports used for those mount points defines a 'personality' for each server. Each 'personality' tends to include ...
2
votes
0
answers
381
views
How to use symbolic links on shared NFS drives?
I have two machines on the same network, and both of them have mounted the same external NFS file system (an efs from AWS), at the mount point /mnt/efs/fs1.
I want to do a symbolic link from both ...
0
votes
0
answers
175
views
NFS4 multiple mountpoint and FSID
I have a server which exports 2 mountpoints to a client /etc/exports :
/data/www 192.168.1.10(fsid=0)
/srv/images 192.168.1.10(fsid=1)
On the client side I am trying to mount these mountpoints with ...
0
votes
1
answer
165
views
Force NFS/CIFS retry when FQDN name resolution fails
I originally tried posting this in the Ubuntu forums, but am hoping I will have a wider audience here.
I have a setup in which I am mounting NFS/CIFS in my fstab which are then consumed by a service (...
0
votes
1
answer
381
views
File server for Windows & Linux clients with LDAP authentication
I am facing an issue with implementation planning,
currently using LDAP server & NFS
clients are mixed of windows & Linux, I need to implement a file sharing solution that will cater both ...
0
votes
1
answer
179
views
Slow reading of millions of files in Fuseblk partitions shared over NFS
I have two Linux systems: NFSServer1 (RHEL) and NFSClient1 (Ubuntu).
On NFSServer1, ntfs-3g driver and ldmtool is installed. The NTFS device partitions are mounted by executing the command:
mount -t ...
0
votes
0
answers
77
views
MergerFS creates same folder after moving it
My main setting is :
/mnt/disk* /mnt/storage fuse.mergerfs defaults,nonempty,allow_other,use_ino,cache.files=partial,moveonenospc=true,dropcacheonclose=true,minfreespace=20G,cache.files=partial,fsname=...
1
vote
0
answers
59
views
NFS mounts don't work for some clients
I'm running an NFS server on Debian 11 (Bookworm)
I'd installed the package nfs-kernel-server and have the following in my /etc/exports
/mnt/2TB 192.168.1.0/255.255.255.0(rw,anongid=1000,...
0
votes
1
answer
18
views
When exporting `/dir` on `server`, is it possible to mount `server:/dir/subdir` using NFSv3?
The title should say it all:
If I have a directory structure like this on server, and I export /dir, can clients mount sub-directories of /dir (like /dir/subdir) using "standard" NFSv3, or ...
1
vote
0
answers
34
views
Mounting nfs on populated folder: is it dangerous?
Context: i have a NFS client and a NFS server. The NFS client has a folder named /usr/local/myfolder and it has some files that are too heavy to be constantly moved around.
I want to mount my nfs ...
1
vote
0
answers
59
views
Accessing NFS export locally: data consistency?
System I know has /etc/exports (redacted address range; NFSv4, Linux 5.8.3):
/usr/users 192.168.68.0/255.255.255.128(rw,root_squash,sync,no_subtree_check)
which is mounted on client machines (to ...
0
votes
0
answers
518
views
Unable to Mount an NFS Share with AutoFS
I'm trying to mount an NFS share /data hosted on server_host to a folder also called /data on server_client. I am able to mount it on startup with the fstab file and I am able to mount it on-demand ...
0
votes
1
answer
430
views
NFS4 and remote clients: how to show info?
On Linux with nfsv3 the command
showmmount -d
show the remote client which mount dir on my nfs server.
With nfs4 with a directory remotely mounted the showmount command display nothing.
How to know ...
2
votes
3
answers
847
views
NFS causes linux system to hang, doing ls or df for example
running RHEL 7.9, on LAN using a cisco switch, and cat6 wired cabling. When there is any kind of network issue, and sometimes not a network issue from what I can tell, linux will hang because of NFS, ...
0
votes
1
answer
903
views
Are there other Linux-to-Linux network mount method besides NFS? [duplicate]
In Linux,
specifically RHEL/CentOS 7.9, but anything equivalent or of a later version...
if I wanted to mount a folder/directory from another Linux system across a network,
all I am aware of is NFS, ...
0
votes
0
answers
184
views
why can I delete a root owned file through samba share that is an NFS mounted folder?
RHEL 7.9
a server having the physical mount of /data has SELINUX as enforcing with the selinx bool samba_share_nfs set to on; this /data folder is NFS exported
a few NFS client servers mount this /...
2
votes
0
answers
652
views
Docker cannot mount to a directory from nfs share
I have an nfs share setup from my NAS with the docker host.
10.237.1.128:/mnt/storage/media 15T 47G 15T 1% /storage
I am trying to mount a container in /storage/media/library but I get.
...
0
votes
1
answer
143
views
NFS partition is not mounted while `mount` shows it does
There are 3 servers where NFS (ver.4) partition is mounted. Servers A & B are just fine, however on server C partition is mounted not properly. Changes are made on servers A & B are not ...
0
votes
0
answers
209
views
SSH SCP stalled cause
Can a Cisco enterprise network switch... I suspect it's really a router, but it's being used [at work] on a LAN within a single room throttle traffic? Specifically scp, and also nfs?
Because I've ...
0
votes
0
answers
138
views
'nfs-server' state in 'service_facts' is wrong and differ from 'ansible.builtin.systemd'
Running a CentOS 8 Stream server with nfs-utils version 2.3.3-57.el8 and using ansible-playbook core version 2.11.12 with a test playbook
- hosts: server-1
tasks:
- name: Collect status
...
2
votes
1
answer
208
views
rsync hangs after 100% to-chk output
I have an NFS mount of /backup and it is
type nfs4 (rw,nosuid,noexec,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,,clientaddr=192.168.1.2,...
0
votes
0
answers
29
views
What are possible states of remote computer after power outage?
I have remote computer to whos LAN I have full access. After a power outage, I can only ping this computer, but can't ssh to it.
Nmap shows the following picture:
Host is up (0.00055s latency).
Not ...