View previous topic :: View next topic |
Author |
Message |
rimian n00b


Joined: 31 Dec 2005 Posts: 42 Location: Australia
|
Posted: Sat Jan 14, 2006 7:59 am Post subject: fstab: smbfs mount failed - change boot sequence perhaps? |
|
|
Hello,
My smbfs share wont mount when i start my machine. it seems the boot sequence is not right. in run level 3 it starts eth0 then runs through fstab then starts samba. of course this doesn't work. does anyone know if i can alter the sequence? i have tried starting the samba server in the boot run level but then i need to start eth0 there too. i fear i may end up chasing my tail or compromising security.
thanks in advance! |
|
Back to top |
|
 |
pogi Tux's lil' helper

Joined: 13 May 2005 Posts: 124 Location: Hungary
|
Posted: Sat Jan 14, 2006 2:57 pm Post subject: |
|
|
ok, perhaps i dont really get what do you trying to do.
why are you want to mount 'your' samba share, on 'your' machine?
pogi _________________ Free! Tibet |
|
Back to top |
|
 |
tuxmin l33t


Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Sat Jan 14, 2006 5:07 pm Post subject: |
|
|
You don't need a samba server running for mounting smb shares. All that matters is smb.conf.
You should give some more information on what you are trying and what goes wrong -- any msgs in the logs?
Alex!!! _________________ ALT-F4 |
|
Back to top |
|
 |
rimian n00b


Joined: 31 Dec 2005 Posts: 42 Location: Australia
|
Posted: Sun Jan 15, 2006 12:20 am Post subject: |
|
|
ok:
my windows machine is MARVIN
my fstab has one network filesystem only:
//marvin/wip /home/rimian/wip smbfs user,password=,dmask=0777
when my linux machine boots i get:
INIT: Entering runlevel 3
* Starting metalog...
* Starting eth0
* Bringing up eth0
* 192.168.0.6
* Adding routes
* default gw 192.168.0.1
* Mounting network filesystems...
SMB connection failed
* Could not mount all network filesystems!
* Starting local...
If i try:
# mount //marvin/wip /home/rimian/wip -t smbfs -o password=,dmask=0777
then it mounts
i can't see anything in my logs that is relevant.
thanks for your help
EDIT:
i've learnt that if i restart netmount then the filesystem mounts! now how to make that happen when i boot... |
|
Back to top |
|
 |
Wooff Tux's lil' helper


Joined: 19 Jun 2004 Posts: 101 Location: LB.CZ.EU
|
Posted: Fri Jan 20, 2006 4:18 pm Post subject: |
|
|
hi,
try to move samba daemon to boot runlevel...
rc-update del samba default
rc-update add samba boot
if you had it....
W |
|
Back to top |
|
 |
|