After initially posting on 02-12-2004 and discussing this
thread for a while I now patched all the servers to nw60-sp4
and the nfs-gateway to the for sp4 needed patch-level. But
the problem remains the same.

Situation:

Server SRV-DATA with nfs-support installed, NFS-exporting
one directory,
SRV-COMM with nfs-gateway installed, mounting this exported
directory, but the mounted volume remains empty. When
copying files into this volume, the copy-process breaks with
an error-message, which results in an file-entry in the real
path with file-size zero, but the mounted volume still
empty.

Following specific configuration has taken place. In case
further infos are needed, just ask me.

1. SRV-DATA nfsexprt:
/IVM/USERS/shared/Offen 1 1 512 1

2. SRV-DATA nfs.cfg:
################################################## ##########
#######################
#The parameters defined below can be configured for NFS
product from ConsoleOne.
#All the lines begining with a # indicates comment line. The
# from the
#parameter definition lines can be removed to use this
file.

#The following parameter can be used to set the access to
NDS or NIS.
#Default is NDS i.e. NDS_ACCESS = 1.When access is set to
NDS,NIS Client access is disabled.
#Set this parameter to 0 and NIS_CLIENT_ACCESS to 1 to get
the information from NIS.
#
#

#NDS_ACCESS=1

#The following parameter can be used to enable or disable
NIS Client.
#By default NIS client is enabled. Set this parameter to 0
to disable NIS Client.
#
#

NIS_CLIENT_ACCESS=0

#The following parameter has a list of full DN names of
containers separated
#by commas,from where the search should start for users and
groups only.
#NDSILIB module uses this parameter.Maximum number of
containers allowed
#is 10 and the total string length should not exceed 1024
bytes.If you do not
#set any search containers, search will start from server's
default context.
#
#

SEARCH_ROOT=.O=STADE,

#The following parameter sets the NIS domain for NIS client
access. This has to be
#set for NIS client to work, since no default can be
provided.
#
#

#NIS_DOMAIN=

#The following provides the NIS Server servicing the
domain.If
#specific server is needed for the domain, this has to be
set. Otherwise,
#NIS server is discovered using the broadcast.No default can
be provided.
#
#

#NIS_SERVER=

#This is the context where the NIS admin object will be
created

NIS_ADMIN_OBJECT_CONTEXT=O=STADE

3. SRV-DATA nfsserv-cfg
################################################## ##########
######################
#The parameters defined below can be configured for NFS
Server from ConsoleOne.
#All the lines begining with a # indicates comment line. The
# from the
#parameter definition lines can be removed to use this
file.

# Indicates after what percentage of Request Queue
Utilisation an
# SNMP Alert is sent : Range(20-99)
#

#REQ_Q_FULL_ALERT=90

# Indicates after what percentage of Request Cache
Utilisation an
# SNMP Alert is sent : Range(20-99)
#

#REQ_CACHE_FULL_ALERT=90

# Indicates after what percentage of Open File Cache
Utilisation an
# SNMP Alert is sent : Range(20-99)
#

#OPEN_FILE_CACHE_FULL_ALERT=90

# Indicates if Cached data should be written to disk
immediately or Not
#

#CACHE_WRITE_THROUGH=NO

# Duration for which file handle is stored in Cache by NFS
Server : Range(0-2000)
#

#CACHE_AGING_INTERVAL=60

# Indicates the size of Request cache : Range (64-512)
#

#REQ_CACHE_ENTRIES=256

# Indicates the size of open file cache : Range (32-1024)
#

#OPEN_FILE_CACHE_ENTRIES=512

# Indicates NFS Server should support TCP/UDP/BOTH
#

#TYPE_OF_TRANSPORT=BOTH

# Number of NFS Server threads servicing NFS 2 protocol :
Range (1-150)
#

#NFS_V2_THREADS=5

# Number of NFS Server threads servicing NFS 3 protocol :
Range (1-150)
#

#NFS_V3_THREADS=5

# Number of threads servicing Mount V2 Requests: Range
(1-150)
#

#MOUNT_V2_THREADS=1

# Number of threads servicing Mount V3 Requests: Range
(1-150)
#

#MOUNT_V3_THREADS=1

# Indicates the size of TCP Send Queue for NFS 2 protocol :
Range (1-150)
#

#NFS_V2_TCP_SEND_Q_ENTRIES=30

# Indicates the size of TCP Send Queue for NFS 3 protocol :
Range (1-150)
#

#NFS_V3_TCP_SEND_Q_ENTRIES=30

# Indicates the size of Receive Queue for NFS 2 protocol :
Range (1-150)
#

#NFS_V2_RECV_Q_ENTRIES=20

# Indicates the size of Receive Queue for NFS 3 protocol :
Range (1-150)
#

#NFS_V3_RECV_Q_ENTRIES=20

# Version of nfsserver to be loaded ( 0 / 2 / 3 )
# 0 - Both, 2 - Only V2, 3 - Only V3
#

#NFS_VERSION=0

# File Mode Creation Mask in Independent Mode for default
UNIX Permissions of files
# and directories created from NetWare side : Range (000 -
777)
#

#NFS_UMASK=022

# NFS Server Log file. Default Log filename is nfsserv.log
#

#LOG_FILE=nfsserv

# Directory in which NFS Server creates the Log file.
Default directory is SYS:/ETC
#

LOG_DIR=SYS:\ETC

# Log Level indicates the types of messages to be logged.
# To log all/some types of messages, set the Log Level to
sum of the corresponding values.
# 1 - Error Messages, 2 - Warning Messages, 4 - Info
Messages.
#

#LOG_LEVEL=7


4. SRV-DATA nfsserv.log
Info:60:27.5.2004 18.38.34 : ********** NFS Server STARTED
ON `SRV-DATA' **********
Info:115:27.5.2004 18.38.34 : Configuration File nfsserv.cfg
used.
Info:12:27.5.2004 18.38.34 : Beginning to check the NFS file
system...
Info:17:27.5.2004 18.38.34 : The NFS file system check is
complete.
Info:45:27.5.2004 18.38.34 :
NFS Server: UDP Transport Enabled.
Info:46:27.5.2004 18.38.34 :
NFS Server: TCP Transport Enabled.
Info:31:27.5.2004 18.39.18 : Mounted the path
'/IVM/USERS/shared/Offen' successfully by Client
'SRV-COMM.xxx.DE'

5. SRV-COMM gystart.ncf
#To start NFS Gateway services:
#nfsgy [-shadowCacheSize <value>] [-pageCacheSize <value>]
[-shadowVolume <value>]
# [-logFileSize <value>] [-logLevel <value>]
[-logVerbose] [-logFlushImmediate]
#(where -shadowCacheSize,-pageCacheSize and -logFileSize
values are in MBs)
#If any of the parameters are not given, nfsgy will take
default values for them
# Default shadowCacheSize = 8MB
# Default pageCacheSize = 8MB
# Default shadowVolume = sys
# Default logFileSize = 4MB
# Default logLevel = 1 (Error)
# Default logVerbose = NO
# Default logFlushImmediate = NO
#
#
#To mount a volume:
#GYMOUNT <VolumeName> [<IPAddress> <SharedPath>]
[-nfsVersion <value>]
# [-shadowVolume <value>]
# [-mountUid <value>] [-mountGid <value>] [-anonUid
<value>] [anonGid <value>]
# [-rpcTimeOut <value>] [-rpcRetries <value>]
# [-dirCompFreq <value>] [-umask <value>]
# [-readOnly | -readWrite] [-tossMetadata |
-noTossMetadata] [-lowerCaseUnixNames]
# [-readSize <value>] [-writeSize <value>]
[-maxOutstandingPackets <value>]
# [-logLevel <value>] [-logVerbose|logNonVerbose]
#Where:
# VolumeName :Name of the volume mounted by NFS
Gateway
# IPAddress :IP address of the remote machine
# SharedPath :Remote path to be imported
# nfsVersion :Version of NFS protocol to be
used
# Default = 3
# Valid Values: 2,3
# shadowVolume :Volume used for storing shadow
files for a
# mounted NFS Gateway volume
# Default = sys
# mountUid :Uid used for mounting the remote
path
# Default = 0
# Valid Range: 0 - 2147483647
# mountGid :Gid used for mounting the remote
path
# Default = 1
# Valid Range: 0 - 2147483647
# anonUid :Uid used for users without unix
profile
# Default = 55555
# Valid Range: 0 - 2147483647
# anonGid :Gid used for users without unix
profile
# Default = 55555
# Valid Range: 0 - 2147483647
# rpcTimeOut :Time in seconds to elapse before
RPC request
# retry
# Default = 1 second
# Valid Range: 1 - 2147483647
# rpcRetries :Number of times an RPC request to
be retried
# Default = 3
# Valid Range: 1 - 2147483647
# dirCompFreq :Time in seconds to elapse before
time stamps of
# directory entries are
synchronized with remote
# server
# Default = 0 seconds
# Valid Range: 0 - 2147483647
# umask :Umask value for the directory
entries created
# on this volume
# Default = 022
# Valid Range: 000 - 777
# readOnly :To mount the shared path as
read-only volume
# readWrite :To mount the shared path as
read-write volume
# Default = readWrite
# tossMetadata :Do not cache metadata of files on
this volume
# noTossMetadata :Cache metadata of files on this
volume
# Default = noTossMetadata
# lowerCaseUnixNames:Files created from NetWare side
will have filenames
# on Unix side which will have only
lowercase
# characters
# Default = Not enforced
# readSize :Read transfer buffer size. This
is applicable only for NFS version 3
# Value specified in KB
# Default = 32K
# Valid Values: 4,8,16,32
# writeSize :Write transfer buffer size. This
is applicable only for NFS version 3
# Value specified in KB
# Default = 32K
# Valid Values: 4,8,16,32
# maxOutstandingPackets:Specifies the maximum number
of outstanding packets to a UNIX machine.
# For a UNIX machine, NFS Gateway
uses the value specified in first instance
# of gymount.
# Default = 2147483647
# Valid Range: 1 - 2147483647
# logLevel :Level of logging to be enabled
for the volume
# Default = 1 (Error)
# Valid Values: 0,1,2,4
# logVerbose :Verbose information to be logged
# logNonVerbose :Verbose information will not be
logged
# Default = logNonVerbose
#
#For eg:
#gymount gateway_volume 232.232.232.122 /remote/home

#Any number of volumes can be mounted by repeatedly calling
gymount
#for eg:
#gymount vol1 232.232.232.122 /remote/home
#gymount vol2 132.132.132.182 /remote/usr
#
# In case you want to specify nfsgy parameters, specify them
before
# any gymount parameters.
# nfsgy parameters need to be specified only once.


nfsgy
gymount OPEN 192.168.6.2 /IVM/USERS/shared/Offen -mountUid 0
-mountGid 1 -anonUid 0 -anonGid 1 -dirCompFreq 5
-logverbose



Any help in how getting hand on this is greatly appreciated.


Sincerely

Karl