Home > HP > Computer Drive > HP Lto 5 Manual

HP Lto 5 Manual

    Download as PDF Print this page Share this page

    Have a look at the manual HP Lto 5 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							01234567
    AttributeIDxm
    n
    TheAvailableDatafieldcontainsthenumberofbytesofattributevaluesreturned.Evenifthedata
    returnedhastobetruncatedbecausetheAllocationLengthistoosmall,thecontentsoftheAvailable
    Datafieldremainthesame.
    Fordetailsoftheavailableattributesandtheformatofthedatareturnedforeach,see“MAM
    attributedata”(page132).
    AttributeListserviceaction
    Thisserviceactionisusedtoretrievetheidentifiersofalltheattributesthataresupportedandexist.
    TheFirstAttributeIDfieldintheCDBisignored.Theattributeidentifiersarereturnedinascending
    numericalorder.Theformatofthereturneddataisasfollows:
    01234567
    AvailableData(n−3)(MSB)0
    (LSB)3
    FirstAttributeID4
    a
    ::
    AttributeIDxm
    n
    TheAvailableDatafieldspecifiesthenumberofbytesofattributeIDdatareturned.Evenifthe
    datareturnedhastobetruncatedbecausetheAllocationLengthistoosmall,thecontentsofthe
    AvailableDatafieldremainthesame.
    Atwo-byteAttributeIDisreturnedforeachattributeavailableonMAM.See“AttributeIDvalues”
    (page133)foradescriptionoftheAttributeIDvalues.
    PartitionListserviceaction
    ThePartitionListserviceactionisusedtoreportthenumberofpartitionssupportedinthespecified
    volume.TheFirstAttributeIDfieldintheCDBisignored.Theinformationreturnedisasfollows:
    01234567
    AvailableData(2)(MSB)0
    (LSB)1
    FirstPartitionNumber2
    NumberofPartitionsAvailable3
    TheFirstPartitionNumberisthefirstpartitionavailableonthespecifiedvolume.
    TheNumberofPartitionsAvailableindicatesthenumberofpartitionsavailableonthespecified
    volume(1or2).
    READATTRIBUTE8Ch131 
    						
    							VolumeListserviceaction
    TheVolumeListserviceactionisusedtoreportthenumberofvolumesthatthedeviceserver
    supports,whichinthecaseofLTOUltriumdrivesis1.TheVolumeNumber,PartitionNumberand
    AttributefieldsintheCDBareignored.Theinformationreturnedisasfollows:
    01234567
    AvailableData(2)(MSB)0
    (LSB)1
    FirstVolumeNumber(0)2
    NumberofVolumesAvailable(1)3
    TheFirstPartitionNumberisthefirstvolume.SinceLTOUltriumdrivesdonotsupportmultiple
    volumes,thisis0.
    TheNumberofVolumesAvailableindicatesthenumberofpartitionsavailable.SinceLTOUltrium
    drivesdonotsupportmultiplevolumes,thisis1.
    READATTRIBUTEspecificstatus
    ThecommandwillbeterminatedandwillreturnCHECKCONDITIONunderthefollowing
    circumstances:
    AdditionalSenseSenseKeyDescription
    (mediumnotpresent)3A00hNOTREADYThereisnocartridgepresentinthedrive,notevenpartially
    loaded.
    (MAMnotaccessible)0410hMEDIUM
    ERROR
    TheMAMisnotaccessibleeventhoughthereisatapein
    thedrive.
    (MAMreaderror)1112hMEDIUM
    ERROR
    TheMAMhasfailed(forexamplefromabadchecksum).
    (invalidfieldinCDB)2400hILLEGAL
    REQUEST
    ThecombinationofVolumeNumberandPartitionNumber
    isnotvalid.
    (invalidfieldinCDB)2400hILLEGAL
    REQUEST
    TheServiceActionfielddoesnotmatchasupportedService
    ActionID.
    (invalidfieldinCDB)2400hILLEGAL
    REQUEST
    TheFirstAttributeIDfielddoesnotmatchasupportedFirst
    AttributeID.
    MAMattributedata
    AttributedatasentwithaWRITEATTRIBUTEcommandorreturnedinresponsetoaREADATTRIBUTE
    commandhasthefollowingformat:
    01234567
    AttributeIdentifier(MSB)0
    (LSB)1
    FormatReserved(0)Read-Only2
    AttributeLength(n−4)(MSB)3
    (LSB)4
    132Commands 
    						
    							01234567
    AttributeValue(MSB)5
    (LSB)n
    TheformatimpliesnothingaboutthephysicalrepresentationofthedataintheMediumAuxiliary
    Memory.
    Thebinaryidentifierforasingleattribute.See“AttributeIDvalues”below.AttributeIdentifier
    Specifieswhetheranattributeisread-only.ThebitisignoredbytheREADATTRIBUTE
    command.
    Read-Only
    TheattributemaybechangedbytheWRITEATTRIBUTEcommand.0
    TheattributecannotbechangedbyWRITEATTRIBUTE.1
    SpecifiesthedataformatoftheAttributeValuefield.Thepossiblevaluesare:Format
    DescriptionValue
    Binary.TheAttributeValuefieldcontainsbinarydata.00b
    ASCII.TheAttributeValuefieldcontainsonlygraphiccodes(20h–7Eh).
    Itmustbeleft-alignedandcontain20h(ASCIIspace)inanyunusedbytes.
    01b
    Text.TheAttributeValuefieldcontainstextualdata.Thecharactersetis
    asdescribedintheTextLocalizationIdentifierattributein“Standardhost
    typeattributes”(page136).
    10b
    Reserved.11b
    ThelengthinbytesoftheAttributeValuefield.AttributeLength
    AttributeIDvalues
    AttributescanbeStandardorVendor-Unique.Therearethreegroupsofattributes:Device,Medium
    andHostattributes.Eachgrouphasalistofattributes,whichcharacterizethegroup:
    Read-OnlyStandard/Vendor-UniqueAttributeTypeAttributeID
    YesStandardDevice0000h–03FFh
    YesStandardMedium0400h–07FFh
    NoStandardHost0800h–0BFFh
    YesVendor-UniqueDevice0C00h–0FFFh
    n/aVendor-UniqueMedium1000h–13FFh
    NoVendor-UniqueHost1400h–17FFh
    Reserved1800h–FFFFh
    WRITEATTRIBUTEcommandsareonlyacceptedforHosttypeattributes(eitherStandardor
    Vendor-Unique).
    TryingtoreadorwriteDeviceorMediumtypevendor-uniqueattributeswillfailandCHECK
    CONDITIONstatusisreported.SensedatawillbeasdescribedintheIllegalFieldChecks.
    READATTRIBUTE8Ch133 
    						
    							Standarddevicetypeattributes
    FormatSize(bytes)AttributeID
    Binary8Remainingcapacityinpartition0000h
    Binary8Maximumcapacityinpartition0001h
    Binary8TapeAlertflags0002h
    Binary8Loadcount0003h
    Binary8MAMspaceremaining0004h
    ASCII8Assigningorganization0005h
    Binary1Formatteddensitycode0006h
    Binary1Initializationcount0007h
    ASCII0–32Volumeidentifier0008h
    Binary4Volumechangereference0009h
    Reserved000Ah–0209h
    ASCII40Devicemake/serialnumberatlastload020Ah
    ASCII40Devicemake/serialnumberatload–1020Bh
    ASCII40Devicemake/serialnumberatload–2020Ch
    ASCII40Devicemake/serialnumberatload–3020Dh
    Reserved020Eh–021Fh
    Binary8TotalMBwritteninmediumlife0220h
    Binary8TotalMBreadinmediumlife0221h
    Binary8TotalMBwrittenincurrent/lastload0222h
    Binary8TotalMBreadincurrent/lastload0223h
    Binary8Logicalpositionoffirstencryptedblock0224h
    Binary8Logicalpositionoffirstunencryptedblockafterthe
    firstencryptedblock
    0225h
    Reserved0225h–03FFh
    NativecapacitiesinMB,assumingnodatacompression.Remainingcapacityinpartitionand
    Maximumcapacityinpartition
    1bitperflag(MSB=flag1,LSB=flag64).Bitsspecifyflagssetduringprevious
    load.
    TapeAlertflags
    Thenumberoftimesthistapehasbeenfullyloaded.Itisneverreset.Loadcount
    ThespacecurrentlyfreeintheMAM.ThetotalMAMcapacityisreportedinthe
    MAMCapacityattributedefinedin“Standardmediumtypeattributes”
    (page135).Notethatitmaynotalwaysbepossibletouseallthefreespaceina
    givenMAMimplementation.Dependingontheinternalorganizationofthememory
    andthesoftwarethatcontrolsit,fragmentationissuesmaymeanthatcertain
    attributesizesmightnotbefullyaccommodatedastheMAMnearsitsmaximum
    capacity.
    MAMspaceremaining
    TheVendorIDoftheorganizationthatwilldefineattribute0006h.Itcontainsthe
    string“LTO-CVE”.
    Assigningorganization
    Themediumdensitycode.Formatteddensitycode
    134Commands 
    						
    							Thetapeisnotinitialized0Initializationcount
    Inothercases1
    SetandresetbytheSETMEDIUMATTRIBUTEADCcommand.Volumeidentifier
    Indicateschangesinthestateofthemediumrelatedtologicalobjects.Volumechangereference
    Theseattributesprovidearollinghistoryofthelastfourdeviceserversinwhich
    thetapehasbeenloaded.Theformatoftheattributesisasfollows:
    Devicemake/serialnumberatlast
    loadandDevicemake/serial
    numberatload–n01234567
    VendorIdentification(MSB)0
    (LSB)7
    ProductSerialNumber(MSB)8
    (LSB)39
    ThesamevalueasisreturnedintheSCSIINQUIRY
    commandbythedeviceserver,paddedwithASCII
    spaces(20h).
    VendorIdentification
    Vendor-assignedserialnumber,paddedwithASCII
    spaces(20h).
    ProductSerialNumber
    Thetotalnumberofdatabyteswrittentoorreadfromthetape(afteranydata
    compressionhasbeenapplied)overtheentiretapelife.Thesefiguresare
    cumulativeandwillneverbereset.
    TotalMBwritteninmediumlifeand
    TotalMBreadinmediumlife
    Thesearesimilartotheattributesabovebutapplytothecurrentload(ifthetape
    iscurrentlyloaded)orthelastload(ifthetapeiscurrentlyunloaded).Thedevice
    servershouldresettheseattributestozerowhenthetapeisloaded.
    TotalMBwrittenincurrent/lastload
    andTotalMBreadincurrent/last
    load
    Logicaladdressontapeofthefirstencryptedblockontape.
    Iftherearenoencryptedblocks,settoFFFFFFFFFFFFFFFFh.
    Ifitisunknownwhetherthereareanyencryptedblocks,thensettoFFFFFFFF
    FFFFFFFEh.
    Logicalpositionoffirstencrypted
    block
    Logicaladdressontapeofthefirstunencryptedblockontapethatfollowsthe
    firstencryptedblockontape.
    TheattributevalueissettoFFFFFFFFFFFFFFFFhifthelogicalpositionoffirst
    encryptedblockattributeissetto:
    •FFFFFFFFFFFFFFFFh;or
    •anyvalueotherthanFFFFFFFFFFFFFFFFhorFFFFFFFFFFFFFFFEhandno
    blockafterthefirstencryptedblockcontainsunencrypteddata.
    TheattributevalueissettoFFFFFFFFFFFFFFFEhifthelogicalpositionoffirst
    encryptedblockattributeissetto:
    •FFFFFFFFFFFFFFFFh;or
    •anyvalueotherthanFFFFFFFFFFFFFFFFhorFFFFFFFFFFFFFFFEhanditis
    unknownwhetheranyblockafterthefirstencryptedblockcontainsunencrypted
    data.
    Logicalpositionoffirstunencrypted
    blockafterthefirstencryptedblock
    Standardmediumtypeattributes
    DescriptionFormatSize
    (bytes)
    AttributeID
    Thenameofthemanufacturer.ASCII8Mediummanufacturer0400h
    Theserialnumber,left-alignedandpaddedwith
    ASCIIspaces(20h).
    ASCII32Mediumserialnumber0401h
    READATTRIBUTE8Ch135 
    						
    							DescriptionFormatSize
    (bytes)
    AttributeID
    Thelengthofthetapeinmeters.Avalueof0
    meansthelengthisundefined.
    Binary4Mediumlength0402h
    Thewidthofthetapeinmm127Binary4Mediumwidth0403h
    Containsthestring“LTO-CVE”.ASCII8Assigningorganization0404h
    Thetapedensitycode.Binary1Mediumdensitycode0405h
    Thedateofmanufactureintheformat
    YYYYMMDD.
    ASCII8Mediummanufacturerdate0406h
    ThetotalcapacityoftheMAM,notitsfreespace.Binary8MAMcapacity0407h
    Thetypeoftape:Binary1Mediumtype0408h
    Datacartridge
    Cleaningcartridge
    WORMcartridge
    0
    1
    80h
    Othervaluesarereserved.
    Onlymeaningfulforacleaningcartridge,where
    itgivesthemaximumnumberofcleaningcycles
    permitted.
    Binary2Mediumtypeinformation0409h
    Reserved040Ah–
    07FFh
    Standardhosttypeattributes
    Theseonlyexistiftheyareinitializedbyanapplication:
    DescriptionFormatSize
    (bytes)
    AttributeID
    ASCII8Applicationvendor0800h
    ASCII32Applicationname0801h
    ASCII8Applicationversion0802h
    Theuserlevelidentifierforthetape.Text160Usermediumtextlabel0803h
    FormatisYYYYMMDDHHMM(0–24hours)ASCII12Dataandtimelastwritten0804h
    Definesthecharactersetfortheattributesdefined
    as“text”.Seethetablebelow.
    Binary1Textlocalizationidentifier0805h
    Allowsanapplicationservertostorethecontents
    ofabarcodeassociatedwiththemediuminthe
    MAM.
    ASCII32Barcode0806h
    ThehostserverfromwhichtheUserMediumText
    Labeloriginates.
    Text80Owninghosttextualname0807h
    Indicatesthemediapooltowhichthistape
    belongs.
    Text160Mediapool0808h
    IdentifierforthepartitionspecifiedintheCDB.ASCII16Partitionusertextlabel0809h
    136Commands 
    						
    							DescriptionFormatSize
    (bytes)
    AttributeID
    Theloadorunloadoccursatthebeginning
    ofthetape.Thisisthedefaultsettingifthe
    attributedoesnotexist.
    0Binary1Load/unloadatpartition080Ah
    Loadsandunloadsatthepartitionspecified
    intheCDBareallowed
    1
    ASCII16Applicationformatversion080Bh
    Containsinformationusedtomaintaincoherency
    ofinformationonavolume.Itmaybeusedto
    identifywhetherthevolumecontentshave
    changedsincethelasttimethisattributewas
    writtentoMAM.
    Binary23–nVolumecoherencyinformation080Ch
    Reserved080Dh–
    BFFh
    Vendor-uniquemediumtypeattributes
    DescriptionFormatAttribute
    Length
    NameAttribute
    IDBytes
    4
    bytes
    LTOCMSerialNumber0–3Binary28UniqueCartridge
    Identity(not
    applicableto
    cleaningcartridges)
    1000h
    8
    bytes
    Tapepancakeidentificationfield
    fromtheManufacturer’sWord
    4–11
    8
    bytes
    Manufacturer’sNamefieldfromthe
    Manufacturer’sWord
    12–19
    4
    bytes
    TheLPOSvalueatLP1(deducedfrom
    thetape,orextractedfromthe
    InitializationDatapageintheCM)
    20–23
    2
    bytes
    CartridgeTypefieldfromthe
    CartridgeManufacturer’sPageinthe
    LTOCM
    24–25
    2
    bytes
    Reserved(settozero)26–27
    4
    bytes
    LTOCMSerialNumber0–3Binary24AlternativeUnique
    CartridgeIdentity
    1001h
    8
    bytes
    Tapepancakeidentificationfield
    fromtheManufacturer’sWord
    4–11
    10
    bytes
    CartridgeSerialNumber12–21
    2
    bytes
    CartridgeTypefieldfromthe
    CartridgeManufacturer’sPageinthe
    LTOCM
    22–23
    READATTRIBUTE8Ch137 
    						
    							Textlocalizationidentifiers
    TheTextLocalizationIdentifierdefinesthecharactersetusedforattributeswithatextformat:
    FormatID
    Nocodespecified(ASCII)00h
    ISO/IEC8859-1(Europe,LatinAmerica)01h
    ISO/IEC8859-2(EasternEurope)02h
    ISO/IEC8859-3(SEEurope/miscellaneous)03h
    ISO/IEC8859-4(Scandinavia/Baltic)04h
    ISO/IEC8859-5(Cyrillic)05h
    ISO/IEC8859-6(Arabic)06h
    ISO/IEC8859-7(Greek)07h
    ISO/IEC8859-8(Hebrew)08h
    ISO/IEC8859-9(Latin5)09h
    ISO/IEC8859-10(Latin6)0Ah
    Reserved0Bh–7Fh
    ISO/IEC10646(Unicode)80h
    ISO/IEC10646-1,Amendmentno.2(UTF-8)81h
    Reserved82h–FFh
    READBLOCKLIMITS05h
    READBLOCKLIMITStellsthedrivetoreturndatadefiningthemaximumblocksizethatitcan
    support.Notethatthisisthemaximumsupportable,notthefixedblocksize.
    Pre-executionchecks
    UnitAttentionDeferredErrorReservationIllegalField
    Commanddescriptorblock
    01234567
    OperationCode(05h)0
    Reserved(0)1–4
    Control5
    ReadBlockLimitsdata
    01234567
    00h0
    MaximumBlockLength(FFFFFFh)(MSB)1
    (LSB)3
    MinimumBlockLength(0001h)(MSB)4
    (LSB)5
    138Commands 
    						
    							Innon-encryptingmode,themaximumblocksizeis16MB(=16777215or
    FFFFFFhbytes).
    Inencryptingmode,themaximumis8MB(=8388608or7FFFFFhbytes),
    allowingheadroomincasetheencrypteddataexpands.
    MaximumBlockLength
    READBUFFER3Ch
    READBUFFERreadsdatafromthememoryonthedriveandsendsittotheinitiator.Thevalueof
    theModefielddetermineswhetheronlythe4-bytedescriptorisreturned,onlythedataisreturned,
    orwhetherbotharereturned.
    Pre-executionchecks
    UnitAttentionDeferredErrorReservationIllegalField
    IfanyofthefollowingrulesarebrokenthenCHECKCONDITIONstatusisreported.Sensedata
    willbeasdescribedinIllegalFieldChecks.
    Commanddescriptorblock
    01234567
    OperationCode(3Ch)0
    ModeReserved(0)1
    BufferID2
    BufferOffset(MSB)3
    (LSB)5
    AllocationLength(MSB)6
    (LSB)8
    Control9
    CDBfields
    A4-bytedescriptorisreturned,followedby(AllocationLength−4)bytesofdata.The
    dataisreadfromthebufferidentifiedbytheBufferID,startingfromoffsetzerointhe
    buffer.
    TheBufferIDandBufferOffsetmustbothbe00h.
    00000bMode
    ThedrivereturnsAllocationLengthbytesofdatawhichisreadfromthebufferidentified
    bytheBufferID,startingfromBufferOffsetbytesfromthestartofthebuffer.
    TherearenorestrictionsonthevalueofBufferIDandBufferOffset,exceptthattheBuffer
    Offsetmustbekeptwithinthebuffersize.
    00010b
    Thedrivereturnsa4-bytedescriptorforthebufferidentifiedbytheBufferIDfield.Invalid
    bufferIDswillreturnabufferdescriptorofallzeros.
    TheBufferOffsetfieldmustbezero.
    00011b
    ThedrivereturnsdatafromtheEchoBuffer.TheBufferIDandOffsetareignored.01010b
    ThedrivereturnstheEchoBufferdescriptor.TheBufferIDandOffsetareignored.01011b
    READBUFFER3Ch139 
    						
    							TheBufferIDindicateswhichbufferistoberead.Thebuffersaredefinedasfollows:BufferID
    OffsetBoundaryCategoryMemoryAreaBufferID
    4byteRAMMainbuffermemory00h
    4bytesRAMFCandSASprimaryburstbuffer02h
    1byteEEPROMCMEEPROM10h
    1byteEEPROMMechanicalEEPROM11h
    1byteEEPROMHeadassemblyEEPROM12h
    1byteEEPROMPCAEEPROM13h
    1byteEEPROMPCA2EEPROM14h
    detailsbelow4byteseachRAMMainbuffersegments0–720h–27h
    seebelowSnapshotdatabuffer40h
    TheBufferOffsetfieldmaybesettoanyaddressinthebuffer,butmustobeythespecifiedOffset
    Boundary.
    BufferOffset
    Theamountofdatatoreturn.AllocationLength+BufferOffsetmustbewithinthebuffersize.Allocation
    Length
    Memorysizes
    Size:256MB,reportedsizeFFFFFFh.
    Becausethebufferisgreaterthan16MB,additionalbufferIDshavebeendefinedtoallowthe
    buffertobeaccessedin16MBsegments.theseareasfollows:
    MainBufferMemory
    AddressBufferID
    00000000h+BufferOffset(sameasBufferID00h)20h
    01000000h+BufferOffset(inotherwords,+16MB)21h
    02000000h+BufferOffset(inotherwords,+32MB)22h
    03000000h+BufferOffset(inotherwords,+48MB)23h
    04000000h+BufferOffset(inotherwords,+64MB)24h
    05000000h+BufferOffset(inotherwords,+80MB)25h
    06000000h+BufferOffset(inotherwords,+96MB)26h
    07000000h+BufferOffset(inotherwords,+112MB)27h
    08000000h+BufferOffset(inotherwords,+128MB)28h
    09000000h+BufferOffset(inotherwords,+144MB)29h
    0A000000h+BufferOffset(inotherwords,+160MB)2Ah
    0B000000h+BufferOffset(inotherwords,+176MB)2Bh
    0C000000h+BufferOffset(inotherwords,+192MB)2Ch
    0D000000h+BufferOffset(inotherwords,+208MB)2Dh
    0E000000h+BufferOffset(inotherwords,+224MB)2Eh
    0F000000h+BufferOffset(inotherwords,+240MB)2Fh
    NotalloftheProcessorMemoryspaceisaccessible.Thefollowingtableshowsvalidaddress
    segments:
    ProcessorMemory
    140Commands 
    						
    All HP manuals Comments (0)