X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=perl%2FAmanda%2FChanger%2Fndmp.pm;h=016db8f8af08f8f4ee46819e7457480aca00d8b3;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=29c16b364c79c00804ec197baecdcdab5cca32fb;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;p=debian%2Famanda diff --git a/perl/Amanda/Changer/ndmp.pm b/perl/Amanda/Changer/ndmp.pm index 29c16b3..016db8f 100644 --- a/perl/Amanda/Changer/ndmp.pm +++ b/perl/Amanda/Changer/ndmp.pm @@ -208,13 +208,13 @@ sub status { send_cdb: my $res = $conn->scsi_execute_cdb( flags => $NDMP9_SCSI_DATA_DIR_IN, - timeout => 2*1000, + timeout => 60*1000, # 60-second timeout cdb => pack('CCnnCCnxC', 0xB8, # opcode 0x10, # VOLTAG, all element types 0, # start at addr 0 0xffff, # and give me 65535 elements - 0, # CURDATA=0, so don't do an inventory + 2, # CURDATA=1, so the robot should use its cached state $bufsize >> 16, # allocation length high byte $bufsize & 0xffff, # allocation length low short 0), # control