Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfsmount mounts only first entry
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Aug 26, 2005 5:18 pm    Post subject: nfsmount mounts only first entry Reply with quote

hi,

i have alittle trouble with nfsmount at boottime. I have 2 nfs-folders in /etc/fstab and nfsmount in default runlevel. But while booting, only the second entry gets mounted. Same thing happens with netmount. I guess this is because sk98lin (the eth0-driver) is not really up when nfs tries to mount the 1st entry.
After login i can run nfsmount just fine...
What would be the best way to resolve this issue?
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Fri Aug 26, 2005 5:36 pm    Post subject: Reply with quote

Strowi,

Whats in /etc/fstab for your nfs mounts ?
I use
Code:
eccles:/home            /mnt/eccles     nfs     bg,_netdev,rsize=8192,wsize=8192

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Fri Aug 26, 2005 6:52 pm    Post subject: Reply with quote

Please also show use your /etc/exports (from server) and /etc/hosts (from both server and client).
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Aug 26, 2005 7:18 pm    Post subject: Reply with quote

sorry, totally forgot about posting the files...
here they come... i can't see any errors, since the /home is always mounted fine, only /usr/portage mkaes trouble.

/etc/fstab (client)
Code:

192.168.2.1:/usr/portage        /usr/portage    nfs             intr,rsize=8192,wsize=8192,nfsvers=3,hard       0 0
192.168.2.1:/home               /home           nfs             intr,rsize=8192,wsize=8192,nfsvers=3,hard       0 0


/etc/hosts (client)
Code:

127.0.0.1       localhost.localdomain   localhost
192.168.2.35    Sleipnir.Naglfar        Sleipnir
192.168.2.1     Yggdrasill.Naglfar      Yggdrasill


/etc/hosts (server)
Code:

127.0.0.1       localhost
192.168.2.35    Sleipnir.Naglfar Sleipnir
192.168.2.18    Klopsos.Naglfar Klopsos


/etc/exports
Code:

/usr/portage/          192.168.2.35(rw,sync,no_root_squash,no_subtree_check)
/home                   192.168.2.35(rw,sync,no_root_squash,no_subtree_check)

_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Fri Aug 26, 2005 7:30 pm    Post subject: Reply with quote

Strowi wrote:

/etc/exports
Code:

/usr/portage/          192.168.2.35(rw,sync,no_root_squash,no_subtree_check)
/home                   192.168.2.35(rw,sync,no_root_squash,no_subtree_check)
hmmm, maybe the trailing / on /usr/portage/ might cause problems? Try to remove it and let us know if it makes a difference.
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Aug 26, 2005 7:31 pm    Post subject: Reply with quote

Mhh... just added "bg" to both in fstab, now it works. I guess it just retries the next time. So it is definitly a problem with the eth0 device not being really up..

THX for your help!

[edit] will try removing the last "/" on /usr/portage and report back.
[update] it's NOT a problem with the trailing /
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum