View previous topic :: View next topic |
Author |
Message |
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Fri Aug 26, 2005 5:18 pm Post subject: nfsmount mounts only first entry |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Fri Aug 26, 2005 5:36 pm Post subject: |
|
|
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 |
|
|
phsdv Guru
Joined: 13 Mar 2005 Posts: 372 Location: Europe
|
Posted: Fri Aug 26, 2005 6:52 pm Post subject: |
|
|
Please also show use your /etc/exports (from server) and /etc/hosts (from both server and client). |
|
Back to top |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Fri Aug 26, 2005 7:18 pm Post subject: |
|
|
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 |
|
|
phsdv Guru
Joined: 13 Mar 2005 Posts: 372 Location: Europe
|
Posted: Fri Aug 26, 2005 7:30 pm Post subject: |
|
|
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 |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Fri Aug 26, 2005 7:31 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|