On 15/03/2020 11:24, Pierre Bernhardt wrote:
>
>> I will now try to clean the drive with a fresh cleaning tape and use btape
>> again for a test. I think I will not get big different result, but it's
>> a try.
> This does not has been helped. So I will disable the drive for write so only 
> the other is
> used. To check the tapes I will migrate the tapes written with less size to 
> empty tapes
> so I will get back the full size.

BEWARE: LTO "Cleaning tapes" are extremely abrasive

Everything described in this thread points to damaged heads and lots of
"on-the-fly" rewrites


As I posted previously, you need to read the cartridge MAM whilst in the
drive:


Example: (LTO5 tape inserted, formatted LTFS)

# sg_read_attr /dev/sg24

Attribute values:
  Remaining capacity in partition [MiB]: 36476
  Maximum capacity in partition [MiB]: 36476
  TapeAlert flags: 0
  Load count: 6
  MAM space remaining [B]: 134
  Assigning organization: LTO-CVE
  Format density code: 0x58
  Initialization count: 1
  Volume identifier:
  Volume change reference: 0x601
  Density vendor/serial number at last load: HP     
HUE23108AJ                     
  Density vendor/serial number at load-1: IBM    
Y690WT062043                   
  Density vendor/serial number at load-2: IBM    
Y610WT062556                   
  Density vendor/serial number at load-3: IBM    
Y610WT072502                   
  Total MiB written in medium life: 5128143
  Total MiB read in medium life: 303080
  Total MiB written in current/last load: 1050754
  Total MiB read in current/last load: 14
  Logical position of first encrypted block: <unknown> [ff]
  Logical position of first unencrypted block -
      after first encrypted block: <unknown> [ff]
  Medium manufacturer: HP     
  Medium serial number: D140710166                     
  Medium length [m]: 846
  Medium width [0.1 mm]: 127
  Assigning organization: LTO-CVE
  Medium density code: 0x58
  Medium manufacture date: 20140710
  MAM capacity [B]: 4096
  Medium type: 0x0
  Medium type information: 0x0
  Vendor specific medium attribute 0x1000:
 00     35 56 7a 25 48 46 59 4b  30 31 32 38 53 4f 4e 59    5Vz%HFYK0128SONY
 10     20 20 20 20 00 0c d0 1a  00 10 00 00                    ........
  Vendor specific medium attribute 0x1001:
 00     35 56 7a 25 48 46 59 4b  30 31 32 38 44 31 34 30    5Vz%HFYK0128D140
 10     37 31 30 31 36 36 00 10                             710166..


0x1000 and 0x1001 contain the details of the actual TAPE maker and tape
pancake batch+serial  number - in this case SONY, batch 710166 and
serial HFYK0128


IMPORTANT: If you see "MAXELL" here - destroy the tape (or if it has a
lifetime warranty, return it for replacement - HP replaced 450 tapes for
us under warranty due to MAXELL being decertified over defective media
that was damaging drives)


What you need to look at is this one:  "Total MiB written in
current/last load: 1050754" - and compare it with what btape or
bacula-sd sees for that tape.

  "TapeAlert flags:" are also critical -
https://www.ibm.com/support/knowledgecenter/STCMML8/com.ibm.storage.ts3500.doc/opg_3584_xtault.html


There are other sg commands for directly reading drive attributes (this
is what LTT and friends do)

sg_log -a /dev/sg24

   HP        Ultrium 5-SCSI    I57H

Supported log pages  [0x0]:
    0x00        Supported log pages [sp]
    0x02        Write error [we]
    0x03        Read error [re]
    0x0c        Sequential access device [sad]
    0x0d        Temperature [temp]
    0x11        DT Device status [dtds]
    0x12        Tape alert response [tar]
    0x13        Requested recovery [rr]
    0x14        Device statistics [ds]
    0x15        Service buffers information [sbi]
    0x16        Tape diagnostic data [tdd]
    0x17        Volume statistics [vs]
    0x18        Protocol specific port [psp]
    0x1b        Data compression [dc]
    0x2e        Tape alert [ta]
    0x30        Tape usage (lto-5, 6) [tu_]
    0x31        Tape capacity (lto-5, 6) [tc_]
    0x32        Data compression (lto-5) [dc_]
    0x34        Read forward errors (lto-5) [rfe_]
    0x35        DT Device Error (lto-5, 6) [dtde_]
    0x3e        Device Status (lto-5, 6) [ds_]

Write error counter page  [0x2]
  Errors corrected without substantial delay = 434260
  Errors corrected with possible delays = 0
  Total rewrites or rereads = 0
  Total errors corrected = 0
  Total times correction algorithm processed = 11378416
  Total bytes processed = 445565
  Total uncorrected errors = 0

Read error counter page  [0x3]
  Errors corrected without substantial delay = 13
  Errors corrected with possible delays = 0
  Total rewrites or rereads = 0
  Total errors corrected = 0
  Total times correction algorithm processed = 13
  Total bytes processed = 24
  Total uncorrected errors = 0

Sequential access device page (ssc-3)
  Data bytes received with WRITE commands: 1108 GB
  Data bytes written to media by WRITE commands: 1101 GB
  Data bytes read from media by READ commands: 0 GB
  Data bytes transferred by READ commands: 0 GB
  Native capacity from BOP to EOD: 0 MB
  Native capacity from BOP to EW of current partition: 37941 MB
  Minimum native capacity from EW to EOP of current partition: 306 MB
  Native capacity from BOP to current position: 0 MB
  Maximum native capacity in device object buffer: 206 MB
  Cleaning action not required (or completed)

Temperature page  [0xd]
  Current temperature = 41 C
  Reference temperature = <not available>

DT device status page (ssc-3, adc-3) [0x11]
  Very high frequency data:
  PAMR=1 HUI=0 MACC=1 CMPR=1 WRTP=0 CRQST=0 CRQRD=0 DINIT=1
  INXTN=0 RAA=0 MPRSNT=1 MSTD=1 MTHRD=1 MOUNTED=1
  DT device activity: No DT device activity
  VS=0 TDDEC=0 EPP=0 ESR=0 RRQST=0 INTFC=0 TAFC=0
  Very high frequency polling delay:  16 milliseconds
  Primary port 1 status:
    non-SAS transport, in hex:
 00     3b 00 00 01 00 00 00 01  50 01 10 a0 14 0c 67 d0    ;.......P.....g.
 10     50 01 10 a0 14 0c 67 ce                             P.....g.
  Primary port 2 status:
    non-SAS transport, in hex:
 00     00 00 00 00 00 00 00 00  50 01 10 a0 14 0c 67 d0    ........P.....g.
 10     50 01 10 a0 14 0c 67 ce                             P.....g.
  Primary port 3 status:
    non-SAS transport, in hex:
 00     02 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 10     00 00 00 00 00 00 00 00                             ........
  Primary port 4 status:
    non-SAS transport, in hex:
 00     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
 10     00 00 00 00 00 00 00 00                             ........
  Vendor specific [parameter_code=0x8000]:
 00     80 00 43 06 b1 17 00 00  00 06                      ..C.......
  Vendor specific [parameter_code=0x8010]:
 00     80 10 43 08 01 00 00 00  00 00 00 00                ..C.........
  Vendor specific [parameter_code=0xa101]:
 00     a1 01 43 04 00 00 00 00                             ..C.....
  Vendor specific [parameter_code=0xa102]:
 00     a1 02 43 04 00 00 00 00                             ..C.....

TapeAlert response page (ssc-3, adc-3) [0x12]
  Flag01h: 0  02h: 0  03h: 0  04h: 0  05h: 0  06h: 0  07h: 0  08h: 0
  Flag09h: 0  0Ah: 0  0Bh: 0  0Ch: 0  0Dh: 0  0Eh: 0  0Fh: 0  10h: 0
  Flag11h: 0  12h: 0  13h: 0  14h: 0  15h: 0  16h: 0  17h: 0  18h: 0
  Flag19h: 0  1Ah: 0  1Bh: 0  1Ch: 0  1Dh: 0  1Eh: 0  1Fh: 0  20h: 0
  Flag21h: 0  22h: 0  23h: 0  24h: 0  25h: 0  26h: 0  27h: 0  28h: 0
  Flag29h: 0  2Ah: 0  2Bh: 0  2Ch: 0  2Dh: 0  2Eh: 0  2Fh: 0  30h: 0
  Flag31h: 0  32h: 0  33h: 0  34h: 0  35h: 0  36h: 0  37h: 0  38h: 0
  Flag39h: 0  3Ah: 0  3Bh: 0  3Ch: 0  3Dh: 0  3Eh: 0  3Fh: 0  40h: 0

Requested recovery page (ssc-3) [0x13]
  Recovery procedures:
    Recovery not requested

Device statistics page (ssc-3 and adc)
  Lifetime media loads: 4561
  Lifetime cleaning operations: 14
  Lifetime power on hours: 53732
  Lifetime media motion (head) hours: 4675
  Lifetime metres of tape processed: 75668053
  Lifetime media motion (head) hours when incompatible media last loaded: 0
  Lifetime power on hours when last temperature condition occurred: 0
  Lifetime power on hours when last power consumption condition occurred: 0
  Media motion (head) hours since last successful cleaning operation: 41
  Media motion (head) hours since 2nd to last successful cleaning: 49
  Media motion (head) hours since 3rd to last successful cleaning: 87
  Lifetime power on hours when last operator initiated forced reset
    and/or emergency eject occurred: 27706
  Lifetime power cycles: 53
  Volume loads since last parameter reset: 4561
  Hard write errors: 126
  Hard read errors: 8
  Duty cycle sample time (ms): 72793134000
  Read duty cycle: 0
  Write duty cycle: 0
  Activity duty cycle: 0
  Volume not present duty cycle: 38
  Drive manufacturer's serial number: 0
  Drive serial number: 0
  Medium removal prevented: 1
  Maximum recommended mechanism temperature exceeded: 0
  Media motion (head) hours for each medium type:
    Density code: 0x44, Medium type: 0x0
      Medium motion hours: 2
    Density code: 0x44, Medium type: 0x1
      Medium motion hours: 0
    Density code: 0x46, Medium type: 0x0
      Medium motion hours: 1721
    Density code: 0x46, Medium type: 0x1
      Medium motion hours: 0
    Density code: 0x58, Medium type: 0x0
      Medium motion hours: 6497
    Density code: 0x58, Medium type: 0x1
      Medium motion hours: 0

Service buffer information page (adc-3) [0x15]
  Service buffer identifier: 0x0
    Buffer id: 0x41, tu=0, nmp=0, nmm=0, offline=0
    pd=0, code_set: Binary, Service buffer title:
      DT Device Error Log

Tape diagnostics data page (ssc-3) [0x16]
  Parameter code: 0
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4514
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 731
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     49 43 38 46 53 48 57 35  35 38 00 00 00 00 00 00    IC8FSHW558......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 e7 10 83 f4
  Parameter code: 1
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4474
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 691
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 39 31 32 30 34 34  39 38 00 00 00 00 00 00    1191204498......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 d3 9b 73 75
  Parameter code: 2
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4472
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 690
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     41 31 32 30 34 30 32 32  36 36 00 00 00 00 00 00    A120402266......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 d3 3f c0 87
  Parameter code: 3
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4469
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 687
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 39 31 31 39 37 37  39 35 00 00 00 00 00 00    1191197795......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 d2 21 c8 d3
  Parameter code: 4
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4469
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 686
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 36 31 30 38 30 36  35 35 00 00 00 00 00 00    1161080655......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 d0 ce d5 d5
  Parameter code: 5
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4467
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 684
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     49 43 5a 57 49 52 78 34  32 35 00 00 00 00 00 00    ICZWIRx425......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 ce e8 7c 62
  Parameter code: 6
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4466
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 683
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     49 43 38 43 4c 4a 67 36  38 31 00 00 00 00 00 00    IC8CLJg681......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 ce ad bf c7
  Parameter code: 7
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4465
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 682
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 32 34 30 35 30 36 34  39 30 00 00 00 00 00 00    1240506490......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 ce 47 6c 72
  Parameter code: 8
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4459
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 676
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 30 31 32 32 36 38  31 34 00 00 00 00 00 00    1101226814......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 cc 88 3d 3e
  Parameter code: 9
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4458
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 675
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 32 33 30 35 31 31 34  33 37 00 00 00 00 00 00    1230511437......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 cc 47 c3 37
  Parameter code: 10
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4427
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 644
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 32 35 30 34 32 36 31  31 30 00 00 00 00 00 00    1250426110......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 bd 48 d4 d1
  Parameter code: 11
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4366
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 583
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 37 31 31 32 32 33  36 39 00 00 00 00 00 00    1171122369......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 65 39 f0 c4
  Parameter code: 12
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4360
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 577
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 38 31 31 32 38 31  39 32 00 00 00 00 00 00    1181128192......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 57 3f 5d d1
  Parameter code: 13
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4360
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 577
    Operation code: 0x11
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 32 31 31 35 33 38  32 35 00 00 00 00 00 00    1121153825......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 57 23 f6 f3
  Parameter code: 14
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4360
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 577
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 32 31 31 35 33 38  32 35 00 00 00 00 00 00    1121153825......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 57 21 88 86
  Parameter code: 15
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4343
    Repeat: 0
    Sense key: 0x3 [Medium Error]
    Additional sense code: 0xc
    Additional sense code qualifier: 0x0
      [Additional sense: Write error]
    Vendor specific code qualifier: 0x5083
    Product revision level: 1228224328
    Hours since last clean: 561
    Operation code: 0x0
    Service action: 0x0
    Medium id number (in hex):
 00     31 30 33 31 32 37 37 33  30 32 00 00 00 00 00 00    1031277302......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 33 ff 2d 79
  Parameter code: 16
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4227
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 444
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     41 31 32 31 30 32 33 30  36 39 00 00 00 00 00 00    A121023069......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 56 4b be 7b
  Parameter code: 17
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4096
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 313
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     31 32 37 30 34 31 37 38  31 37 00 00 00 00 00 00    1270417817......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 53 d5 37 d1
  Parameter code: 18
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4076
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 293
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     31 32 35 30 35 33 33 31  34 30 00 00 00 00 00 00    1250533140......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 27 b4 c1 53
  Parameter code: 19
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4056
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 273
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):
 00     31 31 35 31 31 30 33 32  35 37 00 00 00 00 00 00    1151103257......
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00    ................
    Timestamp origin: 0x0
    Timestamp:
 00     00 44 ff ac 47 40
  Parameter code: 20
    Density code: 0x58
    Medium type: 0x0
    Lifetime media motion hours: 4012
    Repeat: 0
    Sense key: 0x4 [Hardware Error]
    Additional sense code: 0x44
    Additional sense code qualifier: 0x0
      [Additional sense: Internal target failure]
    Vendor specific code qualifier: 0x3339
    Product revision level: 1228224328
    Hours since last clean: 229
    Operation code: 0x10
    Service action: 0x0
    Medium id number (in hex):

[snip]


Data compression page  (ssc-4) [0x1b]
  Read compression ratio x100: 206
  Write compression ratio x100: 100
  Megabytes transferred to server: 0
  Bytes transferred to server: 19281
  Megabytes read from tape: 0
  Bytes read from tape: 9328
  Megabytes transferred from server: 1057613
  Bytes transferred from server: 956438
  Megabytes written to tape: 1050714
  Bytes written to tape: 293304
  Data compression enabled: 0x1

Tape alert page (ssc-3) [0x2e]
  Read warning: 0
  Write warning: 0
  Hard error: 0
  Media: 0
  Read failure: 0
  Write failure: 0
  Media life: 0
  Not data grade: 0
  Write protect: 0
  No removal: 0
  Cleaning media: 0
  Unsupported format: 0
  Recoverable mechanical cartridge failure: 0
  Unrecoverable mechanical cartridge failure: 0
  Memory chip in cartridge failure: 0
  Forced eject: 0
  Read only format: 0
  Tape directory corrupted on load: 0
  Nearing media life: 0
  Cleaning required: 0
  Cleaning requested: 0
  Expired cleaning media: 0
  Invalid cleaning tape: 0
  Retension requested: 0
  Dual port interface error: 0
  Cooling fan failing: 0
  Power supply failure: 0
  Power consumption: 0
  Drive maintenance: 0
  Hardware A: 0
  Hardware B: 0
  Interface: 0
  Eject media: 0
  Microcode update fail: 0
  Drive humidity: 0
  Drive temperature: 0
  Drive voltage: 0
  Predictive failure: 0
  Diagnostics required: 0
  Obsolete (28h): 0
  Obsolete (29h): 0
  Obsolete (2Ah): 0
  Obsolete (2Bh): 0
  Obsolete (2Ch): 0
  Obsolete (2Dh): 0
  Obsolete (2Eh): 0
  Reserved (2Fh): 0
  Reserved (30h): 0
  Reserved (31h): 0
  Lost statistics: 0
  Tape directory invalid at unload: 0
  Tape system area write failure: 0
  Tape system area read failure: 0
  No start of data: 0
  Loading failure: 0
  Unrecoverable unload failure: 0
  Automation interface failure: 0
  Firmware failure: 0
  WORM medium - integrity check failed: 0
  WORM medium - overwrite attempted: 0
  Reserved parameter code 0x3d, flag: 0
  Reserved parameter code 0x3e, flag: 0
  Reserved parameter code 0x3f, flag: 0
  Reserved parameter code 0x40, flag: 0

Tape usage page  (LTO-5 and LTO-6 specific) [0x30]
  Thread count: 6
  Total data sets written: 2175227
  Total write retries: 0
  Total unrecovered write errors: 0
  Total suspended writes: 27
  Total fatal suspended writes: 0
  Total data sets read: 128559
  Total read retries: 0
  Total unrecovered read errors: 0

Tape capacity page  (LTO-5 and LTO-6 specific) [0x31]
  Main partition remaining capacity (in MiB): 36476
  Alternate partition remaining capacity (in MiB): 199897
  Main partition maximum capacity (in MiB): 36476
  Alternate partition maximum capacity (in MiB): 1386103

Data compression page  (LTO-5 specific) [0x32]
  Read compression ratio x100: 206
  Write compression ratio x100: 100
  Megabytes transferred to server: 0
  Bytes transferred to server: 19281
  Megabytes read from tape: 0
  Bytes read from tape: 9328
  Megabytes transferred from server: 1057613
  Bytes transferred from server: 956438
  Megabytes written to tape: 1050714
  Bytes written to tape: 293304

Unable to decode page = 0x34, here is hex:
 00     34 00 00 1e 00 00 60 02  00 00 00 01 60 02 03 bb
 10     00 02 60 02 17 70 00 03  60 02 03 c1 00 04 40 02
 20     05 78

Unable to decode page = 0x35, here is hex:
 00     35 00 00 74 00 00 43 16  00 00 00 00 00 00 00 00
 10     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 01
 20     43 56 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 30     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 40     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 50     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 60     00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 70     00 00 00 00 00 00 00 00

Unable to decode page = 0x3e, here is hex:
 00     3e 00 00 28 00 00 40 04  00 00 00 00 00 01 40 04
 10     00 05 01 00 00 02 60 04  00 00 11 d1 00 03 40 04
 20     ff ff ff ff 00 04 40 04  01 09 02 23






_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to