Hi list,
A few months ago we were talking about a problem of compression on LTO-3
device "LTO-3 tape Not Compressing data / premature end of tape space" (
http://www.mail-archive.com/bacula-users @ lists .
sourceforge.net/msg43952.html).
It appears that the problem was resolved by updating the driver "st. "
In my case I updated the driver to this version, but I'm having the same
problem: "in an LTO-3 device with a maximum capacity of 800 GB with
compression enabled, only allows me to use 400 GB. "
And another problem I see is the speed of recording is only 11 MB / sec
through the Bacula, when I run a Job.
Do not understand why the speed that shows when I run "fill"in the console
btape, which the approximately 43 MB / sec and when I run a job is only 11
MB / sec
I have a Centos 5.5
"Device:" HP StorageWorks Ultrium 920 - Tape drive - LTO Ultrium (400 GB /
800 GB) "
scsi-card: HP Smart Array Controller Memory P212/Zero
-tapes: ULTRIUM LTO3, LTO Linear Tape-Open, RW C7973A 800GB
I also added a service in /etc/init.d / to run at startup "stinit. "
I also copied the following information:
#dmesg|grep scsi:
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
sd 0:0:0:0: Attached scsi disk sda
sd 1:0:0:0: Attached scsi disk sdb
sd 2:0:0:0: Attached scsi disk sdc
sd 3:0:0:0: Attached scsi disk sdd
scsi4 : ata_piix
scsi5 : ata_piix
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 3:0:0:0: Attached scsi generic sg3 type 0
scsi 5:0:0:0: Attached scsi generic sg4 type 5
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
sr 5:0:0:0: Attached scsi CD-ROM sr0
scsi6 : cciss
scsi 6:0:0:0: Attached scsi generic sg5 type 1
st 6:0:0:0: Attached scsi tape st0
[<f8e08c4f>] st_do_scsi+0x1e7/0x20f [st]
[<f8e08c68>] st_do_scsi+0x200/0x20f [st]
********************
#cat /proc/scsi/scsi
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: GB0160EAFJE Rev: n/a
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: GB1000EAMYC Rev: HPG1
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: GB1000EAMYC Rev: HPG1
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: GB0160EAFJE Rev: n/a
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 00
Vendor: Optiarc Model: DVD RW AD-7561S Rev: AH52
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: Ultrium 3-SCSI Rev: Q24D
Type: Sequential-Access ANSI SCSI revision: 05
**********************
#tapeinfo -f /dev/sg5
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 3-SCSI '
Revision: 'Q24D'
Attached Changer: No
SerialNumber: 'HU11039DWP'
MinBlock:1
MaxBlock:16777215
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x44
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
BOP: yes
Block Position: 0
***********************
#mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x44 (LTO-3).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
*******************
# stinit -v -v
Trying to open database '/etc/stinit.def'.
Open succeeded.
stinit, processing tape 0
Mode 1, name '/dev/nst0'
Mode 2, name '/dev/nst0l'
Mode 3, name '/dev/nst0m'
Mode 4, name '/dev/nst0a'
The manufacturer is 'HP', product is 'Ultrium 3-SCSI', and revision 'Q24D'.
Mode 1 definition: scsi2logical=1 compression=1 drive-buffering=1 read-ahead
async-writes blocksize=0
Mode 2 definition: scsi2logical=1 compression=1 drive-buffering=1 read-ahead
async-writes blocksize=
Mode 3 definition: scsi2logical=1 compression=1 drive-buffering=1 read-ahead
async-writes blocksize=0
Mode 4 definition: scsi2logical=1 compression=1 drive-buffering=1 read-ahead
async-writes blocksize=0
stinit, processing tape 1
Initialized 1 tape device
*****************
# mt -v
mt-st v. 1.1
***************
config bacula-sd.conf
Device {
Name = LTO-3
Drive Index = 0
Autochanger = no
Archive Device = /dev/nst0
Maximum Changer Wait = 3d
AutomaticMount = yes
AlwaysOpen = yes
Media Type = LTO-3
RemovableMedia = yes
Offline On Unmount = no
Spool Directory = /var/lib/bacula/spool
Maximum Spool Size = 35gb
RandomAccess = no
LabelMedia = yes
Hardware End of Medium = No
Fast Forward Space File = No
Two EOF = no
BSF at EOM = no
}
Any help is appreciated!
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users