LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2008, 10:57 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Mount path


In my system , it mount to another server , can advise if I want it will be auto mount after server reboot , what can i do ? thx
 
Old 04-29-2008, 01:13 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Use fstab or automount to get automatically access to a remote or local filesystem after reboot. See their man pages for more info.
 
Old 04-29-2008, 01:20 AM   #3
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
Not sure what you want exactly, but am guessing you want to mount a nfs/samba share automatically after each reboot....

Best to add to your /etc/fstab a line such as:
Code:
ntpserver.domain:/path/to/share /path/to/mount/point nfs rw,hard,intr 0 0
this mounts the remote share '/path/to/share/' on host 'ntpserver.domain' at the local mount point '/path/to/mount/point' using nfs and mounts it read/write (not 100% sure of the other options, but they work here :-)

if the share is samba share then it is a bit different, but should be well documented in the samba documentation ... but the key is an entry in the /etc/fstab.

If you do not root access, you could script the mount command in your .bashrc (for when you login) just remember to test if it is already mounted (so you do not try to mount it twice).

If this is not your problem, please give more details thanks.
 
  


Reply



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
Fail to mount a path in SAN sunhui Linux - Hardware 3 03-28-2007 10:53 PM
Unable to mount path from SAN sunhui Linux - Software 1 02-28-2007 09:15 AM
subfs uses CD labels as mount path warrob Linux - General 1 09-09-2005 10:04 PM
how to mount a path ust Linux - Distributions 2 05-11-2005 10:34 AM
mount /dev/ path ust Linux - General 5 01-27-2005 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:08 PM.

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
Open Source Consulting | Domain Registration