Bacula-users

[Bacula-users] lto4 hardware compression doesn't work when encryprion on?

2015-11-09 12:27:51
Subject: [Bacula-users] lto4 hardware compression doesn't work when encryprion on?
From: jstacey <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 09 Nov 2015 09:26:32 -0800
I recently enabled encryption in my bacula-fd.conf with these entries:

  PKI Signatures = Yes
  PKI Encryption = Yes
  PKI Keypair = "/etc/bacula/client.pem"
  PKI Master Key = "/etc/bacula/master.cert"

The encryption works but now my LTO4 tapes can only store around 812MB instead 
of the usual 1.2 -> 1.4 TB  Is this normal?  I might enable gzip software 
compression but this is going to take a chunk out of my CPU. I read that it is 
also possible to enable hardware encryption on the drive. Maybe this method 
would allow me to keep using hardware compression? Thanks

[root@tabasco ~]# lsscsi -g
[0:2:0:0]    disk    DELL     PERC H730 Mini   4.24  /dev/sda   /dev/sg0 
[0:2:1:0]    disk    DELL     PERC H730 Mini   4.24  /dev/sdb   /dev/sg1 
[1:0:0:0]    mediumx HP       MSL6000 Series   0520  /dev/sch0  /dev/sg2 
[1:0:0:1]    tape    HP       Ultrium 4-SCSI   B62W  /dev/st0   /dev/sg3 
[1:0:0:2]    storage HP       NS E1200-160     5929  -          /dev/sg4 
[root@tabasco ~]# 
[root@tabasco ~]# 
[root@tabasco ~]# 
[root@tabasco ~]# tapeinfo -f /dev/sg3
Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 4-SCSI  '
Revision: 'B62W'
Attached Changer API: No
SerialNumber: 'HUE1126124'
MinBlock: 1
MaxBlock: 16777215
SCSI ID: 0
SCSI LUN: 1
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x46
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 2771697
Partition 0 Remaining Kbytes: 800226
Partition 0 Size in Kbytes: 800226
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 0
[root@tabasco ~]# 
[root@tabasco ~]# 
[root@tabasco ~]# tapeinfo -f /dev/sg2
Product Type: Medium Changer
Vendor ID: 'HP      '
Product ID: 'MSL6000 Series  '
Revision: '0520'
Attached Changer API: No
SerialNumber: 'USX54100LM'
SCSI ID: 0
SCSI LUN: 0
Ready: yes

+----------------------------------------------------------------------
|This was sent by jstacey AT cfdlab.mcgill DOT ca via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>