Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-13-2004, 04:57 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
auto mount shares before login

I would like to be able to mount shares before system login.

What we want to set up is 2 servers running a database with the database file itself located on another server on the network(NAS). I am not sure if I should try samba to do this or what other methods that I might have available to do this. Both servers need to be able to read and write to the share. I would like this before login because if the power goes down and then back up the database server will start up but if there are no shares mounted then the database server can not work. We are working with SUSE 9 also. Thanks for your time

Matt K
Old 01-13-2004, 05:53 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Edit /etc/fstab to add the shares so they are mounted at boot time and before anyone ever logs in. Regards.
Old 01-13-2004, 08:05 PM   #3
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
if you are mounting to a network drive you will need to put an entry in your rc.local


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA auto sync shares KaiserSoze860 Linux - Software 0 05-16-2004 02:35 PM
Windows shares - auto mount problem hopmedic Linux - Networking 4 02-07-2004 11:14 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 01:26 PM
Auto Mount On Boot Win32 Shares zipur Linux - Networking 1 10-08-2002 03:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:58 PM.

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