LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-22-2002, 02:35 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
badly need some help here :P


maybe I should rephrase the question...how can I set up my server and client nodes so that everytime a client boots, it can automatically remount /home (NFS) from the server??I've added entry like this in /etc/exports(server):

/home 10.1.1.0/255.0.0.0(rw,no_root_squash)

and I got this entry in /etc/fstab(clients):

ara03:/home /home nfs

the clients could mount the share alright, but everytime they reboot , users have to mount /home all over again (mount -t nfs ara03:/home /home). What can I do so that /home can be mounted automatically each time a client reboots?

thanks a lot...i'm counting on you guys!

-suzana

Last edited by katana; 01-22-2002 at 02:37 AM.
 
Old 01-22-2002, 03:54 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You can put the command in the /etc/rc.d file that your distro uses for local commands. Slackware has /etc/rc.d/rc.local, your distro should have something similar that would do the job, also if you use KDE there is am autostart folder where you can put a script to be run when kde starts that would do the same job.
 
Old 01-22-2002, 10:20 PM   #3
katana
Member
 
Registered: Jun 2001
Posts: 100

Original Poster
Rep: Reputation: 15
THANKS!! now why didnt I think of doing that before?:P

but I have this lil prob...I've put in an entry like this in file S86mount in /etc/rc.d/rc5.d (client nodes)

mount -t nfs ara03:/home /home

then I rebooted the nodes, I saw this:

mount: execvp permission denied

is there anything I can do to prevent this error?thanks!
 
Old 01-23-2002, 03:01 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You can change the permissions....
 
Old 01-23-2002, 09:41 PM   #5
katana
Member
 
Registered: Jun 2001
Posts: 100

Original Poster
Rep: Reputation: 15
thanks! that's pretty stupid of me, I should have known :P

thanks a lot, aussie!

-suzana
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I badly need help john0908 Programming 1 02-18-2005 07:54 PM
plz. need help badly dzan Programming 0 02-15-2005 10:28 PM
Need some help badly Part2 Rolby Linux - Hardware 2 06-21-2004 03:29 PM
need help BADLY!! zdos Linux - Newbie 2 05-23-2004 02:45 PM
I badly need your help! rookieter Linux - Networking 1 08-20-2003 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration