Can NFS file name mapping be customized?

January 27, 2011 at 08:46:38
Specs: OpenVMS 7.3-2, Alphastation DS10
I have an OpenVMS system that generates large amounts of data. We are transferring data from our Alpha to a Linux-based network storage device. The storage device provides a NFS mount point that looks like another disk on the Alpha.
My problem is that we use dollar signs in our file names. NFS converts file names with some characters, such as dollar signs, to be compatible with other operating systems. See section 23.1.9 and Appendix C of the TCP/IP Services manual. (I'm looking at TCPIP_54_serv.) A file named test.dat$la on the Alpha becomes test.dat$$la on the network storage device. Since data on the device are accessed from the alpha and from a PC network, we want consistent file names. I have twenty years of data on the alpha and cannot change our file naming convention.
Is there a way to change the NFS file name mapping process to allow my file names to remain unchanged? Any help would be appreciated.

See More: Can NFS file name mapping be customized?

Report •


#1
January 27, 2011 at 10:16:32
Better off posting this on the Linux/Unix forums. I believe the dollar sign is a special character on these OSs which tell the system how to handle the files. You may have no choice but I am no expert. This is an OS issue not a networking one and you may be better off posting it here...

http://www.computing.net/forum/linu...

or

http://www.computing.net/forum/unix...


Report •

#2
January 28, 2011 at 05:38:03
I'm not sure how the VMS NFS client determines if it has to translate/escape a file name: maybe specify MOUNT /SERVER_TYPE=UNIX /STRUCT=5
on the NFS MOUNT command to see if it makes a difference.
On my system (also TCPIP 5.4) I have a NFS volume served by a Linux system, and do:

MPIW10_CRY>create test.dat$la
Exit
MPIW10_CRY>ls test.*
test.dat$la


It does NOT convert the file name! The volume is mounted with /struct=5 .

This said, I think it is a good idea to not use '$' or other characters used as meta-characters in Unix shells. (and remember: '$' is a reserved character on VMS also, they should be used ONLY by VMS system facilities.)

Joseph Huber, http://www.huber-joseph.de
ITRC


Report •

#3
January 28, 2011 at 09:47:47
Thank you. Mounting with /struc=5 did the trick.

Report •

Related Solutions

#4
January 28, 2011 at 10:51:59
Apropos $ in file names and other identifiers:
See my writeup at
http://www.mppmu.mpg.de/~huber/vmsd...

Joseph Huber, http://www.huber-joseph.de
ITRC


Report •


Ask Question