A/UX: NFS "Not a directory" Message (9/94)


I have some problems with an nfs configuration. Here is what happens:

#mount
/dev/dsk/c5d0s0 on / type 5.2 (rw,noquota)

#ls -la /udd/halles
total 2
drwxrwxrwx 2 root root 32 Jan 12 06:40 ./
drwxrwxrwx 6 root root 96 Jan 12 06:40 ../

#mount ilog:/udd/halles /udd/halles
#mount
/dev/dsk/c5d0s0 on / type 5.2 (rw,noquota)
ilog:/udd/halles on /udd/halles type nfs (rw)

To prove the exchange of information, the command df:

#df
/ /dev/dsk/c5d0s0 7064 blocks 9443 i-nodes
/udd/halles ilog:/udd/halles 1514 blocks 0 i-nodes

It runs, and ls runs, too (the permissions are the remote permissions).

#ls -l /udd
drwxrwxrwx 6 root root 96 Jan 12 06:40 ./
drwxr-xr-x 17 root root 720 Jan 12 07:17 ../
drwxrwxrwx 2 root root 32 Jan 12 06:40 chatelet/
drwxrwxrwx 2 root root 32 Jan 12 06:40 cite/
drwxr-xr-x 61 root ilog 1536 Jul 3 1989 halles/

Now the problem:

#cd /udd/halles
/udd/halles : Not a directory


I run a command like ls /udd/halles, and I get a list of the subdirectory with the error message: <dir> : Not a directory.

As you described, there doesn't seem to be anything wrong on your local NFS client side. However, from the error message "Not a directory", it sounds like the REMOTE NFS server exported filesystem or directory, /udd/halles in this case, is not a directory type.

Check the spelling of the exported directories on the remote NFS server; both the exported entries in the "/etc/exports" file and the actual filesystem object MUST be a directories. After checking the spelling from the remote NFS server, at the local NFS client do "/etc/umount /udd/halles", and try the NFS mount command again.

Also the "showmount [a] [d] [e] [host]" is a nice tool for NFS to display things like directories that have been mounted by clients, the list of exported filesystems from the server, and so on. See showmount (1M) for details.


Article Change History:
06 Sep 1994 - Reviewed.
31 Aug 1992 - REVIEWED for technical accuracy


Support Information Services

Published Date: Feb 18, 2012