[Samba] Re: samba periodically access the disk even when idle ?

Tomasz Chmielewski mangoo at interia.pl
Tue Jan 18 08:47:14 GMT 2005


Wil Cooley wrote:
> On 2005-01-18, gary ng <garyng2000 at yahoo.com> wrote:
> 
> 
>>does samba server access the disk periodically even it
>>is not serving any client ? I am trying to setup a
>>home server which is not frequently used and set the
>>HD to spin down after 60s inactivity. But it get kicks
>>up again apparently by samba(stoping samba and the
>>disk won't spin up anymore). I think it is a 3 minute
>>or so interval.
>>
>>Is there a way to tell it not to as I can sacrifice
>>some performance in exchange for much less noise and
>>some power savings.
> 
> 
> Short of a good answer, here's a guess: Logging with disk buffering.
> Set your loglevel to 0 and see if it stops.

doesn't it also look into smb.conf periodically for changes? I'm not 
sure if it can be disabled, though (putting this file in ramdisk would 
be a solution if there is no other way to stop Samba from looking into 
that file).


Tomek


More information about the samba mailing list