Operating System - OpenVMS
1752801 Members
5289 Online
108789 Solutions
New Discussion юеВ

NFS - can not connect to export folder

 
IFX_1
Frequent Advisor

NFS - can not connect to export folder

Hi All,
I export a folder in VMS using add export but when I try to connect via WINDOWS MAP, I can not find the folder. Or I get the error \\10.83.146.76\statsapp\statsapp\emes\ network path can not be found.

Any reply would be very much appreciated.

TCPIP> sh export

File System Host name

/statsapp/statsapp/emes *
TCPIP> sh map
Dynamic Filesystem Map
Pathname Logical File System

/statsapp $1$DGA1336:
TCPIP> sh proxy

VMS User_name Type User_ID Group_ID Host_name

STATSAPP1 CD * *
STATSAPP1 OND -2 -2 *

TCPIP> show service nfs/full

Service: NFS
State: Enabled
Port: 2049 Protocol: UDP Address: 0.0.0.0
Inactivity: 0 User_name: TCPIP$NFS Process: TCPIP$NFS
Limit: 1 Active: 0 Peak: 0

File: TCPIP$SYSTEM:TCPIP$NFS_RUN.COM
Flags: None

Socket Opts: Rcheck Scheck
Receive: 64000 Send: 64000

Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: SYS$SYSDEVICE:[TCPIP$NFS]TCPIP$NFS_RUN.LOG

Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
17 REPLIES 17
Volker Halle
Honored Contributor

Re: NFS - can not connect to export folder

Ronald,

I'm not a Windows expert, but don't you need a NFS Client on the Windows system to be able to acccess NFS file systems on the NFS host ?

Such a NFS client would typically use some kind of 'mount' command to map to an exported filesystem on the NFS host.

Volker.
Daniel Fernandez Illan
Trusted Contributor

Re: NFS - can not connect to export folder

Hi Ronald
Are you using TYPELESS_DIRECTORIES when create exported service?

This is the help message to this option:

TYPELESS_DIRECTORIES, NOTYPELESS_DIRECTORIES

- TYPELESS_DIRECTORIES

Removes .dir.1 from the name of directories. A naming
conflict could arise if, for example, two files exist in
the parent directory:

DOVE.;1 (regular file)
DOVE.DIR;1 (directory file)

The name is returned as dove., rather than dove, if a file
and a conflicting directory exist.

- NOTYPELESS_DIRECTORIES (default)

Returns names as file.ext and file.dir.

If you does not use typeless_directory then your path from WINDOWS was:

tatsapp\statsapp.dir\emes.dir\

Saludos.
Daniel.
Joseph Huber_1
Honored Contributor

Re: NFS - can not connect to export folder

Not knowing anything about the Windows side, check on the VMS side, if there is a NFS mount request coming at all, and if so, any errors occurring:

Enable a VMS terminal as an operator terminal ($reply/enable/temp). Any message when the windows side tries to mount ?

Is something (error messages ?) written in SYS$SYSDEVICE:[TCPIP$NFS]TCPIP$*.LOG
after the server startup message ?
http://www.mpp.mpg.de/~huber
IFX_1
Frequent Advisor

Re: NFS - can not connect to export folder

Hi Volker,
You are correct. I need a NFS client to access the NFS host. But, is it not a default in WINDOWS you use the MAP command?

regards,
ronald
IFX_1
Frequent Advisor

Re: NFS - can not connect to export folder

Hi,
I am using the default, NOTYPELESS.
I actually did some simulation and even check the logs but I don't see any sign of errors. The only thing I noticed that when I connect from the WINDOWS client, it seems it cannot recognize the export folder. When doing this, I enable the reply/enable=network but messages displayed related to the connection I made.

Any help will do.

regards,
ronald
Steven Schweda
Honored Contributor

Re: NFS - can not connect to export folder

Can we assume that you actually have a
directory like this (with suitable ownership
and protection)?

$1$DGA1336:[statsapp.emes]


Incidentally, I see how to set the options
in an EXPORT command, but I don't see how to
_show_ those options later, so I don't know
how mine are set.
Steven Schweda
Honored Contributor

Re: NFS - can not connect to export folder

Hmmm. When in doubt, ask the victim.

SHOW MAP:

Pathname Logical File System

/dka0 ALP$DKA0:
[...]

SHOW EXPORT:

File System Host name

/dka0 urtx.antinode.org, [...]

On the Tru64 system:

urtx# ls -l /net/alp/dka0/anonymous/
total 402
-rwxr-xr-x 1 root daemon 41 Mar 12 2005 announce.txt
drwxr-xr-x 2 root daemon 512 Nov 28 22:14 boinc.dir
drwxr-xr-x 2 root daemon 512 Nov 28 22:14 bzip2.dir
[...]

Looks like NOTYPELESS. Note, however, that
there's no need to _specify_ ".dir" in a
path:

urtx# ls -l /net/alp/dka0/anonymous/bzip2/
total 52
-rwxr-xr-x 1 root daemon 383 Oct 5 2005 -bzip2_main_page-.html
drwxr-xr-x 2 root daemon 512 Nov 28 22:18 bzip2-1_0_3a_vms.dir
drwxr-xr-x 2 root daemon 512 Nov 28 22:18 bzip2-1_0_3b_vms.dir

Although it _does_ work to use it:

urtx# ls -l /net/alp/dka0/anonymous.dir/bzip2.dir/
total 52
-rwxr-xr-x 1 root daemon 383 Oct 5 2005 -bzip2_main_page-.html
drwxr-xr-x 2 root daemon 512 Nov 28 22:19 bzip2-1_0_3a_vms.dir
drwxr-xr-x 2 root daemon 512 Nov 28 22:19 bzip2-1_0_3b_vms.dir

I haven't tried exporting a subdirectory.
John Travell
Valued Contributor

Re: NFS - can not connect to export folder

There seems to be a missed point.
A windows MAP command is looking for an SMB share, not an NFS mount point.

If you want to use the windows MAP command, you should be looking at Pathworks (Advanced Server) or SAMBA.

As has been pointed out, to have the windows box use what you have setup, you need the NFS client.

JT:
IFX_1
Frequent Advisor

Re: NFS - can not connect to export folder

Hi Steve,
Indeed, the folder $1$DGA1336:[statsapp.emes] exists. And somehow, until now, I still can not map it from WINDOWS box.