LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-03-2012, 03:45 AM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 710

Rep: Reputation: 35
Network drives in fstab not always mounting at boot time


For quite some time I have mapped network drives in fstab so they are always there on my desktop. However, with Mageia 2 more often than not, I have to issue mount -a command as root to force a connect.

I assume this is something to do with Linux trying to mount the drives before the network is up. Is there a way of forcing the system to wait until the network's up before trying to mount these drives on my server?

Many thanks!
 
Old 10-03-2012, 04:02 AM   #2
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
Post the content of your /etc/fstab.

On my Fedora 17 boxes I use something like this:
Code:
blackhole:/script /mnt/script nfs _netdev,auto 0 0
Works well. Of course, that's an NFS share. At any rate, you do need to wait for the network to come up.
 
Old 10-03-2012, 04:14 AM   #3
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 710

Original Poster
Rep: Reputation: 35
fstab as requested.


Code:
# Entry for /dev/sda5 :
UUID=e2bff639-3a7f-45c7-a85c-f31c53e0609a / ext4 acl,relatime 1 1
# Entry for /dev/sda1 :
UUID=ea5bd37c-e98f-457b-a6e9-8ecb83becf2c /boot ext4 acl,relatime 1 2
# Entry for /dev/sda8 :
UUID=00206516-58c3-4f78-8086-8f8a9f229212 /home ext4 acl,relatime 1 2
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
//server/CAD /mnt/CAD cifs credentials=/etc/samba/auth.server.robertw 0 0
//server/Data /mnt/Data cifs credentials=/etc/samba/auth.server.robertw 0 0
//server/Kinnara /mnt/Kinnara cifs credentials=/etc/samba/auth.server.robertw 0 0
//server/Software /mnt/Software cifs credentials=/etc/samba/auth.server.robertw 0 0
//server/filmstv /mnt/filmstv cifs credentials=/etc/samba/auth.server.robertw 0 0
# Entry for /dev/sdb8 :
UUID=f2902d44-980d-4d71-9160-bd61f03709ca /mnt/oldhome ext4 defaults 1 2
# Entry for /dev/sda7 :
UUID=bb6b60b6-6c0a-458a-a6dc-12eacc854273 /opt ext4 acl,relatime 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=0682abbc-3716-43de-9264-a8a161a97bc1 swap swap defaults 0 0
 
  


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
mounting drives - adding to fstab odyssey84 Linux - Newbie 3 09-14-2006 01:57 PM
Mounting Windows network shares at boot time? lowpro2k3 Slackware 6 05-16-2006 09:14 PM
adding network drives the the fstab citrus Linux - General 1 03-17-2004 10:54 AM
Automatically mounting drives with FSTAB caesius_01 Linux - Newbie 6 10-21-2003 11:10 AM
Mounting fat drives in fstab.. subnet Linux - Newbie 3 10-10-2003 03:02 AM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration