NFS works, then doesn't

Soukup, Kevin (KSoukup@micro.honeywell.com)
Tue, 08 Jun 1999 21:10:35 -0500


Please respond directly as I am not subscribed to this list.

I'm running Redhat 6.0 pretty much vanilla. In order to automount /net I'm running amd. In order to automount /user trees I'm running autofs (automount). Both seem to work alright, except for the following.

When I cd to (or ls) /net/hades/wd2/mlib/MICRO_SWITCH, I get the contents of the directory once and only once. After that I can cd into the directory, but it appears to contain nothing (ls -la returns total 0). I have to manually unmount hades:/wd2 and then stop and restart amd and nfs. Then the system repeats itself.

hades is an HPUX, D250 running 10.20 and patty is a Dell 6300 running Kernel 2.2.5-15

Here's what I get after a boot up, nfs, amd and autofs configured to start:

[root@patty init.d]# mount

/dev/sda5 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda6 on /raid type ext2 (rw)
none on /dev/pts type devpts (rw,mode=0622)
automount(pid909) on /user type autofs (rw,fd=5,pgrp=909,minproto=2,maxproto=3)
fas3:/vol/vol0/oracle on /user/oracle type nfs (rw,addr=10.202.3.225)
patty:(pid2181) on /net type nfs (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/amd.conf,dev=0000 0003)

Notice that patty is mounted 'patty:(pid2181) on /net type nfs', why is this? why is it (patty is the Linux box) mounted as an nfs filetype?

Here's what I get when I simply cd /net/hades/wd2/mlib/MICRO_SWITCH (again, I do an ls -la on the directory and it works. I immediately do another ls -la and it doesn't.):

[root@patty init.d]# mount

/dev/sda5 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda6 on /raid type ext2 (rw)
none on /dev/pts type devpts (rw,mode=0622)
automount(pid909) on /user type autofs (rw,fd=5,pgrp=909,minproto=2,maxproto=3)
fas3:/vol/vol0/oracle on /user/oracle type nfs (rw,addr=10.202.3.225)
hades:/ on /.automount/hades/root type nfs (nosuid,nodev,dev=00000005)
hades:/opt on /.automount/hades/root/opt type nfs (nosuid,nodev,dev=00000007)
hades:/stand on /.automount/hades/root/stand type nfs (nosuid,nodev,dev=00000009)
hades:/tmp on /.automount/hades/root/tmp type nfs (nosuid,nodev,dev=0000000a)
hades:/usr on /.automount/hades/root/usr type nfs (nosuid,nodev,dev=0000000b)
hades:/var on /.automount/hades/root/var type nfs (nosuid,nodev,dev=0000000c)
hades:/wd1 on /.automount/hades/root/wd1 type nfs (nosuid,nodev,dev=0000000d)
hades:/wd2 on /.automount/hades/root/wd2 type nfs (nosuid,nodev,dev=0000000e)
patty:(pid1567) on /net type nfs (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/amd.conf,dev=0000 003)

I'm pretty sure this all worked fine running Redhat 5.2. Any suggestions would be greatly appreciated. Please respond directly. Thank you, thank you, thank you.

Kevin Soukup

=========================================
Kevin Soukup
CAD/CAM Engineer
Honeywell MICRO SWITCH Division
11 W. Spring St., B3-521
Freeport, IL 61032

phone: (815) 235-6944 (wk)
phone: (815) 232-4133 (hm)
FAX: (815) 235-5959 (wk)
e-mail: ksoukup@micro.honeywell.com
=========================================

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