Hi,

I'm building current ports in a chroot with dpb(1), and I'm keeping the
ports tree in /extra/ports which is mounted over local NFS to both
/usr/ports and /extra/proot/usr/ports (in my chroot).

Recently I've seen this happening:

$ ls -l /extra/ports/packages/amd64/all/wget*
-rw-r--r--  3 _pbuild  _pbuild  1227063 May 28 12:27
/extra/ports/packages/amd64/all/wget-1.20.3p1.tgz
$ ls -l /usr/ports/packages/amd64/all/wget*
ls: /usr/ports/packages/amd64/all/wget-1.20.3p1.tgz: No such file or directory

That is, the name of the file is listed in the directory entry on the
NFS mount, but the actual file does not appear to be there.  It appears
after a few *minutes* though.

$ mount
/dev/sd0a on / type ffs (local, softdep)
/dev/sd0e on /usr type ffs (local, nodev, softdep)
/dev/sd0d on /var type ffs (local, nodev, nosuid, softdep)
/dev/sd1a on /usr/local type ffs (local, nodev, wxallowed,
softdep)
/dev/sd2a on /home type ffs (local, nodev, softdep)
/dev/sd3a on /extra type ffs (NFS exported, local, nosuid, wxallowed,
softdep)
localhost:/extra/ports on /usr/ports type nfs (v3, udp, timeo=100,
retrans=101)
localhost:/extra/ports on /extra/proot/usr/ports type nfs (v3, udp,
timeo=100, retrans=101)

The entries for the mounts in /etc/fstab:

localhost:/extra/ports  /usr/ports              nfs     rw
localhost:/extra/ports  /extra/proot/usr/ports  nfs     rw

This is on a current amd64 VM.

What is the cause of the delay and is there anything I could do to
trigger the NFS daemon to deliver the actual file a bit quicker?

Regards,

-- 
Kusalananda
Sweden

Reply via email to