Questions tagged [nfsclient]
76 questions
1
vote
1 answer
NFS V4 READ of file returns 0 bytes
I'm in the process of writing an NFS V4 client and am debugging the results with Wireshark. I'm unable to read a file.
Through OPEN followed by GETATTR, I've opened the file and confirmed it's the desired file by the matching length (1001 bytes).
I…

newmascot
- 188
- 1
- 1
- 9
1
vote
1 answer
nfs entry in /etc/fstab fails but manually mounting works
Client is Ubuntu Xenial, manually mounting works just fine:
mount 10.0.0.12:/mnt/d1 /mnt/d1
I then copy that line from /etc/mtab to /etc/fstab:
10.0.0.12:/mnt/d1 /mnt/d1 nfs4…

thoth
- 1,112
- 2
- 9
- 15
1
vote
1 answer
NFS file open in C code
If I open a file in my C/C++/Java code using a pathname that goes to an nfs directory, how the does the read and write syntax work with NFS being stateless and all? I have tried but cant find an example code accessing NFS mounted files. My current…

intiha
- 319
- 1
- 3
- 13
1
vote
1 answer
Lookup Operation in Network File System
Can some one explain the lookup operation in NFS v3.0 in detail. Operations occurring on client side and server side.

Adithya Chakilam
- 111
- 1
- 3
1
vote
2 answers
How to get an NFS filehandle?
I am trying to do some testing of several thousand NFSv3 fileserver exports across hundreds of servers. Lots of things can go wrong, from configurations on the server to network connectivity. The most complete test I can do is to actually try to…

BowlOfRed
- 339
- 2
- 11
1
vote
2 answers
Nginx/phpfpm not showing updated content
Server: ubuntu 14.04lts
nginx(v1.10) server is showing older content when i have already changed the file,the changes are seen after 3-6 minutes.
the document root directory is mounted from nfs share. the changes in the file is seen when i read/cat…

sherpaurgen
- 3,028
- 6
- 32
- 45
1
vote
2 answers
Why java FileOutputStream's write() or flush() doesn't make NFS client really send data to NFS server?
My Java web application use NFS file system, I use FileOutputStream to open, write multiple chunks and then close the file.
From the profiler stats I found that stream.write(byte[] payload,int begin, int length) and even stream.flush() takes zero…

user1532146
- 184
- 2
- 14
1
vote
0 answers
How to set temporary login path if home directory mount point (NFS mount) is not responding
All the users home directory in a server is remote NFS share mounted locally on mount point say : /home/workspace/username
At times due to network issue NFS share goes to non-responding state and if user try to login at this point SSH connection is…

Sandy
- 41
- 4
1
vote
0 answers
What happens when aio read posix call (io_submit) is made on a file on a remote NFS server in Linux?
As part of my project I was asked to implement callbacks for NFS read. Now I want to understand how the current system kernel code works. Thanks in advance.

ravi chandra
- 65
- 4
1
vote
0 answers
How to implement getfacl in java (linux) since getacl() works only on windows
How to implement getfacl() in java (Linux) since getacl() works only on Windows. When I try to use AclFileAttributeView in Linux for nfsv4 mounted drive I get null pointer.

satish john
- 226
- 1
- 6
- 14
0
votes
1 answer
How to query information from NFS Server from Windows 10 NFS Client?
I've already written a working application in AutoIt that will mount and dismount NFS shares using the built-in NFS Client in Windows 10 Pro. The problem is that I've had to hard code the names and paths of the NFS shares exported from the server,…

Nate Brazil
- 13
- 2
0
votes
0 answers
Excessively high 'access' rates in the NFS client
Our server shows excessively high 'access' rates in the NFS clients, which makes the NFS slow.
Could you provide any suggestions on what we should investigate and how to resolve it? I'm attaching the nfsstat output at the NFS client, /etc/fstab of…

CNJ
- 1
0
votes
1 answer
Does Azure blob/file share storage NFS protocol support Windows machine mounting?
I was trying to connect with Azure blob storage as well as azure file share with different protocols. I am able to connect with SFTP, SMB protocols from my windows machine, but not able to connect via NFS protocol. Is it possible to connect to…

Aniket Karajgikar
- 245
- 2
- 13
0
votes
0 answers
NFS mount with anonuid option
Can you please explain what actually happens here when client mount.
Examine the contents of the /etc/exports file on an NFS server:
/status *(rw,async) /usr/share/tools *(all-squash,anonuid=501,anongid-501,ro) /projects/big *(ro) pteam(rw)
The NFS…

Saravanan S
- 1
- 2
0
votes
0 answers
Remote I/O error while read/write to NFS share for specific user and client
Setup:
NFS server: NFSServerHOST
NFS Share: NFSServerHOST:/MYSHARE
NFS Client1: CLNT1
NFS Client2: CKNT2
NFS Client3: CLNT3
Client OS: RHEL 7 and 8
Client users: User1, User2
Local Mount on Client: /var/NFSSHARE
mount -t nfs4…

Abhishek
- 45
- 1
- 6