# umount /var/cache/apt/archives
Cannot MOUNTPROG RPC: RPC: Port mapper failure - RPC: Unable to receive
umount: /var/cache/apt/archives: device is busy
and
# mount /var/cache/apt/archives
mount: RPC: Remote system error - Connection refused
Hmmm... the NFS daemon was not running on server.
I did this on the server:
/etc/init.d/portmap start
/etc/init.d/nfs-kernerl-server start
After I had done this I got:
# umount /var/cache/apt/archives
Cannot MOUNTPROG RPC: RPC: Program not registered
and
# mount /var/cache/apt/archives
mount: RPC: Program not registered
I had to add an entry to /etc/hosts.allow on the server like this:
ssh sshd : ALL@ALL : ALLOW
ALL : 127.0.0.1 LOCAL : ALLOW
portmap : 192.168.254.0/255.255.255.0 : allow
then...
# umount /var/cache/apt/archives
umount: /var/cache/apt/archives: not mounted
YAY! got it!
# mount -v /var/cache/apt/archives
mount: uaine:/var/cache/apt/archives failed, reason given by server: Permission denied
Whoops! I had the wrong directory on the server in the /etc/fstab on the client machine...
# vi /etc/fstab
# mount -v /var/cache/apt/archives
uaine:/mnt/hda1/var/cache/apt/archives on /var/cache/apt/archives type nfs (rw,addr=192.168.254.6)
# mount
...
uaine:/mnt/hda1/var/cache/apt/archives on /var/cache/apt/archives type nfs (rw,addr=192.168.254.6)
All sorted :o)