Bug 255083 - NFS Stale
Summary: NFS Stale
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-15 08:16 UTC by fabio.pratelli
Modified: 2021-04-20 08:10 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fabio.pratelli 2021-04-15 08:16:33 UTC
Hardware platform:
Supermicro X9DRD-7LN4F(-JBOD)/X9DRD-EF - 2x CPU E5-2630 v2 - 128 GB ram

O.S.
FreeBSD 13.0 either updated from 12.2-p6 or installed from scratch.

services:
zfs pool exported via nfs

Description of the scenario:

Mounting from an updated CentOS 7.9 and testing with fio, results the fio process stalling. Not only fio, the entire nfs mount stalls.

Same test, on the same source and target hardrware, but using FreeBSD 12.2-p6 on target results in normal behaviour, tests end without problems as expected.

The network environment, nic and switches, are the same.

The problem is 100% replicable.
Comment 1 fabio.pratelli 2021-04-15 08:22:11 UTC
nic: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection
Comment 2 fabio.pratelli 2021-04-15 13:39:54 UTC
/etc/rc.conf
hostname="nasbsd84"
keymap="it.kbd"

ifconfig_ix2="inet 172.16.0.84 netmask 255.255.0.0"

sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"

zfs_enable="YES"

rpcbind_enable="YES"
nfs_server_enable="YES"

nfsv4_server_enable="YES"
nfsuserd_enable="YES"

mountd_flags="-r"
mountd_enable="YES"

smartd_enable="YES"
******************************************
/etc/exports
/mnt/data -alldirs -maproot=root
Comment 3 fabio.pratelli 2021-04-17 20:44:40 UTC
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=random_read_write.fio --bs=256k --iodepth=32 --size=48G --readwrite=randrw --rwmixread=0

fio version 3.20