-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
rhel-10.2
-
None
-
None
-
Low
-
rhel-fs
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Inter-ssc fails, and ESTALE is returned when both source and destination server have the same hostname
What is the impact of this issue to you?
inter-ssc returns error, and file is not copied (even with client as intermediary performing READ+WRITE)
Please provide the package NVR for which the bug is seen:
kernel 6.12.0-153.el10_2, patched to enable CONFIG_NFSD_V4_2_INTER_SSC
(https://issues.redhat.com/browse/RHEL-126556)
How reproducible is this bug?:
easy
Steps to reproduce
two nfs servers, one client (all with kernel patched as above)
server1:
# echo Y >/sys/module/nfsd/parameters/inter_copy_offload_enable # hostname localhost # systemctl restart nfs-server.service
server2:
# echo Y >/sys/module/nfsd/parameters/inter_copy_offload_enable # hostname localhost # systemctl restart nfs-server.service
client:
# mount server1:/ /mnt/server1 # mount server2:/ /mnt/server2 # dd if=/dev/urandom of=/mnt/server1/testfile bs=1M count=10 # ls -l /mnt/server[12]/testfile # cp /mnt/server1/testfile /mnt/server2 # ls -l /mnt/server[12]/testfile
Expected results
file is copied via from server1 to server2 via inter-ssc
Actual results
# ls -al /mnt/vm3[12]/testfile -rw-r--r--. 1 root root 10485760 Nov 7 15:36 /mnt/server1/testfile # cp /mnt/server1/testfile /mnt/server2/ cp: error copying '/mnt/server1/testfile' to '/mnt/server2/testfile': Stale file handle # ls -al /mnt/server[12]/testfile -rw-r--r--. 1 root root 10485760 Nov 7 15:36 /mnt/server1/testfile -rw-r--r--. 1 root root 0 Nov 7 15:46 /mnt/server2/testfile