[pbs-devel] [PATCH proxmox-backup 3/4] tape: implement 6 byte fallback for MODE SENSE/SELECT

Dominik Csapak d.csapak at proxmox.com
Thu Mar 30 15:38:59 CEST 2023


On 3/30/23 13:28, Dominik Csapak wrote:
> there are tape drives (esp. virtual ones) that don't implement the
> 10-byte variants of MODE SENSE/SELECT. Since the pages we set/request
> are never bigger than 255 bytes anyway, we can implement a fallback
> with the 6 byte variant here.
> 
> Implementing this as a fallback to make sure that existing working
> drives keep the existing implementation.
> 
> Tested with Starwind VTL.
> 

note because if forgot: this patch does not fix pbs tape usage
with starwinds vtl completely, there are some things that still
don't work, but this fixes these specific commands there and
may increase compatibility with other drives too





More information about the pbs-devel mailing list