Re: backup on volume much larger than fileset

Arno Lehmann via Bacula-users <[email protected]> Wed, 18 Mar 2026 16:21:38 +0100
Newsgroups gmane.comp.bacula.user
Organization IT-Service Arno Lehmann
Message-ID <[email protected]>
Hi Stefan,

Am 18.03.2026 um 13:13 schrieb Stefan G. Weichinger via Bacula-users:
> Am 18.03.26 um 10:53 schrieb Arno Lehmann via Bacula-users:
> 
...
>> C=0 S=0 find . -type f -printf '%s\n' | while read f ; do (( S = S + 
>> $f )) ; (( C++ )); if ! (( C % 50 )) ; then echo $C: $S ; fi  ; done
> 
> whatever that does ;-) will try a bit later

Sorry... of course I thought it was obvious ;-)

I just counts bytes of files. You probably want to adapt the find 
options to your environment.

>>> That directory is located in a btrfs-pool, might that play a role here?
>>
>> Definitely. I've never really used btrfs, but the commands
>>
>> btrfs filesystem du
>>
>> and
>>
>> btrfs filesystem df
>>
>> probably exist for a rason :-)
> 
> That's on filesystem-level, shouldn't play a role for the directory.
> And there are no snapshots for the directory, but only for the whole "/ 
> home".
> 
> I will dig deeper asap


And I'm still curious, recalling some experience with ZFS (years ago).

Cheers,

Arno

-- 
Arno Lehmann

IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users