[Samba] Avoiding constant HDD access

Jeremy Allison jra at samba.org
Wed Nov 7 19:43:35 UTC 2018


On Wed, Nov 07, 2018 at 12:21:17PM +0100, Reindl Harald via samba wrote:
> 
> well, there are only connected 3 WinXP and 3 Win7 VM's with their
> personal folder on the sare, one has open MSIE with a website and all
> others doing nothing at all
> 
> these VMs are stripped to the bare minimum becaus etheir only purpose is
> testing websites, no unused software or services installed or even running
> 
> because the system is running on a micro-sd card iwas tempted more than
> once move "/var/lib/samba/private/msg.sock/" and
> "/var/lib/samba/lock/msg.lock/" in a tmpfs
> 
> but that won't solve the issue
>  20K -rw-r--r-- 1 root root  20K 2018-11-07 12:16 printer_list.tdb
>  16K -rw-r--r-- 1 root root  16K 2018-11-07 12:16 serverid.tdb
> 
> [root at nfs:~]$ backup-nfs.sh
> sending incremental file list
> sending incremental file list
> sending incremental file list
> sending incremental file list
> deleting samba/lock/msg.lock/1041903
> deleting samba/private/msg.sock/1041903
> samba/lock/gencache_notrans.tdb
>         454,656 100%  402.34MB/s    0:00:00 (xfr#1, to-chk=36/77)
> samba/lock/locking.tdb
>         491,520 100%  234.38MB/s    0:00:00 (xfr#2, to-chk=34/77)
> samba/lock/printer_list.tdb
>          20,480 100%    4.88MB/s    0:00:00 (xfr#3, to-chk=32/77)
> samba/lock/serverid.tdb
>          16,384 100%    3.91MB/s    0:00:00 (xfr#4, to-chk=31/77)
> samba/lock/smbXsrv_open_global.tdb
>          36,864 100%    8.79MB/s    0:00:00 (xfr#5, to-chk=29/77)
> samba/lock/msg.lock/
> samba/private/msg.sock/
> sending incremental file list

Can you do an strace on the processes that may be
causing the access. I'd like to see what system
call they're making.



More information about the samba mailing list