- Subject: Failed to write tape greater than 2Gb
- From: Gabriele Mailing <gabriele.mailing@xxxxxxxxxxx>
- Date: Tue, 06 Dec 2011 19:07:56 +0100
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
Hello,
I successfully setup a VTL with tgt under Debian Squeeze that is
operable with mtx. Loading, unloading, labeling of virtual tapes works
perfectly with mtx and amanda backup.
I firstly used the tgt stock deb package, and after I built tgt with the
current git sources.
I tried to write to the tape device with tar, but when the image file
reached 2Gb, tar gave a "Cannot write: Input/output error", and found in
syslog the error:
Dec 6 18:55:46 bunch tgtd: append_blk(175) Write of EOD blk header
failed: Invalid argument
Dec 6 18:55:47 bunch tgtd: tape_rdwr_request(604) io error 0x8badcb8 a
0 10240 0, Invalid argument
Dec 6 18:55:47 bunch tgtd: append_blk(168) Rewrite of blk header
failed: Invalid argument
I followed the esamples in the docs to build the image files, and the
tape drive definition is this simple one:
<backing-store /media/tgt/vtl/cleaning>
lun 1
device-type tape
removable 1
vendor_id "HP "
product_id "Ultrium 3-SCSI"
product_rev "D21W"
scsi_sn "HU012345AB"
scsi_id "HP LTO3 ULTRIUM"
</backing-store>
Complete targets.conf with the definition of the changer is here:
http://pastebin.com/c0iG4Nyu
Thank you for your suggestions,
Gabriele
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux SCSI]
[Linux RAID]
[Linux Clusters]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[XFree86]
[Video Devices]