Guest tezca Posted April 5, 2003 Report Share Posted April 5, 2003 anybody know how to mount nfs directories at boot through fstab? I set up an nfs server on mandrak 9.0 and it mount fine from other clients at the command line, I added to fstab in the client machines mandrak90:/pub /mnt/nfs nfs timeout=100 0 0 and it still dosn't mount at boot, Portmap is running and thier is no firewall at this time ( this is on a LAN with no net access & this is for study purposes LPI exam & Linux + etc) I know automount can do this but I'm sure thet it has to be done at boot through fstab for exams also I chkconfig --level 345 portmap on but i'm wondering if there is something else I am missing, nfs is running on the server cuz as soon as the client gets to the login run level and I log in i can mount from the command line with #mount mandrak90:/pub /mnt/nfs & it works fine any help would be greatly appriciated. setup LAN with 3 machines PPC yellowdog linux biege G3 900mhz amd duron 512 mb 50 gb HD (2) GRUB bootloader that can boot mandrake 9.0 and redhat 8.0 as well as windows 900mhz amd duron 512mb 20 gb HD Sun Solaris 9 (intel version) Quote Link to comment Share on other sites More sharing options...
b Posted April 6, 2003 Report Share Posted April 6, 2003 Hi Maybe portmap and nfs are not yet running when filesystems in /etc/fstab are mounted ? Is there feedback in logs ? If I am on track, ideas. Change service startup order so that portamp and nfs are started after network setup and before filesytems in fstab are mounted or manually 're'mount nfs shares as last entries commands in your "rc.local" file (I think in mandrake it's /etc/rc.d/rc.local, for me it's /etc/conf.d/local.start, no idea for your linux) i.e. nfs mount instructions just before user get's control at a cli or in gui. HIH Quote Link to comment Share on other sites More sharing options...
Guest tezca Posted April 7, 2003 Report Share Posted April 7, 2003 you know I think your right, I used to add entries in rc.local before I started using chkconfig to turn services on, Thanx!!! fstab allways starts before neworking services, so the rc.local file has to be it!!! thanx! Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 14, 2003 Report Share Posted April 14, 2003 I just put the old fstab entry into my new mdk9.0 and later mdk9.1 /etc/fstab and they mount on boot without any problem. You should not have to resort to editing /etc/rc.local or anything else, just /etc/fstab At the time (mdk8.2) I set things up with linuxconf, later just copied the right entries to the new /etc/fstab. Quote Link to comment Share on other sites More sharing options...
Guest tezca Posted April 14, 2003 Report Share Posted April 14, 2003 It was in the syntax I had "timeout=100" for fstab entries it is "timeo=100" thanx !!!!!!!!!!!!!1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.