You are not logged in.

#1 2008-04-16 22:15:24

Demostike
Member
Registered: 2008-04-16
Posts: 2

Samba network mounts on boot fail [SOLVED]

Hi there,
Okay, so I have a windows 2003 server sharing media to my laptop. My laptop is running Arch.
I'm trying to get my shares mounted on boot but for some reason they do not. I'm at a loss here because they mount just fine from the command line. Only not on boot - and I'm pretty sure my fstab file is fine, and I know credentials file is fine too as i run the from the command line with it.

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

# Media Drives (Automatically mounted by HAL, thus #'d)
#/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
#/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0

# Hard Drives (Non ntfs)
/dev/sda3 / ext3 defaults 0 1
/dev/sda5 swap swap defaults 0 0

# Hard Drives (ntfs - to add)

# Samba Shares
//192.168.0.99/Anime /media/shares/Anime cifs credentials=/home/demostrike/.smbpasswrd,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
//192.168.0.99/Music /media/shares/Music cifs credentials=/home/demostrike/.smbpasswrd,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
//192.168.0.99/TV-Shows /media/shares/TV-Shows cifs credentials=/home/demostrike/.smbpasswrd,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

Could it be that because my wireless network isn't connected when linux mounts is regards them as not existing? (Because well they wouldn't be able to be looked up at that point)

Any help would be greatly appreciated!

Last edited by Demostike (2008-04-17 01:31:48)

Offline

#2 2008-04-16 23:09:39

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Samba network mounts on boot fail [SOLVED]

I had the same problem mounting NFS shares over wireless when I had network backgrounded. so make sure network is set to run in the "foreground."

Last edited by slackhack (2008-04-16 23:12:09)

Offline

#3 2008-04-17 01:31:26

Demostike
Member
Registered: 2008-04-16
Posts: 2

Re: Samba network mounts on boot fail [SOLVED]

I actually solved it by using autofs instead, it seems to work perfectly now. =]
Thanks for the input though!

Offline

Board footer

Powered by FluxBB