Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba & Windows Server 2003 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DSL_MTLCA
n00b
n00b


Joined: 30 Apr 2004
Posts: 38
Location: bloomington

PostPosted: Sun Nov 21, 2004 3:04 am    Post subject: Samba & Windows Server 2003 [SOLVED] Reply with quote

I have my windows shares mounted all the time, but after a period of about 5-10 minutes, the windows shares become inactive or something. Trying to preform any commands on them causes a hang-up for about 60 seconds until the command times itself out, or I ctrl+c it.

It's annoying because even when I'm not working with the mounted shares directly, it will cause things like "df -h" to hang. I'm wondering if anybody knows what the problem is. Does windows server 2003 time out the shares if there is no activity for a while?

I almost forgot to mention, if I unmount, and remount the file shares again, everything is fine for another 10-20 minutes. Is there something I'm doing wrong? Should I write a little crontab that will do something small every couple minutes in the background? Is there some hidden setting I'm unaware of?

If you need any info from me, let me know! Any help/thoughts are appreciated!


Last edited by DSL_MTLCA on Mon Nov 22, 2004 4:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
DSL_MTLCA
n00b
n00b


Joined: 30 Apr 2004
Posts: 38
Location: bloomington

PostPosted: Mon Nov 22, 2004 8:07 am    Post subject: Reply with quote

having cron run "df -h" every minute seems to do the trick for now, but this is a dirty dirty hack... does anybody know of a REAL solution?
Back to top
View user's profile Send private message
xaos
n00b
n00b


Joined: 06 Sep 2004
Posts: 1
Location: greece

PostPosted: Mon Nov 22, 2004 9:35 am    Post subject: perhaps this will help... Reply with quote

Mapped Drive Connection to Network Share May Be Lost
(http://support.microsoft.com/default.aspx?scid=kb;en-us;297684)

let us know how it turns out... :-)
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Mon Nov 22, 2004 4:29 pm    Post subject: Reply with quote

If you are mounting the shares with smbfs try using cifs instead, smbfs is pretty broken at the moment and probably won't be fixed.
Back to top
View user's profile Send private message
DSL_MTLCA
n00b
n00b


Joined: 30 Apr 2004
Posts: 38
Location: bloomington

PostPosted: Mon Nov 22, 2004 4:45 pm    Post subject: Reply with quote

xaos, thank you so much! That seemed to do the trick! (Man I hate windows)

nobspangle, i tried that, but it appears I didn't compile cifs into my kernel and I don't feel like re-compiling it, and I don't like file-system stuff compiled as modules... I'll definately compile it in when I get around to a new kernel version! Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum