21246Re: Spinning down disks when using Samba
- Mar 6, 2008--- In email@example.com, "fmarkgraf" <fmarkgraf@...> wrote:
> experimenting with the instructions to allow spin down of disk 1.
> I followed the steps described here
> and here
> to modify the system.
> Since the disk would still not spin down, I stopped smbd and nmbd from
> Samba 3.0.24. This made the disk to spin down after a while.
> Can I do anything to allow disk spindown with the Samba demons running?
I had the same problem. A helpfull tip told me to do the following:
>>Easiest way to find out what a process is accessingDo that and you will probably see that the smbd daemon is constantly
>>is to use 'strace'
>>in combo with -e trace=open,close,read,write to see what it is
opening and closing /var/cache/samba/browse.dat. That was the case on
I solved it by moving /var/cache/samba also onto ramfs, and then
setting a symlink in /var/cache called samba that points to the ramfs
Hope that helps.
- << Previous post in topic Next post in topic >>