Hi,

I'm sure the aligned volume works in July 2018 for my test ( with older version than 9.4.4 ).

I remenber i have 2 files generate for the "tape" ( Test001 and Test001.add  ).

But not today.

The Plugin is still avalaible with the Bacula 9.4.4 ??


Le 11/07/2019 à 18:49, J W a écrit :
I just installed Bacula 9.44 Community and am backing up to a ZFS drive. It works fine with a regular setup.

If I switch to using the Aligned device type then I get the error below. I switched back to a regular setup but would like to use deduplication since it would save me a lot of space because my full backups are 5 TB but most of the files are not changing between ful backups.
-------------------------------------------------------------------------------------------------------------------------
     Device "Aligned-Disk" requested by DIR could not be opened or does not exist. 11-Jul 09:29 jw-sd JobId 13: Error: [SE0003] Lookup of symbol "BaculaSDdriver" in driver Aligned-Disk for device /opt/bacula/plugins/bacula-sd-aligned-driver-9.4.4.so <http://bacula-sd-aligned-driver-9.4.4.so> failed: ERR=/opt/bacula/plugins/bacula-sd-aligned-driver-9.4.4.so <http://bacula-sd-aligned-driver-9.4.4.so>: undefined symbol: BaculaSDdriver
---------------------------------------------------------------------------------------------------------------------------
My OS is latest Centos 7. I installed Bacula from the Bacula 9.4.4 repo. It appeared to install the plugin successfuly. Yum shows it as installed. It seems like Bacula is finding it since it lists the correct path to the plugin.

I set up Bacula for deduplication using the directions at http://www.bacula.lat/block-level-deduplication-with-aligned-volumes-tutorial-bacula-7-9-9-0-and-above/?lang=en. See my device entry quoted further down below.

I ran a few programs on the plugin to show the symbols but they do not show BaculaSDdriver in the plugin. I do not really know what I am doing with that. I also looked at the plugin itself for text with this value but did not see it.

I saw a post (wsee below) where someone has the same problem with 9.4.3. I could not figure out how to reply to that post since I just joined the bacula-users list today.

Any idea how to fix this problem or if it is a bug?

Thanks,
Joe

*[Bacula-users] Aligned volumes support - Bacula Community 9.4.3 <https://sourceforge.net/p/bacula/mailman/message/36712185/>*
From: Pedro Freire Popiolek <p.f.popiolek@fu...> - 2019-07-08 23:26:41

--------------------------------------------------------------------------------------------------------------------------------------
Bacula-Community]
name=CentOS - Bacula - Community
baseurl=http://www.bacula.org/packages/zmyKeyWasHere/rpms/9.4.4/el7/x86_64/
enabled=1
protect=0
gpgcheck=1

--------------------------------------------------------------------------------------------------------------------------------------

ls -l
total 52
-rwxr-x---. 1 root bacula  7776 Jun 25 04:41 bacula-sd-aligned-driver-9.4.4.so <http://bacula-sd-aligned-driver-9.4.4.so>
-rwxr-x---. 1 root bacula 44592 Jun 25 04:40 bpipe-fd.so
[root@jw plugins]# pwd
/opt/bacula/plugins
[root@jw plugins]#
-----------------------------------------------------------------------------------------------------------------------------------
Device entry from bacula-sd.conf
-----------------------------------------------------------------------------------------------------------------------------------
Device {
  Name = Aligned-Disk
  Device Type = Aligned  # Must be aligned
  Media Type = File1
  Archive Device = /mpool1    # Or /mnt/ddumbfs.mnt if ddumfs mounting point.
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 1    # Always 1 for Aligned
  Minimum Block Size=0K
  Maximum Block Size=128K
  File Alignment=128K
  Padding Size=512
  Minimum Aligned Size=4096
}

-------------------------------------------------------------------------------------------------------
nm -gC bacula-sd-aligned-driver-9.4.4.so <http://bacula-sd-aligned-driver-9.4.4.so>
0000000000201018 B __bss_start
                 w __cxa_finalize@@GLIBC_2.2.5
0000000000201018 D _edata
0000000000201020 B _end
0000000000000608 T _fini
                 w __gmon_start__
00000000000004e0 T _init
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 w _Jv_RegisterClasses
------------------------------------------------------------------------------------------------
[root@jw plugins]# readelf -Ws bacula-sd-aligned-driver-9.4.4.so <http://bacula-sd-aligned-driver-9.4.4.so>

Symbol table '.dynsym' contains 11 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     2: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses      3: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterTMCloneTable      4: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_registerTMCloneTable      5: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND __cxa_finalize@GLIBC_2.2.5 (2)
     6: 0000000000201020     0 NOTYPE  GLOBAL DEFAULT   21 _end
     7: 0000000000201018     0 NOTYPE  GLOBAL DEFAULT   20 _edata
     8: 0000000000201018     0 NOTYPE  GLOBAL DEFAULT   21 __bss_start
     9: 00000000000004e0     0 FUNC    GLOBAL DEFAULT    8 _init
    10: 0000000000000608     0 FUNC    GLOBAL DEFAULT   12 _fini

Symbol table '.symtab' contains 53 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 0000000000000190     0 SECTION LOCAL  DEFAULT    1
     2: 00000000000001b8     0 SECTION LOCAL  DEFAULT    2
     3: 00000000000001f0     0 SECTION LOCAL  DEFAULT    3
     4: 00000000000002f8     0 SECTION LOCAL  DEFAULT    4
     5: 00000000000003e4     0 SECTION LOCAL  DEFAULT    5
     6: 0000000000000400     0 SECTION LOCAL  DEFAULT    6
     7: 0000000000000420     0 SECTION LOCAL  DEFAULT    7
     8: 00000000000004e0     0 SECTION LOCAL  DEFAULT    8
     9: 0000000000000500     0 SECTION LOCAL  DEFAULT    9
    10: 0000000000000510     0 SECTION LOCAL  DEFAULT   10
    11: 0000000000000520     0 SECTION LOCAL  DEFAULT   11
    12: 0000000000000608     0 SECTION LOCAL  DEFAULT   12
    13: 0000000000000618     0 SECTION LOCAL  DEFAULT   13
    14: 0000000000200de8     0 SECTION LOCAL  DEFAULT   14
    15: 0000000000200df0     0 SECTION LOCAL  DEFAULT   15
    16: 0000000000200df8     0 SECTION LOCAL  DEFAULT   16
    17: 0000000000200e00     0 SECTION LOCAL  DEFAULT   17
    18: 0000000000200e08     0 SECTION LOCAL  DEFAULT   18
    19: 0000000000200fd8     0 SECTION LOCAL  DEFAULT   19
    20: 0000000000201000     0 SECTION LOCAL  DEFAULT   20
    21: 0000000000201018     0 SECTION LOCAL  DEFAULT   21
    22: 0000000000000000     0 SECTION LOCAL  DEFAULT   22
    23: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    24: 0000000000200df8     0 OBJECT  LOCAL  DEFAULT   16 __JCR_LIST__
    25: 0000000000000520     0 FUNC    LOCAL  DEFAULT   11 deregister_tm_clones     26: 0000000000000550     0 FUNC    LOCAL  DEFAULT   11 register_tm_clones     27: 0000000000000590     0 FUNC    LOCAL  DEFAULT   11 __do_global_dtors_aux
    28: 0000000000201018     1 OBJECT  LOCAL  DEFAULT   21 completed.6355
    29: 0000000000200df0     0 OBJECT  LOCAL  DEFAULT   15 __do_global_dtors_aux_fini_array_entry
    30: 00000000000005d0     0 FUNC    LOCAL  DEFAULT   11 frame_dummy
    31: 0000000000200de8     0 OBJECT  LOCAL  DEFAULT   14 __frame_dummy_init_array_entry
    32: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS aligned_dev.c
    33: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS aligned_read.c
    34: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS aligned_write.c
    35: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS crtstuff.c
    36: 0000000000000618     0 OBJECT  LOCAL  DEFAULT   13 __FRAME_END__
    37: 0000000000200df8     0 OBJECT  LOCAL  DEFAULT   16 __JCR_END__
    38: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS
    39: 0000000000201000     0 OBJECT  LOCAL  DEFAULT   20 _GLOBAL_OFFSET_TABLE_
    40: 0000000000201018     0 OBJECT  LOCAL  DEFAULT   20 __TMC_END__
    41: 0000000000200e00     0 OBJECT  LOCAL  DEFAULT   17 __dso_handle
    42: 0000000000200e08     0 OBJECT  LOCAL  DEFAULT   18 _DYNAMIC
    43: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
    44: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
    45: 0000000000000608     0 FUNC    GLOBAL DEFAULT   12 _fini
    46: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterTMCloneTable     47: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_registerTMCloneTable     48: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND __cxa_finalize@@GLIBC_2.2.5
    49: 0000000000201018     0 NOTYPE  GLOBAL DEFAULT   21 __bss_start
    50: 0000000000201020     0 NOTYPE  GLOBAL DEFAULT   21 _end
    51: 0000000000201018     0 NOTYPE  GLOBAL DEFAULT   20 _edata
    52: 00000000000004e0     0 FUNC    GLOBAL DEFAULT    8 _init

Le corps de ce message sera téléchargé à votre demande.

Le corps de ce message sera téléchargé à votre demande.

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to