You are not logged in.

#1 2010-08-11 15:26:44

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

mounting cifs via fstab?

so i have 3 shares on my windows server. i can access them from my arch box fine. but the problem is, although i have them setup in my fstab, they don't seem to mount on boot. i have to run mount -a after i'm logged in

any way to fix this?

here's teh lines i have in fstab, is there maybe something missing?

//srv-data/share /home/network/share cifs users,auto,credentials=/etc/samba/credentials,noexec,noperm 0 0
//srv-data/stuff /home/network/stuff cifs users,auto,credentials=/etc/samba/credentials,noexec,noperm 0 0
//srv-data/users/urmom /home/network/urmom cifs users,auto,credentials=/etc/samba/credentials,noexec,noperm 0 0

i was thinking maybe there's something i could add to teh end of my rc.conf, but i wouldn't know what to add to force it to mount them?


this is a signature

Offline

#2 2010-08-11 16:29:45

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: mounting cifs via fstab?

Add 'netfs' to your DAEMONS in rc.conf.

Offline

#3 2010-08-12 01:57:01

ssl6
Member
From: Ottawa, ON, CA
Registered: 2007-08-30
Posts: 594

Re: mounting cifs via fstab?

ok, done. i'll see if it works next time i reboot.......which may not be for a while if i can help it


this is a signature

Offline

#4 2010-08-18 05:22:20

Oddballhero
Member
Registered: 2010-08-18
Posts: 1

Re: mounting cifs via fstab?

Thank you Falconindy!  It works!

Offline

Board footer

Powered by FluxBB