I continue to get this error using Amanda 3.5.1 on FreeBSD 14.0. The error has occurred with 2 tape drives, and with multiple tapes.
I've tried several iterations of setting the block size on the drive and amanda.conf without an affect. I haven't been able to duplicate the problem using dd, gtar, tar, dump... etc. Every other utility seems perfectly happy with the tape drive.
LTO drive details:
Code:
hostname / lev 0 partial taper: Error writing block: Short write on tape device: Tried 65536, got 65024. Is the drive using a block size smaller than 65536 bytes?
LTO drive details:
Code:
Drive: sa0: <HP Ultrium 2-SCSI S65D> Serial Number: XXXXXXXX
---------------------------------
Mode Density Blocksize bpi Compression
Current: 0x42:LTO-2 variable 187909 enabled (0x1)
---------------------------------
Current Driver State: at rest.
---------------------------------
Partition: 0 Calc File Number: 0 Calc Record Number: 0
Residual: 0 Reported File Number: 0 Reported Record Number: 0
Flags: BOP
---------------------------------
Tape I/O parameters:
Maximum I/O size allowed by driver and controller (maxio): 65536 bytes
Maximum I/O size reported by controller (cpi_maxio): 0 bytes
Maximum block size supported by tape drive and media (max_blk): 16777215 bytes
Minimum block size supported by tape drive and media (min_blk): 1 bytes
Block granularity supported by tape drive and media (blk_gran): 0 bytes
Maximum possible I/O size (max_effective_iosize): 65536 bytes