Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba mount from /etc/fstab fails at boot

Reply
Thread Tools Display Modes

Samba mount from /etc/fstab fails at boot

 
 
R Kannan
Guest
Posts: n/a

 
      07-09-2005, 12:25 PM
All,

I am running SuSE 9.0 / 2.4.21 kernel and have the following line in my
etc/fstab line corresponding to a samba
mount

//HP/<username> /home/<username>/HP smbfs
auto,uid=<username>,gid=users,credentials=/root/smb/cred 0 0


(all in one line) to mount it automatically at boot

However when I boot, I get the following message

SMB connection failed

After boot, I can issue a 'mount -a' and the filesystem gets mounted.

My guess is that the 'smb' service is not started by the time the mount
is attempted at boot. If so how can I make sure that this is done?

TIA


 
Reply With Quote
 
 
 
 
Alexander Clouter
Guest
Posts: n/a

 
      07-10-2005, 01:04 PM
Afternoon,

On 2005-07-09, R Kannan <(E-Mail Removed)> wrote:
> All,
>
> I am running SuSE 9.0 / 2.4.21 kernel and have the following line in my
> etc/fstab line corresponding to a samba
> mount
>
> //HP/<username> /home/<username>/HP smbfs
> auto,uid=<username>,gid=users,credentials=/root/smb/cred 0 0
>
> (all in one line) to mount it automatically at boot
>
> However when I boot, I get the following message
>
> SMB connection failed
>
> After boot, I can issue a 'mount -a' and the filesystem gets mounted.
>
> My guess is that the 'smb' service is not started by the time the mount
> is attempted at boot. If so how can I make sure that this is done?
>

Nope, its that your network cards have not fired up yet and you have no
networking at that point. You should probably look into using automount
instead which will fire up *after* all your networking has initialised.

Cheers

Alex
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba mount fails to reconnect aweiland@gmail.com Linux Networking 0 08-30-2007 07:15 PM
how to make an nfs share not mount automatically at boot ? Tom Van Overbeke Linux Networking 3 11-23-2005 08:21 AM
mount fails Felix Miata Linux Networking 17 12-21-2004 04:45 AM
SAMBA and MS ADS mount William B. Cattell Linux Networking 2 10-19-2004 06:58 PM
NFS mount won't mount at boot, but mount -a works fine. BT Linux Networking 2 09-23-2004 09:37 PM



1 2 3 4 5 6 7 8 9 10 11