LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-05-2008, 02:56 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
fstab entries for mounting remote system


I have some commented out fstab entries for mounting Windows shares. The reason why I don't uncomment them is because if my system cannot find these mount points while rebooting, it will just hang in there until it times out. Now everytime I reboot I need to remember to mount these Windows partitions by hand. Is there anyway I could automate mounting these paritions while rebooting and still minimize the timeout period in case if it cannot find the entry?

Thanks for any suggestions.
 
Old 05-05-2008, 03:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Absolutely, just use autofs / automount instead of the hardcoded approach that fstab uses. It's a little clunky having two wholly unrelated mechanisms in place, and hopefully over the next couple of years there'll be a better more succinct method to do both. But anyway, check out your /etc/auto.master to define specific mount points which are mounted on demand and unmounted on idle rather than on boot. You may find that actually it's largely ready and waiting for you to access http://howtoforge.com/accessing_wind...s_using_autofs
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS entries in /etc/fstab not mounting on boot jwolter0 Linux - Server 11 02-27-2012 01:28 PM
Mounting a remote file system wimnat Linux - Networking 1 01-18-2006 12:59 PM
Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab JZL240I-U Linux - Software 2 11-28-2005 07:44 AM
fstab entries removed during system startup TomF Fedora 0 05-06-2004 12:09 AM
Network Booting, Mounting remote file system Thexder Linux - Networking 2 08-18-2001 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:01 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
Open Source Consulting | Domain Registration