[Samba] DFS share: free space?

Alexander Födisch foedisch at eva.mpg.de
Mon Oct 21 07:08:30 MDT 2013


Yes, that was my idea too. But I don't have any idea how to calculate the free space on multiple shares...
But we find out, that Windows 7 doesn't let you copy files larger than 50GB to the share, but other tools like 
Beyond Compare does.

Best


Am 21.10.2013 11:05, schrieb Jonathan Buzzard:
> On Mon, 2013-10-21 at 10:19 +0200, Alexander Födisch wrote:
>> Hi,
>>
>> is it possible, to use DFS and show the correct values of free space?
>>
>> I set up a DFS-share located on filesystem1 (size 50GB) and linked shares of another server to this share
>> (msdfs:<fs>\share):
>>
>> share1: size 110TB
>> share2: size 50TB
>> share3: size 20TB
>>
>> But connecting to the DFS-share, the disk size of this network drive ist 50GB. Unfortunately files larger than
>> 50GB can not be copied to the network drive .
>>
>> Any ideas?
>>
> You could use the following option in the share definition
>   
>      dfree command = <insert your own command here>
>
> To report the right amount of free space. Of course you will have to
> come up with your own script/code to return the correct amount of disk
> space. You will also probably want to set the dfree cache time to
> something none zero to prevent too many dfree commands being spawned.
>
> JAB.
>



More information about the samba mailing list