Hy,
I've installed a bacula system using ZFS deduplication in an Ubuntu 22.4
server, and one thing that made me lose a lot of time is that there is
an error in the documentation, more specifically on this page:
https://www.bacula.lat/community/block-level-file-system-deduplication-with-aligned-volumes-tutorial-bacula-9-0-8-and-above/?lang=en
The same page is available in Portuguese, with the same problem, in the
following address:
https://www.bacula.lat/community/dedup-alinhado/
The error is at the end of the page, where it says that you can see how
much space is being used using 'df -h', but the problem is that df can't
actually see the space gain from dedup, it shows how much would be used
without dedup.
After some search, I found in the chapter 1.7 of
'https://bacula.org/whitepapers/DedupVolumes.pdf' that the proper
command for checking dedup usage in ZFS is 'zpool list', and that
command did show that dedup was working properly.
These are my outputs with the two commands:
user@bacula2:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 788M 2,8M 786M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 910G 52G 812G 6% /
tmpfs 3,9G 0 3,9G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/sda2 2,0G 252M 1,6G 14% /boot
zfs 6,4T 128K 6,4T 1% /zfs
zfs/mnt 9,2T 2,9T 6,4T 31% /zfs/mnt
tmpfs 788M 4,0K 788M 1% /run/user/0
tmpfs 788M 4,0K 788M 1% /run/user/1000
user@bacula2:~$ zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP
HEALTH ALTROOT
zfs 7.27T 850G 6.44T - - 3% 11% 3.41x
ONLINE -
So, could someone please correct the two above mentioned pages? It would
avoid others from having the same problem.
Thank you,
Roberto
--
-----------------------------------------------------
Marcos Roberto Greiner
Os otimistas acham que estamos no melhor dos mundos
Os pessimistas tem medo de que isto seja verdade
James Branch Cabell
-----------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users