Skip to contentSkip to conversation

nfs kernel server bug

DISCUSSION Rue Mohr 3 participants 3 messages Feb 7, 2021 – Feb 23, 2021

Subsystems (2)
lore
Share & tools
lore

Rue Mohr

author
#0 lore raw

I'm having an issue where the kernel server is dishing out all zeros for file content being read over NFS. The file byte count is correct. Writing files is fine.
With the same client, a different server works just fine.

I have been trying to pin this down, so far all I know is that the packets from the server actually contain zeros for the file contents.

The troubled server kernel is 5.4.1

Has anyone encountered this or is it just me?

#1 lore raw
Quoted 9 lines · Rue Mohr

I'm having an issue where the kernel server is dishing out all zeros for file content being read over NFS. The file byte count is correct. Writing files is fine.
With the same client, a different server works just fine.

I have been trying to pin this down, so far all I know is that the packets from the server actually contain zeros for the file contents.

The troubled server kernel is 5.4.1

Has anyone encountered this or is it just me?

Haven't heard of this before, but sounds like a fascinating problem.

What version of nfs, and what security? You're seeing READ operations returning with rsize-ed blocks of all-zero data in a network capture?

Ben

#2 lore raw
Quoted 14 lines · Benjamin Coddington
Quoted 12 lines · Rue Mohr

I'm having an issue where the kernel server is dishing out all zeros for file content being read over NFS. The file byte count is correct.
Writing files is fine.
With the same client, a different server works just fine.

I have been trying to pin this down, so far all I know is that the packets from the server actually contain zeros for the file contents.

The troubled server kernel is 5.4.1

Quoted 7 lines
Quoted 1 line

Has anyone encountered this or is it just me?

Haven't heard of this before, but sounds like a fascinating problem.

What version of nfs, and what security? You're seeing READ operations returning
with rsize-ed blocks of all-zero data in a network capture?

It might also be useful to know what filesystem you're exporting, with what mount and export options.

--b.