View previous topic :: View next topic |
Author |
Message |
DSL_MTLCA n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2004 Posts: 38 Location: bloomington
|
Posted: Sun Nov 21, 2004 3:04 am Post subject: Samba & Windows Server 2003 [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
DSL_MTLCA n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2004 Posts: 38 Location: bloomington
|
Posted: Mon Nov 22, 2004 8:07 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xaos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Sep 2004 Posts: 1 Location: greece
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Mon Nov 22, 2004 4:29 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
DSL_MTLCA n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Apr 2004 Posts: 38 Location: bloomington
|
Posted: Mon Nov 22, 2004 4:45 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|