[Samba] Disk size on share with multiple partitions

Volker Lendecke vl at samba.org
Wed Nov 16 14:31:56 UTC 2016


On Wed, Nov 16, 2016 at 03:12:19PM +0100, Jochen Eggemann via samba wrote:
> Am 16.11.2016 um 15:11 schrieb Volker Lendecke:
> >On Wed, Nov 16, 2016 at 03:02:20PM +0100, Jochen Eggemann via samba wrote:
> >>Thanks for the fast reply Volker,
> >>
> >>I tried using this, but get following Errors:
> >>
> >>../source3/lib/system.c:1143(sys_popen) sys_popen: ERROR executing command
> >>'/usr/bin/dfree .': Fehler im Format der Programmdatei (Error in format of
> >>program file)
> >>../source3/smbd/dfree.c:117(sys_disk_free) disk_free: file_lines_load()
> >>failed for command '/usr/bin/dfree .'. Error was : Keine Kind-Prozesse (no
> >>child processes)
> >Did you put
> >
> >#!/bin/bash
> >
> >into the first line of the file?
> >
> >Volker
> Yes, I did.

And running it on the command line works fine? Strange...

Next step would be to run

strace -f -o /tmp/smbd.out -p <smbd-pid>

on the affected smbd to watch it while it tries to execute the dfree
command. We would need the file /tmp/smbd.out

Volker



More information about the samba mailing list