***SERIOUS*** named pipe over foreign nfs does not work

Klaus Tilk (tilk@informatik.tu-muenchen.de)
Wed, 22 Apr 1998 16:10:42 +0200


named pipe over foreign nfs does not work

enviroment (ver_linux):
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux atbode63 2.0.33 #2 Tue Mar 3 15:02:00 CET 1998 i686 unknown
Kernel modules 2.1.34
Gnu C 2.7.2.1
Binutils 2.7.0.9
Linux C Library 5.4.33
Dynamic Linker (ld.so) 1.8.12
Linux C++ Library 27.2.1
Procps 1.12
Mount 2.6d
Net-tools (Peter
Kbd 0.89
Sh-utils 1.16

scenario:

*************
* case one: *
*************

home via nfs and amd from solaris nfs server:
/a/sunbode2/export/home/staff/tilk

trying to make a fifo on linux host:

15:35:10].atbode63.tilk% mkfifo fifo
[15:35:38].atbode63.tilk% ls -l fifo
-rw-r--r-- 1 tilk kmem 0 Apr 22 15:35 fifo
[15:35:41].atbode63.tilk% file fifo
fifo: empty

*************
* case two: *
*************

making fifo on solaris host:

[15:33:46].sunbode2.tilk% rm fifo
[15:36:49].sunbode2.tilk% mkdir fifo
[15:36:55].sunbode2.tilk% ls -l fifo
total 0
[15:37:01].sunbode2.tilk% file fifo
fifo: directory

and let's see what's this on linux:

[15:35:47].atbode63.tilk% file fifo
fifo: character special (255/255)
[15:57:33].atbode63.tilk% ls -l fifo
crw-r--r-- 1 tilk kmem 255, 255 Apr 22 15:45 fifo

OOPS !!!!!

***************
* case three: *
***************

this time nfs server _and_ client running under linux:

15:57:37].atbode63.tilk% cd /usr/local/sci
[16:03:01].atbode63.sci% ls -l
total 0
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode63 ->
../../../.stage/atbode63_sci/
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode64 ->
../../../.stage/atbode64_sci/
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode65 ->
../../../.stage/atbode65_sci/
lrwxrwxrwx 1 tilk sysadm 28 Mar 31 13:35 atbode66 ->
../../../.stage/atbode66_sci/
lrwxrwxrwx 1 tilk sysadm 8 Mar 31 13:35 local ->
atbode63/
16:03:09].atbode63.sci% cd atbode66
[16:03:28].atbode63.atbode66% ls
[16:03:29].atbode63.atbode66% ls -la
total 2
drwxrwxrwt 2 root root 1024 Mar 31 13:40 ./
dr-xr-xr-x 3 root root 1024 Mar 31 13:39 ../
[16:03:52].atbode63.atbode66% ls -l /.stage/atbode66_sci
lrwxrwxrwx 1 root root 22 Apr 22 16:03
/.stage/atbode66_sci -> /a/atbode66/export/sci/
atbode66:/export/sci on /a/atbode66/export/sci type nfs
(rw,nosuid,intr,soft,timeo=10,retrans=8)
[16:04:10].atbode63.atbode66% mkfifo fifo
[16:04:31].atbode63.atbode66% ls -l fifo
prw-r--r-- 1 tilk kmem 0 Apr 22 16:04 fifo|

here it works !!!!

btw.:

we have here a heterogenous net with a lot of host running
aix/irix/sunos/solaris/hpux
and under all these commercial unices the scenario:

host_a: nfs server (os a)
host_b: nfs client (os b)

and making fifo on host_b in directory from host_a everything works
flawlessly

----
Klaus Tilk | phone: +49-89-289-28257
Technische Universitaet Muenchen | fax : +49-89-289-28232
Institut fuer Informatik |
Arcisstrasse 21 | email:
80290 Muenchen Germany | tilk@informatik.tu-muenchen.de

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu