nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Mount NFS Shares after client reboot

This is a discussion on Mount NFS Shares after client reboot within the File Servers forums, part of the Mastering Servers category; I setup Windows 2003 Server with NFS . I setup Number of Linux RHEL clients that mount a number of ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > File Servers

Linux answers from nixCraft.


File Servers Discussion about Samba, NFS and other UNIX / Linux file servers.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-04-2009, 09:43 PM
Junior Member
User
 
Join Date: Mar 2008
OS: Debian
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
khalil_noura is on a distinguished road
Default Mount NFS Shares after client reboot

I setup Windows 2003 Server with NFS. I setup Number of Linux RHEL clients that mount a number of shares from windows.

I have run to a problem when Linux NFS clients reboot they will not mount windows NFS shares automatically. Is there a way to make these Linux NFS clients mount windows shares automatically at reboot?

We run a number of Oracle scripts and processes that put data in user’s windows home directories and when there is a power failure in datacenter, we have to manually run all these Oracle processes and scripts. This creates a headache for US.


Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-05-2009, 02:08 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,672
Thanks: 11
Thanked 240 Times in 180 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Yes, you can create a shell script and call it from /etc/rc.local.

Another option is create /etc/fstab file to mount network file system.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 05-05-2009, 02:11 AM
Junior Member
User
 
Join Date: Mar 2008
OS: Debian
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
khalil_noura is on a distinguished road
Default

I do have entries in fstab that reference to all Windows NFS shares.

Last edited by khalil_noura; 05-05-2009 at 02:13 AM.
Reply With Quote
  #4 (permalink)  
Old 05-05-2009, 02:14 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,672
Thanks: 11
Thanked 240 Times in 180 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Than it should work w/o a problem. Do you see any problem or error message?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux Mount CIFS shares that contain spaces in their share name stanners Computer Networking and Internet/broadband 1 03-12-2009 09:16 PM
mount -o loop .... PeterGib Linux software 3 08-17-2007 07:03 AM
Track last reboot / shutdown time on linux server sweta Linux software 1 07-16-2007 07:20 AM
command run after reboot kasimani Shell scripting 1 03-22-2007 01:45 AM
Automatically reboot my Windows 2003 Server jerry Windows Xp/2000/2003 server administration 7 10-10-2006 03:23 AM


All times are GMT +5.5. The time now is 01:02 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38