You are not logged in.

#1 2010-02-22 05:02:50

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Nfs [solved]

so ive been using NFS for a while now. im finally getting around to figuring out why it doesnt automount at boot..

watching the boot messages, i see a message that is something like "servername: could not be reached. dns lookup failed."

i can mount the shares no problem once its finished booting.

i assume that its trying to mount the shares before the network is up.

anyone have any ideas or suggestions?

Last edited by thelastknowngod (2010-02-22 12:54:07)

Offline

#2 2010-02-22 09:42:14

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Nfs [solved]

you can try adding the ip address of the "servername" to /etc/hosts.

Offline

#3 2010-02-22 10:44:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Nfs [solved]

Change the order in rc.conf DAEMONS as required.

Offline

#4 2010-02-22 12:53:33

thelastknowngod
Member
Registered: 2008-01-11
Posts: 110

Re: Nfs [solved]

ahh i got it.

i was using wicd. thats where the delay was.

took that out and manually set the ip in rc.conf and it works perfectly.

damn PEBCAK errors wink

Offline

#5 2010-02-22 23:27:37

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Nfs [solved]

tomk wrote:

Change the order in rc.conf DAEMONS as required.

Problem there is that when you shutdown/reboot, arch will hang because the network is down before it umounts. sad

Offline

#6 2010-02-23 00:48:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Nfs [solved]

huh?

You start network before mounting shares at boot time, you unmount shares before stopping network at halt time. I never have a problem....

Offline

#7 2010-02-24 00:58:57

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Nfs [solved]

hmm, I guess you're right. For me it always hangs on trying to umount the shares, and I think the network is also down by then, when I get the message. But logically it seems that it shouldn't be related to the network, so it must be some other NFS problem.

Offline

#8 2010-02-27 10:41:13

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: Nfs [solved]

I have the same problem. NetworkManager is down before nfs tries to umount. Therefore it hangs a good minute or more before halting.

Annoying.

To start I have nfs mount stuff using NetworkManager's dispatcher.

But how can I make umount nfs shares the first thing it does on halting?

Offline

Board footer

Powered by FluxBB