661 lines · 25.0 KB · Text
RawDownload
#!/bin/rc{	sed '/^$/q' scsicodes	hget http://www.t10.org/lists/asc-num.htm |		grep '^[0-9]' |tr -d '
' |tr A-Z a-z |		sed 's/(..)\/(..)  ..............  (.*)/\1\2 \3/'} > nscsicodes && mv nscsicodes scsicodesexit 0000 no additional sense information0001 filemark detected0002 end-of-partition/medium detected0003 setmark detected0004 beginning-of-partition/medium detected0005 end-of-data detected0006 i/o process terminated0007 programmable early warning detected0011 audio play operation in progress0012 audio play operation paused0013 audio play operation successfully completed0014 audio play operation stopped due to error0015 no current audio status to return0016 operation in progress0017 cleaning requested0018 erase operation in progress0019 locate operation in progress001a rewind operation in progress001b set capacity operation in progress001c verify operation in progress001d ata pass through information available001e conflicting sa creation request0100 no index/sector signal0200 no seek complete0300 peripheral device write fault0301 no write current0302 excessive write errors0400 logical unit not ready, cause not reportable0401 logical unit is in process of becoming ready0402 logical unit not ready, initializing command required0403 logical unit not ready, manual intervention required0404 logical unit not ready, format in progress0405 logical unit not ready, rebuild in progress0406 logical unit not ready, recalculation in progress0407 logical unit not ready, operation in progress0408 logical unit not ready, long write in progress0409 logical unit not ready, self-test in progress040a logical unit not accessible, asymmetric access state transition040b logical unit not accessible, target port in standby state040c logical unit not accessible, target port in unavailable state040d logical unit not ready, structure check required0410 logical unit not ready, auxiliary memory not accessible0411 logical unit not ready, notify (enable spinup) required0412 logical unit not ready, offline0413 logical unit not ready, sa creation in progress0414 logical unit not ready, space allocation in progress0415 logical unit not ready, robotics disabled0416 logical unit not ready, configuration required0417 logical unit not ready, calibration required0418 logical unit not ready, a door is open0419 logical unit not ready, operating in sequential mode0500 logical unit does not respond to selection0600 no reference position found0700 multiple peripheral devices selected0800 logical unit communication failure0801 logical unit communication time-out0802 logical unit communication parity error0803 logical unit communication crc error (ultra-dma/32)0804 unreachable copy target0900 track following error0901 tracking servo failure0902 focus servo failure0903 spindle servo failure0904 head select fault0a00 error log overflow0b00 warning0b01 warning - specified temperature exceeded0b02 warning - enclosure degraded0b03 warning - background self-test failed0b04 warning - background pre-scan detected medium error0b05 warning - background medium scan detected medium error0b06 warning - non-volatile cache now volatile0b07 warning - degraded power to non-volatile cache0b08 warning - power loss expected0c00 write error0c01 write error - recovered with auto reallocation0c02 write error - auto reallocation failed0c03 write error - recommend reassignment0c04 compression check miscompare error0c05 data expansion occurred during compression0c06 block not compressible0c07 write error - recovery needed0c08 write error - recovery failed0c09 write error - loss of streaming0c0a write error - padding blocks added0c0b auxiliary memory write error0c0c write error - unexpected unsolicited data0c0d write error - not enough unsolicited data0c0f defects in error window0d00 error detected by third party temporary initiator0d01 third party device failure0d02 copy target device not reachable0d03 incorrect copy target device type0d04 copy target device data underrun0d05 copy target device data overrun0e00 invalid information unit0e01 information unit too short0e02 information unit too long0e03 invalid field in command information unit0f/001000 id crc or ecc error1001 logical block guard check failed1002 logical block application tag check failed1003 logical block reference tag check failed1100 unrecovered read error1101 read retries exhausted1102 error too long to correct1103 multiple read errors1104 unrecovered read error - auto reallocate failed1105 l-ec uncorrectable error1106 circ unrecovered error1107 data re-synchronization error1108 incomplete block read1109 no gap found110a miscorrected error110b unrecovered read error - recommend reassignment110c unrecovered read error - recommend rewrite the data110d de-compression crc error110e cannot decompress using declared algorithm110f error reading upc/ean number1110 error reading isrc number1111 read error - loss of streaming1112 auxiliary memory read error1113 read error - failed retransmission request1114 read error - lba marked bad by application client1200 address mark not found for id field1300 address mark not found for data field1400 recorded entity not found1401 record not found1402 filemark or setmark not found1403 end-of-data not found1404 block sequence error1405 record not found - recommend reassignment1406 record not found - data auto-reallocated1407 locate operation failure1500 random positioning error1501 mechanical positioning error1502 positioning error detected by read of medium1600 data synchronization mark error1601 data sync error - data rewritten1602 data sync error - recommend rewrite1603 data sync error - data auto-reallocated1604 data sync error - recommend reassignment1700 recovered data with no error correction applied1701 recovered data with retries1702 recovered data with positive head offset1703 recovered data with negative head offset1704 recovered data with retries and/or circ applied1705 recovered data using previous sector id1706 recovered data without ecc - data auto-reallocated1707 recovered data without ecc - recommend reassignment1708 recovered data without ecc - recommend rewrite1709 recovered data without ecc - data rewritten1800 recovered data with error correction applied1801 recovered data with error corr. & retries applied1802 recovered data - data auto-reallocated1803 recovered data with circ1804 recovered data with l-ec1805 recovered data - recommend reassignment1806 recovered data - recommend rewrite1807 recovered data with ecc - data rewritten1808 recovered data with linking1900 defect list error1901 defect list not available1902 defect list error in primary list1903 defect list error in grown list1a00 parameter list length error1b00 synchronous data transfer error1c00 defect list not found1c01 primary defect list not found1c02 grown defect list not found1d00 miscompare during verify operation1d01 miscompare verify of unmapped lba1e00 recovered id with ecc correction1f00 partial defect list transfer2000 invalid command operation code2001 access denied - initiator pending-enrolled2002 access denied - no access rights2003 access denied - invalid mgmt id key2004 illegal command while in write capable state2005 obsolete2006 illegal command while in explicit address mode2007 illegal command while in implicit address mode2008 access denied - enrollment conflict2009 access denied - invalid lu identifier200a access denied - invalid proxy token200b access denied - acl lun conflict2100 logical block address out of range2101 invalid element address2102 invalid address for write2103 invalid write crossing layer jump2200 illegal function (use 20 00, 24 00, or 26 00)23/002400 invalid field in cdb2401 cdb decryption error2402 obsolete2403 obsolete2404 security audit value frozen2405 security working key frozen2406 nonce not unique2407 nonce timestamp out of range2408 invalid xcdb2500 logical unit not supported2600 invalid field in parameter list2601 parameter not supported2602 parameter value invalid2603 threshold parameters not supported2604 invalid release of persistent reservation2605 data decryption error2606 too many target descriptors2607 unsupported target descriptor type code2608 too many segment descriptors2609 unsupported segment descriptor type code260a unexpected inexact segment260b inline data length exceeded260c invalid operation for copy source or destination260d copy segment granularity violation260e invalid parameter while port is enabled260f invalid data-out buffer integrity check value2610 data decryption key fail limit reached2611 incomplete key-associated data set2612 vendor specific key reference not found2700 write protected2701 hardware write protected2702 logical unit software write protected2703 associated write protect2704 persistent write protect2705 permanent write protect2706 conditional write protect2707 space allocation failed write protect2800 not ready to ready change, medium may have changed2801 import or export element accessed2802 format-layer may have changed2803 import/export element accessed, medium changed2900 power on, reset, or bus device reset occurred2901 power on occurred2902 scsi bus reset occurred2903 bus device reset function occurred2904 device internal reset2905 transceiver mode changed to single-ended2906 transceiver mode changed to lvd2907 i_t nexus loss occurred2a00 parameters changed2a01 mode parameters changed2a02 log parameters changed2a03 reservations preempted2a04 reservations released2a05 registrations preempted2a06 asymmetric access state changed2a07 implicit asymmetric access state transition failed2a08 priority changed2a09 capacity data has changed2a0a error history i_t nexus cleared2a0b error history snapshot released2a0c error recovery attributes have changed2a0d data encryption capabilities changed2a10 timestamp changed2a11 data encryption parameters changed by another i_t nexus2a12 data encryption parameters changed by vendor specific event2a13 data encryption key instance counter has changed2a14 sa creation capabilities data has changed2b00 copy cannot execute since host cannot disconnect2c00 command sequence error2c01 too many windows specified2c02 invalid combination of windows specified2c03 current program area is not empty2c04 current program area is empty2c05 illegal power condition request2c06 persistent prevent conflict2c07 previous busy status2c08 previous task set full status2c09 previous reservation conflict status2c0a partition or collection contains user objects2c0b not reserved2d00 overwrite error on update in place2e00 insufficient time for operation2f00 commands cleared by another initiator2f01 commands cleared by power loss notification2f02 commands cleared by device server3000 incompatible medium installed3001 cannot read medium - unknown format3002 cannot read medium - incompatible format3003 cleaning cartridge installed3004 cannot write medium - unknown format3005 cannot write medium - incompatible format3006 cannot format medium - incompatible medium3007 cleaning failure3008 cannot write - application code mismatch3009 current session not fixated for append300a cleaning request rejected300c worm medium - overwrite attempted300d worm medium - integrity check3010 medium not formatted3011 incompatible volume type3012 incompatible volume qualifier3013 cleaning volume expired3100 medium format corrupted3101 format command failed3102 zoned formatting failed due to spare linking3200 no defect spare location available3201 defect list update failure3300 tape length error3400 enclosure failure3500 enclosure services failure3501 unsupported enclosure function3502 enclosure services unavailable3503 enclosure services transfer failure3504 enclosure services transfer refused3505 enclosure services checksum error3600 ribbon, ink, or toner failure3700 rounded parameter3800 event status notification3802 esn - power management class event3804 esn - media class event3806 esn - device busy class event3807 thin provisioning soft threshold reached3900 saving parameters not supported3a00 medium not present3a01 medium not present - tray closed3a02 medium not present - tray open3a03 medium not present - loadable3a04 medium not present - medium auxiliary memory accessible3b00 sequential positioning error3b01 tape position error at beginning-of-medium3b02 tape position error at end-of-medium3b03 tape or electronic vertical forms unit not ready3b04 slew failure3b05 paper jam3b06 failed to sense top-of-form3b07 failed to sense bottom-of-form3b08 reposition error3b09 read past end of medium3b0a read past beginning of medium3b0b position past end of medium3b0c position past beginning of medium3b0d medium destination element full3b0e medium source element empty3b0f end of medium reached3b11 medium magazine not accessible3b12 medium magazine removed3b13 medium magazine inserted3b14 medium magazine locked3b15 medium magazine unlocked3b16 mechanical positioning or changer error3b17 read past end of user object3b18 element disabled3b19 element enabled3b1a data transfer device removed3b1b data transfer device inserted3c/003d00 invalid bits in identify message3e00 logical unit has not self-configured yet3e01 logical unit failure3e02 timeout on logical unit3e03 logical unit failed self-test3e04 logical unit unable to update self-test log3f00 target operating conditions have changed3f01 microcode has been changed3f02 changed operating definition3f03 inquiry data has changed3f04 component device attached3f05 device identifier changed3f06 redundancy group created or modified3f07 redundancy group deleted3f08 spare created or modified3f09 spare deleted3f0a volume set created or modified3f0b volume set deleted3f0c volume set deassigned3f0d volume set reassigned3f0e reported luns data has changed3f0f echo buffer overwritten3f10 medium loadable3f11 medium auxiliary memory accessible3f12 iscsi ip address added3f13 iscsi ip address removed3f14 iscsi ip address changed4000 ram failure (should use 40 nn)40nn diagnostic failure on component nn (80h-ffh)4100 data path failure (should use 40 nn)4200 power-on or self-test failure (should use 40 nn)4300 message error4400 internal target failure4471 ata device failed set features4500 select or reselect failure4600 unsuccessful soft reset4700 scsi parity error4701 data phase crc error detected4702 scsi parity error detected during st data phase4703 information unit iucrc error detected4704 asynchronous information protection error detected4705 protocol service crc error4706 phy test function in progress477f some commands cleared by iscsi protocol event4800 initiator detected error message received4900 invalid message error4a00 command phase error4b00 data phase error4b01 invalid target port transfer tag received4b02 too much write data4b03 ack/nak timeout4b04 nak received4b05 data offset error4b06 initiator response timeout4b07 connection lost4c00 logical unit failed self-configuration4dnn tagged overlapped commands (nn = task tag)4e00 overlapped commands attempted4f/005000 write append error5001 write append position error5002 position error related to timing5100 erase failure5101 erase failure - incomplete erase operation detected5200 cartridge fault5300 media load or eject failed5301 unload tape failure5302 medium removal prevented5303 medium removal prevented by data transfer element5304 medium thread or unthread failure5400 scsi to host system interface failure5500 system resource failure5501 system buffer full5502 insufficient reservation resources5503 insufficient resources5504 insufficient registration resources5505 insufficient access control resources5506 auxiliary memory out of space5507 quota error5508 maximum number of supplemental decryption keys exceeded5509 medium auxiliary memory not accessible550a data currently unavailable550b insufficient power for operation56/005700 unable to recover table-of-contents5800 generation does not exist5900 updated block read5a00 operator request or state change input5a01 operator medium removal request5a02 operator selected write protect5a03 operator selected write permit5b00 log exception5b01 threshold condition met5b02 log counter at maximum5b03 log list codes exhausted5c00 rpl status change5c01 spindles synchronized5c02 spindles not synchronized5d00 failure prediction threshold exceeded5d01 media failure prediction threshold exceeded5d02 logical unit failure prediction threshold exceeded5d03 spare area exhaustion prediction threshold exceeded5d10 hardware impending failure general hard drive failure5d11 hardware impending failure drive error rate too high5d12 hardware impending failure data error rate too high5d13 hardware impending failure seek error rate too high5d14 hardware impending failure too many block reassigns5d15 hardware impending failure access times too high5d16 hardware impending failure start unit times too high5d17 hardware impending failure channel parametrics5d18 hardware impending failure controller detected5d19 hardware impending failure throughput performance5d1a hardware impending failure seek time performance5d1b hardware impending failure spin-up retry count5d1c hardware impending failure drive calibration retry count5d20 controller impending failure general hard drive failure5d21 controller impending failure drive error rate too high5d22 controller impending failure data error rate too high5d23 controller impending failure seek error rate too high5d24 controller impending failure too many block reassigns5d25 controller impending failure access times too high5d26 controller impending failure start unit times too high5d27 controller impending failure channel parametrics5d28 controller impending failure controller detected5d29 controller impending failure throughput performance5d2a controller impending failure seek time performance5d2b controller impending failure spin-up retry count5d2c controller impending failure drive calibration retry count5d30 data channel impending failure general hard drive failure5d31 data channel impending failure drive error rate too high5d32 data channel impending failure data error rate too high5d33 data channel impending failure seek error rate too high5d34 data channel impending failure too many block reassigns5d35 data channel impending failure access times too high5d36 data channel impending failure start unit times too high5d37 data channel impending failure channel parametrics5d38 data channel impending failure controller detected5d39 data channel impending failure throughput performance5d3a data channel impending failure seek time performance5d3b data channel impending failure spin-up retry count5d3c data channel impending failure drive calibration retry count

Lines 1–500 of 661.