[pbs-devel] [PATCH proxmox-backup] pbs-tape: sgutils2: check sense data when status is 'CHECK_CONDITION'

Dietmar Maurer dietmar at proxmox.com
Thu Apr 21 09:38:14 CEST 2022


Thanks! Applied a slightly simplified versions...

On 4/20/22 15:39, Dominik Csapak wrote:
> some raid controllers return a 'transport error' when we expected a
> 'sense error'. it seems the correct way to check the sense data is when
> either the result category is 'SENSE' or when the status i 'CHECK_CONDITION',
> so do that. (similar to how 'sg_raw' returns the errors)
>
> Signed-off-by: Dominik Csapak<d.csapak at proxmox.com>
> ---





More information about the pbs-devel mailing list