+ sg_inq /dev/sdc standard INQUIRY: PQual=0 PDT=0 RMB=0 LU_CONG=0 hot_pluggable=0 version=0x01 [SCSI-1] [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=1 SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 [BQue=0] EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0 [RelAdr=0] WBus16=0 Sync=0 [Linked=0] [TranDis=0] CmdQue=0 [SPI: Clocking=0x0 QAS=0 IUS=0] length=130 (0x82) Peripheral device type: disk Vendor identification: QUANTUM Product identification: P40S 940-40-94xx Product revision level: 7.9 + sg_readcap /dev/sdc Read Capacity results: Last LBA=82028 (0x1406c), Number of logical blocks=82029 Logical block length=512 bytes Hence: Device size: 41998848 bytes, 40.1 MiB, 0.04 GB + sg_reassign --primary /dev/sdc >> Elements in primary defect list: 10 + sg_reassign --grown /dev/sdc >> Elements in grown defect list: 0 + sginfo -d /dev/sdc INQUIRY response (cmd: 0x12) ---------------------------- Device Type 0 Vendor: QUANTUM Product: P40S 940-40-94xx Revision level: 7.9 Defect Lists ------------ 10 entries (80 bytes) in primary (PLIST) table. Format (4) is: bytes from index [Cyl:Head:Off] Offset -1 marks whole track as bad. 120: 0: 5120| 120: 0: 5632| 140: 1: 14336| 141: 1: 17408 415: 0: 8192| 415: 0: 8704| 809: 2: 8192| 809: 2: 8704 810: 2: 10752| 810: 2: 11264| 0 entries (0 bytes) in grown (GLIST) table. Format (4) is: bytes from index [Cyl:Head:Off] Offset -1 marks whole track as bad. + sg_vpd --all /dev/sdc svpd_decode_all: fetching VPD page 0 failed: Illegal request sg_vpd failed: Illegal request + sg_vpd --all --hex /dev/sdc svpd_decode_all: fetching VPD page 0 failed: Illegal request sg_vpd failed: Illegal request + sdparm --page 0 --vendor=SEAGATE /dev/sdc MODE SENSE(10) cdb not supported, try again with '-6' option /dev/sdc: QUANTUM P40S 940-40-94xx 7.9 + sdparm --all /dev/sdc MODE SENSE(10) cdb not supported, try again with '-6' option /dev/sdc: QUANTUM P40S 940-40-94xx 7.9 + sdparm --all --six /dev/sdc MODE SENSE(6): Malformed SCSI command /dev/sdc: QUANTUM P40S 940-40-94xx 7.9 Read write error recovery mode page: AWRE 0 [cha: n, def: 0, sav: 0] ARRE 0 [cha: y, def: 0, sav: 0] TB 0 [cha: y, def: 0, sav: 0] RC 0 [cha: y, def: 0, sav: 0] EER 0 [cha: y, def: 0, sav: 0] PER 0 [cha: y, def: 0, sav: 0] DTE 0 [cha: y, def: 0, sav: 0] DCR 0 [cha: y, def: 0, sav: 0] RRC 8 [cha: y, def: 8, sav: 8] COR_S 11 [cha: y, def: 11, sav: 11] HOC 0 [cha: n, def: 0, sav: 0] DSOC 0 [cha: n, def: 0, sav: 0] LBPERE 0 [cha: n, def: 0, sav: 0] MWR 0 [cha: n, def: 0, sav: 0] Disconnect-reconnect (SPC + transports) mode page: BFR 0 [cha: y, def: 0, sav: 0] BER -1 [cha: y, def: -1, sav: -1] BIL 0 [cha: n, def: 0, sav: 0] DTL 0 [cha: n, def: 0, sav: 0] CTL 0 [cha: n, def: 0, sav: 0] MBS 0 [cha: n, def: 0, sav: 0] Format (SBC) mode page: TPZ 6 [cha: y, def: 6, sav: 6] ASPZ 1 [cha: n, def: 1, sav: 1] ATPZ 0 [cha: n, def: 0, sav: 0] ATPLU 0 [cha: n, def: 0, sav: 0] SPT 0 [cha: n, def: 0, sav: 0] DBPPS 512 [cha: n, def:512, sav:512] INTLV 1 [cha: n, def: 1, sav: 1] TSF 7 [cha: n, def: 7, sav: 7] CSF 15 [cha: n, def: 15, sav: 15] SSEC 1 [cha: n, def: 1, sav: 1] HSEC 0 [cha: n, def: 0, sav: 0] RMB 0 [cha: n, def: 0, sav: 0] SURF 0 [cha: n, def: 0, sav: 0] Rigid disk (SBC) mode page: NOC 834 [cha: n, def:834, sav:834] NOH 3 [cha: n, def: 3, sav: 3] SCWP 0 [cha: n, def: 0, sav: 0] SCRWC 590 [cha: n, def:590, sav:590] DSR 0 [cha: n, def: 0, sav: 0] LZC 0 [cha: n, def: 0, sav: 0] RPL 0 [cha: n, def: 0, sav: 0] ROTO 0 [cha: n, def: 0, sav: 0] + sg_modes --all --all /dev/sdc >>>>>> try again with a '-6' switch for a 6 byte MODE SENSE command Illegal request, Invalid opcode sg_modes failed: Illegal request, Invalid opcode QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] + sg_modes --all /dev/sdc >>>>>> try again with a '-6' switch for a 6 byte MODE SENSE command Illegal request, Invalid opcode sg_modes failed: Illegal request, Invalid opcode QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] + sg_modes -6 --all --all /dev/sdc invalid field in cdb (perhaps subpages not supported) sg_modes failed: Illegal request QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] + sg_modes -6 --all /dev/sdc QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] Mode parameter header from MODE SENSE(6): 00 73 00 00 08 Mode data length=116, medium type=0x00, WP=0, CAPPID=0, DpoFua=0, longlba=0 Block descriptor length=8 > Direct access device block descriptors: Density code=0x0 00 00 01 40 6d 00 00 02 00 >> Read-Write error recovery, page_control: current 00 81 06 00 08 0b 00 00 00 >> Disconnect-Reconnect, page_control: current 00 82 0a 00 ff 00 00 00 00 00 00 00 00 >> page_code: 0x37, page_control: current 00 b7 0e 03 04 01 10 00 00 00 00 00 00 00 00 00 00 >> page_code: 0x38, page_control: current 00 38 0e 5c 10 00 03 00 00 00 00 00 00 00 00 00 00 >> page_code: 0x39, page_control: current 00 b9 06 08 00 00 00 00 00 >> Format (obsolete), page_control: current 00 83 16 00 06 00 01 00 00 00 00 00 00 02 00 00 01 10 00 07 00 0f 80 00 00 00 >> Rigid disk geometry (obsolete), page_control: current 00 04 12 00 03 42 03 00 00 00 00 02 4e 00 00 00 00 10 00 00 00 00 + sg_modes --all --all --hex /dev/sdc >>>>>> try again with a '-6' switch for a 6 byte MODE SENSE command Illegal request, Invalid opcode sg_modes failed: Illegal request, Invalid opcode QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] + sg_modes --all --hex /dev/sdc >>>>>> try again with a '-6' switch for a 6 byte MODE SENSE command Illegal request, Invalid opcode sg_modes failed: Illegal request, Invalid opcode QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] + sg_modes -6 --all --all --hex /dev/sdc invalid field in cdb (perhaps subpages not supported) sg_modes failed: Illegal request QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] + sg_modes -6 --all --hex /dev/sdc QUANTUM P40S 940-40-94xx 7.9 peripheral_type: disk [0x0] Mode parameter header from MODE SENSE(6): 00 73 00 00 08 Mode data length=116, medium type=0x00, WP=0, CAPPID=0, DpoFua=0, longlba=0 Block descriptor length=8 > Direct access device block descriptors: Density code=0x0 00 00 01 40 6d 00 00 02 00 >> Read-Write error recovery [0x1], page_control: current 00 81 06 00 08 0b 00 00 00 >> Disconnect-Reconnect [0x2], page_control: current 00 82 0a 00 ff 00 00 00 00 00 00 00 00 >> page_code: 0x37, page_control: current 00 b7 0e 03 04 01 10 00 00 00 00 00 00 00 00 00 00 >> page_code: 0x38, page_control: current 00 38 0e 5c 10 00 03 00 00 00 00 00 00 00 00 00 00 >> page_code: 0x39, page_control: current 00 b9 06 08 00 00 00 00 00 >> Format (obsolete) [0x3], page_control: current 00 83 16 00 06 00 01 00 00 00 00 00 00 02 00 00 01 10 00 07 00 0f 80 00 00 00 >> Rigid disk geometry (obsolete) [0x4], page_control: current 00 04 12 00 03 42 03 00 00 00 00 02 4e 00 00 00 00 10 00 00 00 00 + sg_logs --all /dev/sdc log_sense: not supported sg_logs failed: Illegal request, Invalid opcode QUANTUM P40S 940-40-94xx 7.9 + sg_logs --all --hex /dev/sdc log_sense: not supported sg_logs failed: Illegal request, Invalid opcode