This isn't actually bacula specific, but I'm not finding answers elsewhere.
I have a CentOS 3.6 box, a Dell PowerEdge 2650 with a new Exabyte Magnum
1x7 LTO-3 tape library attached. Accessing the unit using mt or mtx
works fine, but I am having problems with any program accessing the tape
drive to read data locking up, apparently on the read() call intended to
retrieve the last block of the current file on the tape. dd, tar, and
btape all appear to hang like this.
Searching the bacula, centos, and redhat archives hasn't been useful as
yet. Does anyone have any suggestions?
Systems: CentOS 3.6
Bacula: 1.36.3 (yeah, I know. going to upgrade soon)
Tape system: Exabyte magnum 1x7 LTO-3
Here is what I get from btape. At this point it hangs and I am unable
to kill btape. I have to reboot the system to regain access to the tape
drive.
what:brown /etc/bacula $ sudo btape /dev/nst0
Password:
Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "/dev/nst0" for writing.
btape: btape.c:335 open_dev /dev/nst0 OK
*test
=== Write, rewind, and re-read test ===
I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.
This is an *essential* feature ...
btape: btape.c:786 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:811 Rewind OK.
1000 blocks re-read correctly.
----END OF OUTPUT----
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: home Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: EXABYTE Model: LTO 1x7 2U Rev: B008
Type: Medium Changer ANSI SCSI revision: 04
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: ULTRIUM-TD3 Rev: 52E0
Type: Sequential-Access ANSI SCSI revision: 03
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users