[Samba] dfree command cannot report correct disk space
- Date: Mon, 6 May 2019 15:40:15 -0400
- From: Manhong Dai via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] dfree command cannot report correct disk space
my filesystems is mounted like the below df output, /share is exported
Filesystem 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
By the way, my Samba version is 4.10.2. /share/group1 is mounted as
autofs. As there are many groups under /share mounted as NFS or other
file systems, it is awkward to export each group as a samba share.
How can I fix this? Any input is greatly appreciated!
To unsubscribe from this list go to the following URL and read the