Skip site navigation (1)Skip section navigation (2)
From:      Walter Hafner <hafner@informatik.tu-muenchen.de>
To:        questions@freebsd.org
Subject:   strange NFS problem
Message-ID:  <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help
Host A: FreeBSD 2.2.8 STABLE, NFS Server
Host B: FreeBSD 3.1 RELEASE, NFS Client

Host A runs "mountd -n" and "nfsd" (4 childs).

Routing between A and B is ok, DNS and reverse DNS is ok.

/etc/exports on A:

/export/dist    B C D
/export/data    B C D

/etc/fstab on B:

A:/export/data  /mount/A/export/data  nfs  2,rw,intr,soft,noauto  0  0
A:/export/dist  /mount/A/export/dist  nfs  2,rw,intr,soft,noauto  0  0


When I do a

mount /mount/w3proj1/export/data

on B it hangs forever. When I start mountd with -d on A, it tells me
"mount successful" or something similar (don't have the machine at
hand.)

A ktrace on the "mount ..." line gives:

 [std lib messages]
 [reading fstab]
 53205 mount    RET   read 528/0x210
 53205 mount    CALL  statfs(0x806bfbd,0xefbfd0b8)
 53205 mount    NAMI  "/"
 53205 mount    RET   statfs 0
 53205 mount    CALL  stat(0x8071320,0xefbfd1b8)
 53205 mount    NAMI  "/dev/da0s1a"
 53205 mount    RET   stat 0
 53205 mount    CALL  open(0x806ba40,0,0xefbfcb3c)
 53205 mount    NAMI  "."
 53205 mount    RET   open 4
 53205 mount    CALL  chdir(0xefbfcb3c)
 53205 mount    NAMI  "/mount/A/export"
 53205 mount    RET   chdir 0
 53205 mount    CALL  lstat(0xefbfcb52,0xefbfcaac)
 53205 mount    NAMI  "data"
 53205 mount    PSIG  SIGINT SIG_DFL


Any hints?

Thanks.

-Walter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14218.4014.47678.998590>