Re: NFS issues - betwixt/between different distros

On Monday 26 Oct 2009 17:44, Ram played with alphabet spaghetti and
left this residue on the plate:

What's your export file look like ?
Can you see these from Ubuntu? showmount -e "hostname or IP of server"

I've been connecting to OS11 NFS supplied shares for over a yeah to
Unbuntu 8.04 /10 - 9.04 and now 9.10 on each upgrade or as in the latest
9.10 clean install.

On suggestion is to have a look at your exports and check to see if
each exported file system has it's own fsid. I have various systems
with different a selection of openSUSE and SuSE[0] versions and I found
that, without having the fsid specified, I started having problems
mounting NFS shares on 11.0 and later versions. I can't recall where I
discovered this as a possible cure, although I do recall Googling to
see if I could find out what was causing the problem, and what was a
possible solution.

All I've had to do was install *NFS-Common* then edit fstab and add the
share mount points.

I used to do that, but it would slow down booting somewhat if more than
one system was rebooted at the same time. My solution was to use autofs
and have that doing the mounting for me.

Mount points that I want all users to see, go in /media/sonedirectory,
these directories needed creating. Stuff that I mount in /mnt/home/ got
created automatically.

With autofs, I have specified all my mounts under /mounts . There I
have a sub-directory for each exported host that I wish the system to
have access to the sharing systems shares. Then, to access a file or
directory, all I need to do is look inside the directory and autofs
mounts it for me.

For the most part this works just fine. Sometimes, after a reboot of
one of the sharing systems, I need to explicitly restart the nfsserver,
but that's not a common requirement. Then again, reboots aren't that
common either.

[0] Yes, some of the systems I have are well beyond EOL. I still have a
system running 9.3, mainly because it does very little but act as a
file server, and a laptop running 9.1 because its memory can't be
upgraded enough to run anything later at a usable speed.

David Bolt

Team Acorn: OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s
openSUSE 10.3 32b | openSUSE 11.0 32b | |
openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2rc1
RISC OS 4.02 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02