Bacula-users

[Bacula-users] Having problems with HP LTO-4 blocksize

2011-01-20 16:04:01
Subject: [Bacula-users] Having problems with HP LTO-4 blocksize
From: Brian Debelius <bdebelius AT intelesyscorp DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>, bdebelius AT intelesyscorp DOT com
Date: Thu, 20 Jan 2011 15:30:17 -0500
Hi,

I have a HP 1760 SAS LTO-4 drive with an LSI 9212 hba under Ubuntu 
10.04, Bacula 5.0.3.

The drive is set for variable blocks.  I cannot get any block size above 
64K to work. 64K works just fine.  Any ideas?

Btape says (using 256K block):

btape: btape.c:1148 Wrote 10000 blocks of 262044 bytes.
btape: btape.c:608 Wrote 1 EOF to "Tape" (/dev/nst0)
btape: btape.c:1164 Wrote 10000 blocks of 262044 bytes.
btape: btape.c:608 Wrote 1 EOF to "Tape" (/dev/nst0)
btape: btape.c:1206 Rewind OK.
Got EOF on tape.
btape: btape.c:1224 Read block 3815 failed! ERR=Success


bacula-sd.conf:

Device {
   Name = Tape
   Drive Index = 0
   Device Type = Tape
   Archive Device = /dev/nst0
   Automatic Mount = yes
   Removable Media = yes
   Random Access = no
   Media Type = Tape
   Autochanger = no
   Auto Select = yes
   Always Open = yes
   Maximum Block Size = 256K
   Spool Directory = /spool/bacula/
}


Tapeinfo -f /dev/nst0:

Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 4-SCSI  '
Revision: 'U52D'
Attached Changer API: No
SerialNumber: 'HU1028BAW1'
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
Partition 0 Remaining Kbytes: 399690
Partition 0 Size in Kbytes: 399690
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 0

mt -f /dev/nst0 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



------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Having problems with HP LTO-4 blocksize, Brian Debelius <=