[RTEMS Project] #4723: Issue with NFSv4
RTEMS trac
trac at rtems.org
Fri Sep 23 09:35:45 UTC 2022
#4723: Issue with NFSv4
--------------------------------+--------------------
Reporter: Fabrizio Pirovano | Owner: (none)
Type: defect | Status: new
Priority: high | Milestone:
Component: fs | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
--------------------------------+--------------------
We are testing NFSv4 on a coldfire mcf5329 platform using rtems-6 (MASTER)
and 6-freebsd-12 (downloaded September 9th).
The tool chain is bould by rtems-source-builder last version.
The test program testsuite/nfs01 work correctly but if we try to copy a
file in a subfolder of NFS disk we meet the issue that I try to describe
below:
using telnetd01 example from the testsuite (adding NFS filesytem at
configuration with #define CONFIGURE_FILESYSTEM_NFS) and opening a shell
we are capable to mount a NFS disk with the command:
mount -t nfs -o nfsv4,minorversion=1 192.168.3.36:/rtems /nfs
(where "192.168.3.36/rtems" is a share from an ubuntu 20.1 machine).
Mount is fine and we receive the following reply
"nfs: mount: nfs -> 192.168.3.36:/rtems (nfsv4,minorversion=1)
nfs: mount args: 8
16 addr=10 02 08 01 ffffffc0 ffffffa8 03 24 00 00 00 00 00 00 00 00
0 nfsv4
7 dirpath=/rtems
4 fstype=nfs
4 fspath=nfs
20 hostname=192.168.3.36:/rtems
0 rw
2 minorversion=1
nfs: mount: (0) Success"
The issue happen when we try to copy a file in a /nfs subfolder.
If we create subfolders
mkdir /nfs/1
mkdir /nfs/1/2
mkdir /nfs/1/2/3
folders are creted correctly but if we try to copy a file as:
cp xxx /nfs/1/2/3
unfortunately the file xxx is copied in /nfs/1/2 and NOT inside
/nfs/1/2/3 folder.
The same issue happen in other locations:
cp xxx /nfs/1/2 file is copied in /nfs/1
cp xxx /nfs/1 file is copied in /nfs
--
Ticket URL: <http://devel.rtems.org/ticket/4723>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list