Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1088 - NFS drives take forever to mount
Summary: NFS drives take forever to mount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-12 00:02 UTC by Pardsbane
Modified: 2002-03-20 23:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pardsbane 2002-03-12 00:02:20 UTC
NFS drives seem to take a very long time to mount on a stock install of 
Gentoo. I'm not sure why this is, but my old Debian system mounted NFS-exports 
very quickly, while Gentoo takes many minutes for mount to return to the 
prompt. Running /etc/init.d/netmount on bootup results in a very long (5 
minutes?) hang in the boot process.

This is probably a configuration issue, but it should probably be setup 
correctly on install. If not, sorry!
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-12 09:43:29 UTC
Azarah: not sure about this, other than a hostname IP lookup failing at boot. 
Submitting this bug to you just in case you have any other ideas.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-12 15:49:55 UTC
NFS stuff needs portmap, and if its not running, these timeouts do happen.

Our netmount script already have a "use portmap" (actually where 'use'
originated :) ), so the user should just merge portmap and add it to
the default runlevel:

# emerge portmap
# rc-update add portmap default
Comment 3 Pardsbane 2002-03-12 23:34:26 UTC
Makes sense, I've done this, and I'll check to make sure this solves the 
problem. However, if netmount is run by Gentoo by default, isn't it logical 
that portmap be run by default as well? Or perhaps netmount should check fstab 
for nfs mounts, and run portmap if there are any.... I dunno.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-20 23:44:05 UTC
No.  Not all users want portmap.  If you have a look at the netmount
script, you will see that it have "use portmap" which will handle the
starting of portmap before it if portmap is merged and in the default
runlevel.

I am changing this to FIXED, as all the needed stuff is there, the 
default "emerge foo && rc-update add foo default" for a service must
just be done.