Hi, Henrik
On Wednesday 11 January 2012 02:22, in comp.windows.x.kde,
Henrik.C...@deadspam.com wrote:
> Lew Pitcher <
lpit...@teksavvy.com> wrote:
>> I have several directories exported from an NFS server, all mounted at
>> boot time to subdirectories in /var/nfs/merlin (a custom directory).
>
> What is the configuration of your NFS server?
Well, it's changed a little bit since I posted my original message.
Originally, /etc/exports contained
/var/media *.my.lan(rw,root_squash,sync,no_subtree_check)
/home/lpitcher *.my.lan(rw,root_squash,sync,subtree_check)
Now, it contains a few more user home directories, but with the same format.
My NFS server is started by the bog-standard Slackware 13.0
(32bit) /etc/rc.d/rc.nfsd from /etc/rc.d/rc.inet2. No changes there from
what PV puts out.
This config has worked for about a decade now, over several releases of
Slackware, without any discernable problems.
> I suppose that you mount /var/nfs/merlin using a line in /etc/fstab?
Actually, several lines. I have subdirectories in /var/nfs/merlin, one for
each exported filesystem that I want to mount. This, too, has changed as I
tried to debug this problem; I've moved my client mountpoints out of /var
and into /media.
FWIW, each of the fstab entries use the "defaults" mount options. Yes, I
know that I should change this to specific NFS options, but the original
NFS-HOWTO (that I worked from in setting this up, so long ago) specifically
mentioned that "defaults" was acceptable. I'll look at changing the fstab
options to something more current and see if that fixes the problem.
> Do
> you have any special options on that line? The option "intr" might be
> useful for NFS mounts, it will not help against things like this, but at
> least you will be able to kill processes hanging on unaccessable NFS
> shares.
Nope. Just "defaults". But I'm working through a more current NFS-HOWTO, and
the mount.nfs(8) manpage, and I'll modify my mount options tomorrow.
>> However, this procedure does not work for /all/ the NFS directories I
>> previously had access to: some /specific/ directories (whether accessed
>> through a symlink or through a "Link to Location") hang Konqueror.
>
> Do you find any NFS related messages from dmesg? It might also be
> interesting to read the log files on the NFS client and, if possible, the
> NFS server.
Nothing. No NFS messages on either the client or the server. No media
failure messages on the server, either. The filesystem has been strangely
silent through all this.
>> Navigating via commandline (xterm, file dialog in Firefox & Kmail,
>> runlevel 3) all work properly and *ALL* the exported directories and
>> files are accessable that way.
>
> Maybe konqeuror is follwoing symlinks, also checking out what they are
> pointing to but in command line and file dialogs you are only looking at
> the symlinks without caring about what they point to?
Perhaps. When konqueror hangs, it takes 100% CPU (by top(1) measurement),
and does not swap out on a D status (as I would expect for a hardware-ish
failure). The interesting thing is that XFCE's Thunar GUI filesystem tool
doesn't have any problem navigating the same paths to the remote files and
directories. Thus, my suspicion that konqueror has some bug, that I have
perhaps exacerbated with my unusual and archaic setup.
>
>> So, the problem seems isolated to Konqueror, and only to /some/ NFS
>> directories.
>
> My guess is that you have problems with some parts of the directory
> structure of your NFS server. I also guess that konqueror steps into those
> problems but your other tests so far has not gone deep enough into the
> problematic directories.
What I'm finding is konqueror /does/ get into the problem directories (it
manages to read the .desktop file if it is there) before it hangs. And, if
I move the data (say, copy to a new directory) and remove the old
directory, the problem goes away. I'm thinking that something funky is
happening on the HD (a bad block, perhaps), but can't yet find any log
evidence to confirm it. I'll have to use some disk diagnostic tools to
check further.
>> I've checked permissions, NFS (both the server and the client system)
>> and can't find the problem. What I need to know is if anyone has
>> encountered problems with NFS mounts under KDE 3.5 / Konqueror 3.5.10,
>> and what to look for.
>
> Look for NFS timeouts in dmesg and log files. As some parts of the NFS
> directory tree is working I would continue looking for file system errors
> on the NFS server, but that might be hard to track if you have some kind
> of cheap embedded NAS.
Thanks again for the advice. I haven't yet found any NFS messages in dmesg
or the log files. But, I'll keep looking.
--
Lew Pitcher