Hello,
I'm working on the project to replace an oldBacula9.4 by the latest
version 13.0.3, and I plan to use ZFS deduplication on the storages.
Backups will be stored on disks with virtual drives.
This server is installed on Debian 11.
So no problem with the installations on each servers, I used the
official packages available here :
https://bacula.org/packages/5f1e8eefd1016/debs/13.0.3/dists/bullseye/main/binary-amd64/
<https://bacula.org/packages/5f1e8eefd1016/debs/13.0.3/dists/bullseye/main/binary-amd64/>
This is my storage configuration on the Director:
Storage {
Name = STR-pbckall004
Address =domain.com <http://domain.com/>
SDPort = 9103
Password = "************************"
Maximum Concurrent Jobs = 30
Device = CHR-home
Media Type = Aligned
Autochanger = yes
}
This is the configuration in the filebacula-sd.conf :
Storage {
Name = pbckall004-sd
SDPort = 9103
WorkingDirectory = "/opt/bacula/working"
Pid Directory = "/opt/bacula/working"
Plugin Directory = "/opt/bacula/plugins"
Maximum Concurrent Jobs = 30
}
Director {
Name = pbckall004-dir
Password = "*************************"
}
Autochanger {
Name = CHR-home
Device = DEV-dedup-DRV1
Changer Command = /dev/null
Changer Device = /dev/null
}
Device {
Name = DEV-dedup-DRV1
Device Type = Aligned
Media Type = Aligned
Archive Device = /zfs/bacula
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = yes
AlwaysOpen = no
Autochanger = yes
Drive Index = 0
Volume Poll Interval = 15
Maximum Concurrent Jobs = 1
Minimum Block Size=0K
Maximum Block Size=128K
File Alignment=128K
Padding Size=512
Minimum Aligned Size=4096
}
Aligned plugin is installed and present on the storage :
drwxr-xr-x 2baculabacula 4096 18 janv. 10:02 .
drwxr-xr-x 11 root root 4096 16 janv. 10:48 ..
-rwxrwxrwx 1baculabacula15800 3 mai
2023bacula-sd-aligned-driver-13.0.3.so
<http://bacula-sd-aligned-driver-13.0.3.so/>
-rw-r--r-- 1 root root 79456 3 mai 2023 bpipe-fd.so
And the ZFS configuration :
zfs list
NAME USED AVAIL REFER MOUNTPOINT
zfs 46.8G 1.37T 24K /zfs
zfs/bacula 46.6G 1.37T 46.6G /zfs/bacula
zfs get recordsize
NAME PROPERTY VALUE SOURCE
zfs recordsize 128K default
zfs/bacula recordsize 128K default
Status storage :
*status storage=STR-pbckall004
Connecting to Storage daemon STR-pbckall004 at
pbckall004.speedmedia.host:9103
pbckall004-sd Version: 13.0.3 (02 May 2023)
x86_64-pc-linux-gnu-bacula-enterprise debian 11.2
Daemon started 18-janv2024 15:18. Jobs: run=1, running=0.
Ulimits: nofile=1024 memlock=unlimited status=nofile
Heap: heap=270,336 smbytes=209,133 max_bytes=385,720 bufs=138 max_bufs=163
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0
Crypto: fips=N/A crypto=OpenSSL 1.1.1k 25 Mar 2021
Res: ndevices=1 nautochgr=1
Running Jobs:
Director connected using TLS at: 18-janv2024 15:49
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
175 Incr 1 57.54 M OK 18-janv2024 13:17
Backup_rbddall003_binlogs
176 Incr 0 0 Error 18-janv2024 13:52
Backup_pbckall004
177 Incr 0 0 Error 18-janv2024 14:17
Backup_lwebsms001_binlogs
178 Incr 0 0 Error 18-janv2024 14:17
Backup_rbddall003_binlogs
179 Incr 0 0 Error 18-janv2024 14:25
Backup_pbckall004
180 Incr 0 0 Error 18-janv2024 14:28
Backup_pbckall004
181 Incr 54 173.6 M OK 18-janv2024 14:32
Backup_pbckall004
182 Incr 0 0 Error 18-janv2024 15:17
Backup_lwebsms001_binlogs
183 Incr 0 0 Error 18-janv2024 15:17
Backup_rbddall003_binlogs
184 Incr 0 0 Error 18-janv2024 15:45
Backup_pbckall004
====
Device status:
Autochanger "CHR-home" with devices:
DEV-dedup-DRV1
Device "DEV-dedup-DRV1" is not open or does not exist.
==
====
Used Volume status:
====
====
It looks like the aligned plugin is not loaded during the SD service
restart. And when i start a job, the job ends with a fatal error :
bacula-sd: address_conf.c:289-0 Initaddr 0.0.0.0:9103
pbckall004-sd: jcr.c:130-0 read_last_jobs seek to 192
pbckall004-sd: jcr.c:137-0 Read num_items=0
pbckall004-sd: plugins.c:97-0 load_plugins
pbckall004-sd: plugins.c:136-0 Found plugin:
name=bacula-aligned-driver-13.0.3-sd.so len=34
pbckall004-sd: plugins.c:166-0 Lookup of loadPlugin in plugin
/opt/bacula/plugins/bacula-aligned-driver-13.0.3-sd.so failed: ERR=*None*
pbckall004-sd: plugins.c:65-0 Got
plugin=bacula-aligned-driver-13.0.3-sd.so but not accepted.
pbckall004-sd: plugins.c:133-0 Rejected plugin: want=*-sd.so got
name=bpipe-fd.so len=11
pbckall004-sd: plugins.c:133-0 Rejected plugin: want=*-sd.so got
name=bacula-sd-aligned-driver-11.0.6.so len=34
pbckall004-sd: plugins.c:121-0 Failed to find any plugins in
/opt/bacula/plugins
pbckall004-sd: stored.c:711-0 calling init_dev DEV-dedup-DRV1
pbckall004-sd: init_dev.c:141-0 init_dev dev_type=9
pbckall004-sd: init_dev.c:177-0 Num drivers=15
pbckall004-sd: init_dev.c:185-0 loadable=1 type=9 loaded=0 name=aligned
handle=0
pbckall004-sd: init_dev.c:471-0 loadable=1 type=9 loaded=0 name=aligned
handle=0
pbckall004-sd: init_dev.c:481-0 Open SD driver at
/opt/bacula/plugins/bacula-sd-aligned-driver-13.0.3.so
pbckall004-sd: init_dev.c:505-0 [SF0020] dlopen of SD driver=aligned at
/opt/bacula/plugins/bacula-sd-aligned-driver-13.0.3.so failed:
ERR=/opt/bacula/plugins/bacula-sd-aligned-driver-13.0.3.so: Cannot open
shared object file: No such file or folder
pbckall004-sd: init_dev.c:507-0 dlopen plugin
/opt/bacula/plugins/bacula-sd-aligned-driver-13.0.3.so failed:
ERR=/opt/bacula/plugins/bacula-sd-aligned-driver-13.0.3.so: Cannot open
shared object file: No such file or folder
pbckall004-sd: stored.c:713-0 SD init done DEV-dedup-DRV1 (0x0)
pbckall004-sd: stored.c:715-0 Could not initialize SD device
"DEV-dedup-DRV1"
Any help will be great.
Thanks.
Regards,
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users