[pbs-devel] applied: [PATCH proxmox-backup 1/4] api: types: CHANGER_DRIVENUM_SCHEMA: increase maximum drives per changer

Dietmar Maurer dietmar at proxmox.com
Wed Jul 21 17:01:14 CEST 2021


applied

On 7/21/21 4:04 PM, Dominik Csapak wrote:
> to 255. 8 drives per changer was a rather arbitrary limitation and could
> well be reached in practice with big libraries.
>
> Altough 255 is still a arbirtrary limitation, this is much less likely
> to be reached in practice.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>   src/api2/types/tape/drive.rs | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/api2/types/tape/drive.rs b/src/api2/types/tape/drive.rs
> index ecc65088..f50b1d5f 100644
> --- a/src/api2/types/tape/drive.rs
> +++ b/src/api2/types/tape/drive.rs
> @@ -28,7 +28,7 @@ pub const LTO_DRIVE_PATH_SCHEMA: Schema = StringSchema::new(
>   pub const CHANGER_DRIVENUM_SCHEMA: Schema = IntegerSchema::new(
>       "Associated changer drive number (requires option changer)")
>       .minimum(0)
> -    .maximum(8)
> +    .maximum(255)
>       .default(0)
>       .schema();
>   





More information about the pbs-devel mailing list