search for: dfree

Displaying 20 results from an estimated 396 matches for "dfree".

Did you mean: free
2016 Jun 09
0
dfree is broken on this system
...a 4.3.4 on a Solaris 10 i386 box and Samba 4.4.3 on a >>> Solaris 10 sparc box. >>> I have not looked at the logs for awhile. Just checking now and I see >>> many of the following on both systems. >>> >>> [2016/06/01 11:22:04.402945, 0] ../source3/smbd/dfree.c:139(sys_disk_free) >>> WARNING: dfree is broken on this system >>> >>> What could be the cause of this? >> >> The code that creates this is: >> >> if ((*dsize)<1) { >> if (!dfree_broken) { >>...
2002 Jun 14
2
Help: dfree command
Hi folks, I'm trying to use a custom dfree command to have my Samba share reports accurate disk usage, here my dfree script (I pretty much copied it right off the smb.conf man page) #!/bin/sh /bin/df -k $1 | tail -1 | awk '{print $2" "$4}' In smb.conf, I included this line: dfree command = /usr/local/admin/samba-2....
2016 Jun 08
0
dfree is broken on this system
...t; Running Samba 4.3.4 on a Solaris 10 i386 box and Samba 4.4.3 on a > > Solaris 10 sparc box. > > I have not looked at the logs for awhile. Just checking now and I see > > many of the following on both systems. > > > > [2016/06/01 11:22:04.402945, 0] ../source3/smbd/dfree.c:139(sys_disk_free) > > WARNING: dfree is broken on this system > > > > What could be the cause of this? > > The code that creates this is: > > if ((*dsize)<1) { > if (!dfree_broken) { > DEBUG(0,("WARN...
2000 Jun 07
0
dfree (Samba 2.0.7)
I'm useing Samba (2.0.7) on an Compaq TRUE64 (Digital OSF) Server. Everything is working fine, but the dfree-script does not work. I think it's not even called. The corosponding entry in my smb.conf is: [global] server string = Samba %v Server, xxxx workgroup = xxxx keep alive = 30 dead time = 15 dfree command = /usr/local/samba/bin/dfree The script it self works fine (indepente from...
2002 Feb 14
0
Oddness with dfree command and Samba 2.2.3a
I am attempting to use the 'dfree command' option of smb.conf to handle a few special cases and the like for returning disk free information. The Samba server is acting in a PDC role, running Samba 2.2.3a on a SunBlade 100 running Solaris 8, patched with all Recommended patches. From a Windows 2000 box (the only thing I h...
2002 Apr 17
1
dfree command
Hi I'm using SuSE-Linux 7.3, Kernel 2.4.18 with samba 2.2.3a and XFS with quotas The problem is the quotas won't be displayed in Samba. So I've tried to write my own dfree command and add it in smb.conf. dfree.sh: #!/bin/sh used_space=`/usr/bin/quota -u $1 | tail -1 | awk '{print $2}'` quota_space=`/usr/bin/quota -u $1 | tail -1 | awk '{print $4}'` used_files=`/usr/bin/quota -u $1 | tail -1 | awk '{print $5}'` quota_files=`/usr/bin/quota -u $...
2018 May 02
2
dfree command...
...h. > > 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! > > > > -...
2018 May 04
1
dfree command...
On Fri, May 04, 2018 at 05:10:47AM +0200, Robert S. Irrgang via samba wrote: > 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)] > ../source3/param/loadparm.c:2668(lp_do_section) > Processing section "[global]" > ... > doing parameter read raw = no > doing parameter write raw =...
2016 Jun 07
1
dfree is broken on this system
Running Samba 4.3.4 on a Solaris 10 i386 box and Samba 4.4.3 on a Solaris 10 sparc box. I have not looked at the logs for awhile. Just checking now and I see many of the following on both systems. [2016/06/01 11:22:04.402945, 0] ../source3/smbd/dfree.c:139(sys_disk_free) WARNING: dfree is broken on this system What could be the cause of this? Tom Schulz Applied Dynamics Intl. schulz at adi.com
2019 Apr 29
2
dfree command in homes section
Hi everyone, we are using custom dfree commands to implement quotas. While these work fine on normal shares, the "dfree command" parameter seems to be ignored in the homes section. Is this correct (and intended)? Best regards Felix IT-Services Telefon 02461 61-9243 E-Mail: f.stolte at fz-juelich.de --------------------------...
2008 Oct 09
1
dfree causing write access problems
Hi I'm having problems with the dfree option on a Solaris 10 fileserver. Specifically: I had 3.0.X on the fileserver and the dfree option worked fine. I upgraded to 3.2.2 and now if dfree is enabled the clients get 1MB reported as the size of the share and when a client tries to right to the system they get told that the filesy...
1999 Jun 24
0
2.0.4b - Bug in dfree > 2GB reporting for 16-bit clients
In 2.0.4b using a 16-bit client (in this case Lanman for DOS), disk space reporting for partitions greater than 2GB always reports 0 space free. I've tracked this down to the disk_norm routine in the smbd/dfree.c file. In the code for adjusting block size and disk size/free values for 16-bit reporting, WORDMAX was incorrectly being multiplied by 512 before being compared with bsize. This resulted in the offending values not being truncated to fit into 16-bit fields. I've included a patch below to fi...
2019 May 06
1
dfree command cannot report correct disk space
...            Size  Used Avail Use% Mounted on /dev/sda1                       50G  9.1G   41G  19% /share nfs1:/                          492T  433T   59T  89% /share/group1 If a 100G file is copied to /share/group1, samba will report the storage doesn't have enough space. I tried to use 'dfree command' to report a correct disk space, the thing is dfree command always gets parameter $1 as '.', and its pwd is always '/share'. I have no way to know which directory the user is trying to copy to. By the way, my Samba version is 4.10.2. /share/group1 is mounted as auto...
2019 Feb 21
3
DFree and sub-Share "disk" (volume?)
...pool / collection of datasets. I can correctly navigate around the share, but the free space reporting within clients is inaccurate for various directories, especially those that are themselves setup as datasets in ZFS and have quota applied to them. I read over the documentation for both the 'dfree' and 'get quota command' options, but it seems that the paths those pass as their first parameter are useless to me, as they mostly seem to be the share's root (represented as '.'), not the actual path being queried. Looking over the SAMBA source, I believe that if https://...
2018 May 04
0
dfree command...
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)] ../source3/param/loadparm.c:2668(lp_do_section) Processing section "[global]" ... doing parameter read raw = no doing parameter write raw = no doing parameter write cac...
2004 Jan 06
0
dfree and linux quota
...solved my problem about free disk space for users homes' combined with quotas on linux box with a small perl script and the %U extension parsed to my script. But I also have shares on other harddrives and there are no quota. Now my question: How can I get the real path of a share parsed to my dfree-script? Thanks in advance Johannes Laemmermann I've tried any other substitution but without any positive result. My dfree command entry: dfree command = /scripte/dfree/smb_dfree.pl %U My perl scirpt: #!/usr/bin/perl use Quota; my ($dev,$uid,$isgrp); my ($bc,$bs,$bh,$bt,$ic,$is,$ih,$it); $de...
2016 Nov 16
2
Disk size on share with multiple partitions
...ws reports insuffient disk size for the copy >> operation and quits. I can copy when I use chunks under the size of the base >> partition. >> >> Is there any possibiity to overcome that problem, or do I have to make 1 >> large partion and use quotas. > Use the "dfree command" and "dfree cache time" to accumulate the > space. > > Volker 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 d...
2016 Nov 16
2
Disk size on share with multiple partitions
...; 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 p...
2017 Jan 26
1
About dfree command directive
Hello everyone, i need known if samba (4.5.2-Debian) disable the "dfree command" directive, because i create a script that simple write "hello" to a file and when i connect to my share, tell the free space, but the script never execute. The main need is that i used btrfs subvolumes with quotas for some shares and in batch i wrote a script that "...
2019 Apr 29
0
dfree command in homes section
Hai Felix, It might be handy to show the line your using for dfree. And could you tell us the OS and samba version your using. Last, is this on a member and/or AD-DC ? Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stolte, Felix via samba > Verzonden: maandag 29 april 2019 9:...