[Samba] dfree command...

Robert S. Irrgang rs.irrgang at posteo.de
Fri May 4 03:10:47 UTC 2018

I've put it in debug mode level 10.
The only place where dfree was displayed in the log is this.

[2018/05/04 04:53:53.397520,  3, pid=13784, effective(0, 0), real(0, 0)] 
   Processing section "[global]"
   doing parameter read raw = no
   doing parameter write raw = no
   doing parameter write cache size = 262144
   doing parameter dfree command = /opt/bin/dfree
   doing parameter dfree cache time = 30

But the script is never called!
So the "dfree command" directive clearly does not work.

Am 02.05.2018 um 22:12 schrieb Jeremy Allison via samba:
> On Wed, May 02, 2018 at 10:00:02PM +0200, Robert S. Irrgang via samba wrote:
>> Nobody any idea?
> Use debug level 10 and log statements in your script to ensure
> it's being invoked and returning values.
> Without knowing details this is impossible to debug.
>> Am 30.04.2018 um 19:40 schrieb Robert S. Irrgang via samba:
>>> Hello,
>>> I've a little problem with samba 4.5.x on debian stretch.
>>> I've shared a folder with a mounted partition and a sub-mounted partition.
>>> mount /dev/sdb1 /opt/smb
>>> mount /dev/sdc1 /opt/smb/subfolder
>>> But on windows only the free size of /dev/sdb1 is reported.
>>> So I try to use the "dfree command" directive to give back the full free
>>> size of all sub-mounted devices.
>>> But it seems samba is not using the shell script.
>>> Any idea what's wrong? Is this disabled on samba 4.5.x?
>>> Thank you for help!
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list