Sometimes Elvis, sometimes Abbott

I’ve been tinkering with the NFS settings in the 2.6.26-series kernels, and wondering why in the heck things suddenly wouldn’t work my way … or the way I was used to.

No matter what I did, any attempt to mount a network drive was hanging for two and three minutes at a time, possibly longer — I cut the command short when it looked like it wasn’t working. As far as I could tell I had the same network settings as the Arch-to-Arch arrangement, so I couldn’t help but wonder why the Crux-to-Arch setup was misbehaving.

I tried recompiling two or three kernels, with the NFS module incorporated and separate, and I even rebuilt portmap and nfs-utils with different flags. Every time, it was the same, eternal, empty command prompt.

Until my quasi-ADHD tendencies took over, and I became distracted during one of those blind, hanging mount attempts. When I remembered what I was supposed to be doing, I checked the terminal and there was a nifty message telling me I needed to use the nolock option, or run statd.

Aha! So, rewriting my /etc/fstab to include that, or including it with the -o flag on a mount command suddenly makes things happy. Here’s what it looked like in action. …

mount 192.168.xx.xx:/home/kmandla /media/thinkpad -o nolock

And here’s what it looks like in my fstab.

192.168.xx.xx:/home/kmandla/ /media/thinkpad nfs noauto,nolock,users 0 0

Just like magic. I don’t know what I’m doing that I need that command, but I also don’t think I had been running my Crux machine as the client in my previous NFS arrangements. New style, new challenge. And usually I just have to wait to get the information I need, instead of repeatedly bashing my head against the screen.

Sometimes things just work right, and sometimes they just don’t. Sometimes I feel like Elvis, and sometimes I feel like Abbott.

About these ads

0 Responses to “Sometimes Elvis, sometimes Abbott”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,959,647 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: