Talk:How to use pkgsrc mounted over NFS

From NetBSD Wiki

Jump to: navigation, search

problems

If anyone can address any of the problems I've had, that would be great. ⇔ ChristTrekker 17:11, 16 July 2008 (CEST)

k. Here's some questions.
  1. hard or soft-mount NFS? My past experience was that hard mount was more reliable but far far nastier when the mount point went away.
  2. UDP or TCP? I'm not convinced it matters, but it could make a difference.
  3. how accurate is clock sync between client and server? this can make compilation harder, because make uses the mtime() and atime() info to decide if things are newer or older, and hence decide what has to recompile. with cacheing in NFS, it can be almost impossible to do make in a non-clean directory.
  4. are you running lockd on the server? hangs can come from the different versions of lockd/flock interactions on files.
  5. NFS v4 or not?
-G
  1. Default (hard) on the Linux client.
  2. The default (UDP) on the Linux client.
  3. I guess that was pretty badly off. I've synced them up with ntpdate now, but I should probably get ntpd running or something.
  4. Yes. Is that good or bad?
  5. Server will accept 2-4. How do I check what the clients are using? On the Linux client I tried a mount -o nfsvers=4 but got "NFSv4 not supported". Using nfsvers=3 was OK though. However, it still seems like reading hangs forever, and I can't ^C it...
Thanks. ⇔ ChristTrekker 19:54, 29 July 2008 (CEST)
Personal tools