1748165 Members
4068 Online
108758 Solutions
New Discussion юеВ

Re: NFS file length

 
SOLVED
Go to solution
Jim Strehlow
Advisor

NFS file length

I write a file to a Microsoft Windows server folder which is NFS shared by "NFS Maestro Server" software.

When the file name is 39 characters to the left of the period, OpenVMS can see the file via DIRECTORY.
If the file name is 40 or more characters long to the left of the period, OpenVMS does not see the file (as if there is no file at all.)

Is there some universal NFS specification that has limitations on file names for NFS purposes?

Does HP have some published NFS file name limitation?

For this particular test we are running
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 3
on a Digital AlphaStation 500/400 running OpenVMS V8.3
4 REPLIES 4
Volker Halle
Honored Contributor
Solution

Re: NFS file length

Jim,

when the NFS client mounts a file system, the default would be ODS-2. This would cause the filename to be limited to 39 characters. Try mounting the NFS share with /STRUCTURE=5 (for ODS-5).

You can check this with SHO DEV/FULL DNFSx:

Volker.
Steven Schweda
Honored Contributor

Re: NFS file length

I use NFS on VMS very little, so I know
nothing, but ...

So, the Windows system is the NFS server, and
the VMS system is the NFS client?

How is the remote file system mounted?

TCPIP HELP MOUNT /STRUCTURE

MOUNT

/STRUCTURE

Optional. Default: /STRUCTURE=2

Specifies whether the volume should be formatted in Files-11 On-
Disk Structure Level 2 (ODS-2), which is the default, or Files-11
On-Disk Structure Level 5 (ODS-5).

For more information about ODS-5 disks, refer to the HP OpenVMS
System Manager's Manual: Essentials.


> Is there some universal NFS specification
> that has limitations on file names for NFS
> purposes?

Nothing with the number 39 in it anywhere.

> Does HP have some published NFS file name
> limitation?

Have you looked at the TCPIP documentation?
Jim Strehlow
Advisor

Re: NFS file length

/structure=5 did the trick.
Thank you.

(DCL procedure has been running for ten years.
The situation arose during "new development" testing.
We will modify our NFS mount logic to include that parameter.)
Jim Strehlow
Advisor

Re: NFS file length

Thank you for your quick help.
Jim