Page 1 of 1

fstab sometimes mounting network drives, sometimes not

PostPosted: Nov 4th, '11, 12:52
by DiBosco
I have always been able to mount samba shares using fstab no problem on my desktop. On Mageia 1, this is sometimes mounting, sometimes not. I assume this is because sometimes the network is up by the time the OS gets to fstab and sometimes it's not. With it being wired Ethernet I am surprised this is happening. IS there any way of delaying fstab a bit? Is it maybe something to do with this so called fast boot where it gets you in to the desktop quickly, but then takes ages loading it? Should I disable this (in fact how *do* I disable this please?)

I have read that you can mount in init.d as one of the last things you do, but I can't help think that as this always worked on Mandriva, there's probably something I can do to have it work with fstab on Mageia.

Thanks.

Re: fstab sometimes mounting network drives, sometimes not

PostPosted: Nov 4th, '11, 19:52
by doktor5000
You could try to enable the network-auth service as explained in http://wiki.mandriva.com/en/2009.1_Notes#New_services
or you can disable speedboot globally in /etc/sysconfig/speedboot.

Re: fstab sometimes mounting network drives, sometimes not

PostPosted: Nov 21st, '11, 14:37
by quartz
I had this problem before. I was advised to put the following in /etc/rc.d/rc.local
Code: Select all
sleep 15
mount //192.168.1.2

This waits a little while for the network to be up before mounting the share. Obviously, substitute the name/address of your own share!

Works for me.