All Questions
317
questions
0
votes
0
answers
54
views
Mount SFTP directory in NFS Share
Here's my issue :
I have setup an SFTP with chroot directory is /sftp/usersftp In this chroot directory i have two subdirectory IN/OUT
On the same serveur i had created a user with $HOME=/data/...
0
votes
0
answers
119
views
systemd before,after,requires all not working like expected
I have an nfs mount on a debian12 system running systemd252, i need this to be mounted at startup before zfs but after network-online.target, so i tried using /etc/fstab but that keeps loading before ...
0
votes
0
answers
73
views
Permission denied for AD group for NFS directory
I have permission denied problem with NFS share.
On server1 I have /etc/exports file with content:
/data/test server2.example.com(rw,no_root_squash).
/data/test directory has 770 permissions with ...
0
votes
1
answer
68
views
Does NFS have an intelligent algorithm for managing concurrent reads of NFS files by multiple processes?
I have a use case where multiple processes start simultaneously on one machine and all open the same set of NFS files (actually stored in another machine in the LAN) to process their content in ...
0
votes
1
answer
305
views
"Permission denied" when `rm` ing a file (in an NFS mount), even when using sudo
Context:
Storage is a Kubernetes Persistent volume, provided by a TrueNAS NAS and accessed via NFS (with k8s accessMode ReadWriteMany)
I have checked the Permissions for the TrueNAS Dataset and ...
1
vote
0
answers
86
views
Can rsync ignore errors that happen due to NFS cache inconsistency?
I have a process running on Linux that repeatedly updates a file on an NFS filesystem. The process writes the new data to a tempfile (on the same NFS) and calls the rename() syscall to replace the ...
0
votes
0
answers
363
views
why does rsync not update times on remote even when itemize changes shows time differences
I'm using rsync to sync files from one NFS mount to another NFS mount. Files exist at the remote location already because of a previously executed scp command from the local mount. The consequence of ...
3
votes
1
answer
720
views
What is the meaning of the manage-gids parameter in /etc/nfs.conf?
I have run into an issue (on a system which I am not root) where there is a directory using an acl to manage access, I should be allowed access (and I am allowed access if I do a newgrp to one of the ...
1
vote
1
answer
428
views
How to handle big files with ansible
While testing ansible, I stumbled over an issue with big files and ansible.
My ansible directory for testing looks something like this:
ansible
|- ansible-testing
| |- .git
| |- big-file-playbook....
0
votes
1
answer
50
views
NFS4 Client rpc Calls different count of calls for same command
I have a couple of ubuntu servers on a virtual environment (Ubuntu 16.04 + 22.04 on vmware). There is a NFS Mount to a NFS Share which is in a different Network.
Now if i execute any command to this ...
0
votes
0
answers
109
views
NFS slower than SMB between Linux machines
I have a QNAP TS-419P II in which I installed Debian Bookworm. I have some NFS and Samba shares to be used by some Windows and Linux clients. I was doing some testing and noticed something weird. I'm ...
2
votes
1
answer
394
views
IPv6 and Privacy Extensions in Linux not working as expected with dhcpv6
I'm trying to setup my desktop to generate and use temporary address for IPv6, but no matter what I'm doing it is not working.
My internet router is managed by my provider, so I can not influence the ...
0
votes
0
answers
234
views
How to prevent showmount from hanging
We are implementing a web front end to manage NFS and CIFS shared folders. One part displays the available share points (exports) available from any arbitrary IP address.
The backend uses smbclient -L ...
0
votes
1
answer
133
views
How to make NFS server start if a disk mountpoint export fails to mount?
Consider the following /etc/exports:
/verbatim 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)
/sandisk 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)
/verbatim and /sandisk are mountpoints ...
5
votes
1
answer
3k
views
Optimizing NFS share for many small files
I'm attempting to setup a file share system for a system where users are given access to ephemeral virtual machines to work on projects that read/write a large amount of small files. For example, a ...
0
votes
2
answers
3k
views
Giving access to (read / write) to other users on nfs without root previliges
I am working on a CentOS server without root privileges. I am trying to share a specific folder on the network with another user.
I have already tried 'setfacl' with no success (resulting in '...
1
vote
1
answer
926
views
what is proper way to share a ntfs data partition, nfs or samba
On linux desktop, a nfs server on home local network is already running. The same machine also has a secondary data ntfs partition as remnant of dual booting (which may happen again in the future).
...
0
votes
0
answers
74
views
Windows Server 2019 can't see shared disk from Linux Centos 9
Centos ip: 192.168.227.123
Win: 192.168.227.121
Device: /dev/mapper/mpatha1
mountpoint: /nfsserver
Mount:
Tried 100 different things on Windows, such as disabling hibernation etc, nfs services and ...
3
votes
2
answers
6k
views
NFS mount on Windows 11: can't write to NFS share
I have an NFS v4 server running on an Ubuntu box in my LAN and need to mount one of its shares onto a desktop running Windows 11 Pro (with Services for NFS enabled).
This is what I have on the Ubuntu ...
2
votes
3
answers
2k
views
/etc/exports configuration for nfs
I'd like to setup nfs between server and client.
So I modified server PC /etc/exports like below.
/directory 193.101.102.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
I expected client which ip ...
0
votes
0
answers
173
views
nfs mounting directory which mounted another host
I have 3 PCs(host1, host2, host3).
host1 and host2 are connected.
host2 and host3 are connected.
host1 is mounted on host2.
So host2 can access shared directory of host1.
What I want to do is sharing ...
0
votes
1
answer
225
views
nemo bookmark of nfs mounted directory causes delay at cinnamon login and automount fails
I am longtime user of Linux Mint. I have just installed Mint 21.1 Cinnamon edition on a newly-built desktop PC.
I have set up a systemd mount unit to automount an nfs share at startup:
$ cat /etc/...
1
vote
1
answer
556
views
unusually high network usage from nfs
After a recent update to my ubuntu 20.04 server, my website started behaving badly.
Pre-update, it would respond in less than a second.
Post-update, it would respond in a few minutes.
After digging ...
-1
votes
1
answer
146
views
windows partition rotten following partition size change on a dual-boot Windows/Linux
I am stuck:
On a dual-boot Windows/Linux PC, in order to enlarge the boot partition which was running out of space to update the kernel, I wanted to move a Windows partition that had the system 32 ...
1
vote
2
answers
11k
views
NFS mount command failed: Permission denied
I am working on an embedded board, running embedded Linux on it.
I want to mount the directory from my Linux Host machine (Ubuntu 20.04) to my embedded board.
As per the document shared with the board,...
0
votes
1
answer
1k
views
Can't open a mount point folder which is within a NFS share
I have a raspberry pi. I have shared the /home/pi/ folder via NFS like this:
contents of /etc/exports
/home/pi *(rw,all_squash,insecure,async,no_subtree_check,anonuid=1000,anongid=1000)
From ...
0
votes
1
answer
2k
views
Windows NFS share access from Linux unjoined domain computer with AD username using NIS
I have Linux clients using AD username/password using NIS and we have NIS Domain and UID and GID are already present in the AD. We used to have Windows 2003 NFS share and it used to work fine with ...
1
vote
1
answer
1k
views
How to let the entries in fstab to be mounted after VPN become up?
Env: Kubuntu-20.04.4, nfs-common-1.3.4(apt upgraded).
I have three NFS mounting entries in /etc/fstab that depends on a VPN connection.
Only once the VPN come up, these entries can be mounted ...
1
vote
1
answer
6k
views
Root squashing for NFS and SMB clarification
Root squashing means that when I try to access a directory that has it enabled, I won't be able to use my root permissions because it will be remapped to a nfsnobody user or whatever user is specified....
0
votes
0
answers
207
views
NFS won't export /etc or /var (!?)
This is on Fedora Server 35, BUT, I'm pretty sure that's irrelevant:
I have a whole environment that works great with nfs and various machines export to each other - been doing this for decades - and ...
0
votes
1
answer
1k
views
NFS boot for BBB with Ubuntu 22.04
I recently updated my system to Ubuntu 18.04.5 to 22.04 (fresh installation). On the old system I had a Yocto project for my BBB using TFTP and NFS to boot from my machine. Everything worked fine, but ...
0
votes
1
answer
150
views
How do I get NFS for glusterfs working on Oracle Linux 8?
I want to use glusterfs to provide storage for a lot of files. Millions that must appear to be in one NFS exported directory. I installed the software, configured it and started the cluster. However,...
3
votes
2
answers
3k
views
Millions of files in a single directory
I need a file storage solution that will provide read/write for files to a collection of web servers. The space demands are modest -- about 2 TiB right now but will probably grow to twice that. NFS ...
2
votes
0
answers
742
views
How can I acess a NFS server from outside of the local network
I have an NFS server and I want to be able to use it places other than just home. How (if possible) can I access it from other places? Would I just simply port forward the port NFS is using?
2
votes
1
answer
7k
views
NFS Permission Denied when mounting from WSL
I'm trying to mount a NFS folder in WSL2 Ubuntu 20.04
sudo mount singularity:/srv/Storage /mnt/storage -v
But it gives me an error
mount.nfs: access denied by server while mounting singularity:/srv/...
0
votes
1
answer
4k
views
Running MariaDB in a container with storage through NFS
I'm trying to run a MariaDB container on a raspberry pi. The container is created through docker-compose and to persist the data I want to use my NAS. To mount a directory from the NAS to the ...
0
votes
2
answers
606
views
SSH tunneling NFS from remote to local error: address already in use
I have a synology server behind an unconfigurable NAT, and a linux box behind a configurable NAT. I want to establish an autossh tunnel to mount an NFS drive (shared by the synology box) on the linux ...
1
vote
1
answer
4k
views
Mount NFSv3 From Windows Server 2019
I have enabled NFS sharing on windows server 2019 using NFS version 3.
I have disabled both NFS ver 2 and NFS ver 4 via powershell:
Set-NfsServerConfiguration -EnableNfsv2 $False -EnableNfsv4 $False -...
1
vote
1
answer
2k
views
Rsync always failing at the same point
I made a script for my Proxmox host to make a copy of its daily backups to another machine (running Windows Server 2022).
The script mounts a NFS share from the Windows host and runs this rsync ...
2
votes
1
answer
15k
views
How to debug nfs client connection timeout?
I have 1 nfs-server(10.192.244.109) & 2 nfs-client there.
On one client, both ok to mount the nfs-server directory with v3 & v4, while on another client, it's only ok to mount the nfs-server ...
0
votes
1
answer
2k
views
How to enable NFS v2 in WSL2?
It only has v3 and v4, but my client (U-Boot) only supports v2
$ rpcinfo -p localhost | grep nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100003 3 udp 2049 nfs
...
0
votes
1
answer
407
views
How to force NFS to keep files on client side?
I have an NFS server in a headless Fedora Server 35 VM configured as follow:
File: /etc/exports
/development 10.211.55.0/24(rw,all_squash,async,no_subtree_check,anonuid=0,anongid=0)
Then in my Mac ...
0
votes
1
answer
241
views
Why does Petalinux run the mountnfs script during initialization?
I was inspecting the root filesystem files generated by PetaLinux and saw a couple of start-up scripts under /etc/rc5.d folder. One of them was named S15mountnfs.sh and linked to mountnfs.sh script ...
0
votes
1
answer
1k
views
fully passwordless nfs through kerberos
I have a small network that includes a NAS. on which I provisioned, with some effort, a Kerberos server. The Kerberos server allows Linux hosts on the network to create secure NFS mounts. Service keys ...
2
votes
1
answer
6k
views
Windows 10.0.19043.1320 Pro (21H1) and NFS Share: MOUNT.EXE missing
I have a Terra Master F5-221 NAS with SAMBA/CIFS and NFS shares. The SAMBA shares can be accessed no problem; just open Windows Explorer and put \\NASIPADDRESS\sharename as the address. But that is ...
0
votes
1
answer
196
views
Wrong hostname resolution in Local network
context
I was trying in vain to map drives from my NAS to my PC via NFS when I figured out that my PC hostname was not resolved with the proper IP address from my NAS or any other devices connected ...
11
votes
3
answers
61k
views
How to map user IDs on an NFS share?
I have succesfully mounted an NFS share from my remote machine to my local. However, the files I want to edit on the remote machine are all owned by root.
How can I mount my NFS drive so that my local ...
0
votes
0
answers
3k
views
Poor NFS performance under high load
I have two Debian servers connected to a shared NFS server.
Mounts:
nfs.internal.com:/volume1/SHARE on /share type nfs (rw,nosuid,relatime,sync,vers=3,rsize=131072,wsize=131072,namlen=255,acregmin=0,...
1
vote
0
answers
608
views
ZFS NFSv4 ACLs not displaying on the client side
I'm running ZFS [2.0.3] on Debian 10 with NFSv4 shares, setting xattr: on and acltype: posixacl, with my export using zfs set sharenfs being:
rw=@@hosts,async,no_subtree_check,no_root_squash
I can ...
0
votes
0
answers
455
views
NFS - Access denied by server when mounting external drive
I have a fileserver and want to share an external HDD connected to the fileserver with my clients using NFS. I'm already sharing a few internal HDDs set up with ZFS shared to my hosts and they are all ...