Hello everyone,

I'm working on the project to replace an old Bacula 9.4 by the latest version 
13.0.3, with the Director and the storages installed on different servers, and 
I plan to use ZFS deduplication on the storages. Backups will be stored on 
disks with virtual drives.
This servers are installed with Ubuntu 22.04 LTS  (Jammy).

So no problem with the installations on each servers, I used the official 
packages available here :
https://www.bacula.org/packages/5cee4d079821e/debs/13.0.3/dists/jammy/main/binary-amd64/


  *   This is my storage configuration on the Director:

Autochanger {
  Name = FileSLCO-BKPSTO-02
  Address = slco-bkpsto-02.domain
  SDPort = 9103
  Password = "*********************"
  Device = FileChgrSLCO-BKPSTO-02
  Media Type = FileSLCO-BKPSTO-02
  Maximum Concurrent Jobs = 20
  Autochanger = FileSLCO-BKPSTO-02
  TLS Enable = yes
  TLS Require = yes
  TLS CA Certificate File = /opt/bacula/ssl/bacula_int.crt
  TLS Certificate = /opt/bacula/ssl/bacula.crt
  TLS Key = /opt/bacula/ssl/bacula.key
}


  *   This is the configuration in the file bacula-sd.conf on one of the storage

Storage {
  Name = slco-bkpsto-02-sd
  SDPort = 9103
  WorkingDirectory = "/opt/bacula/working"
  Pid Directory = "/opt/bacula/working"
  Plugin Directory = "/opt/bacula/plugins"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = slbr-bkpdir-01-dir
  Password = "********************"
  # TLS
  TLS Enable = yes
  TLS Require = yes
  TLS Verify Peer = yes
  TLS Allowed CN = slco-bkpsto-02.domain
  TLS CA Certificate File = /opt/bacula/ssl/bacula_int.crt
  TLS Certificate = /opt/bacula/ssl/bacula.crt
  TLS Key = /opt/bacula/ssl/bacula.key
}

Autochanger {
  Name = FileChgrSLCO-BKPSTO-02
  Device = FileChgrSLCO-BKPSTO-02-Dev01
  Changer Command = ""
  Changer Device = /dev/null
}

Device {
  Name = FileChgrSLCO-BKPSTO-02-Dev01
  Media Type = FileSLCO-BKPSTO-02
  Archive Device = /home/bacula
  LabelMedia = yes
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs=1
  Device Type = Aligned
  Maximum Block Size = 128K
  Minimum Block Size = 0
  File Alignment = 128K
  Padding Size = 512
  Minimum Aligned Size = 4096
}

Messages {
  Name = Standard
  director = slbr-bkpdir-01-dir = all
}


  *   Aligned plugin is installed and present on the storage


ll /opt/bacula/plugins/
total 100
drwxr-xr-x  2 root root  4096 Oct  6 13:10 ./
drwxr-xr-x 12 root root  4096 Oct  6 13:10 ../
-rw-r--r--  1 root root 15544 May  3 02:04 bacula-sd-aligned-driver-13.0.3.so
-rw-r--r--  1 root root 75960 May  3 02:03 bpipe-fd.so


  *   And the ZFS configuration


zfs list
NAME          USED  AVAIL     REFER  MOUNTPOINT
tank          194K  1.42T       24K  /tank
tank/bacula    24K  1.42T       24K  /home/bacula

zfs get recordsize
NAME         PROPERTY    VALUE    SOURCE
tank         recordsize  128K     local
tank/bacula  recordsize  128K     inherited from tank


  *   But at the time to request the storage from the Director, with the status 
storage command, an information is missing, the Device Aligned, which is 
necessary to load drives at the start of a backup in a deduplication context

*status storage=FileSLCO-BKPSTO-02
Connecting to Storage daemon FileSLCO-BKPSTO-02 at slco-bkpsto-02.domain:9103

slco-bkpsto-02-sd Version: 13.0.3 (02 May 2023) 
x86_64-pc-linux-gnu-bacula-enterprise ubuntu 22.04
Daemon started 12-Oct-23 04:18. Jobs: run=0, running=0.
Ulimits: nofile=1024 memlock=unlimited status=nofile
Heap: heap=946,176 smbytes=199,240 max_bytes=199,434 bufs=120 max_bufs=122
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0
Crypto: fips=N/A crypto=OpenSSL 3.0.2 15 Mar 2022
Res: ndevices=1 nautochgr=1

Running Jobs:
Director connected using TLS at: 12-Oct-23 04:49
No Jobs running.
====

Jobs waiting to reserve a drive:
====

Terminated Jobs:
====

Device status:
Autochanger "FileChgrSLCO-BKPSTO-02" with devices:
   FileChgrSLCO-BKPSTO-02-Dev01

Device "FileChgrSLCO-BKPSTO-02-Dev01" is not open or does not exist.
==
====

Used Volume status:
====

====

You have messages.


  *   It looks the aligned plugin is not loaded during the SD service restart. 
I tried to modify the rights to access to the plugin files. I also thried with 
the line "Media Type = Aligned" but without success, and no additional 
information is available in the logs.
I precise that this configuration is working well on the 11 version.

This is the last point before the migration from the old Bacula to this one, 
but really blocking.

Any help with be great.

Thanks.

Regards,

Christophe M.



Cegid est susceptible d'effectuer un traitement sur vos donn?es personnelles ? 
des fins de gestion de notre relation commerciale. Pour plus d'information, 
consultez https://www.cegid.com/fr/privacy-policy
Ce message et les pi?ces jointes sont confidentiels et ?tablis ? l'attention 
exclusive de ses destinataires. Toute utilisation ou diffusion, m?me partielle, 
non autoris?e est interdite. Tout message ?lectronique est susceptible 
d'alt?ration; Cegid d?cline donc toute responsabilit? au titre de ce message. 
Si vous n'?tes pas le destinataire de ce message, merci de le d?truire et 
d'avertir l'exp?diteur.

Cegid may process your personal data for the purpose of our business 
relationship management. For more information, please visit our website 
https://www.cegid.com/en/privacy-policy
This message and any attachments are confidential and intended solely for the 
addressees. Any unauthorized use or disclosure, either whole or partial is 
prohibited. E-mails are susceptible to alteration; Cegid shall therefore not be 
liable for the content of this message. If you are not the intended recipient 
of this message, please delete it and notify the sender.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to