We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
750MB disks have a capacity of 751,921,152 bytes, or, 1,468,596 sectors
$ lsscsi [3:0:0:0] disk ATA Lexar SSD NQ100 035 /dev/sda [4:0:0:0] disk IOMEGA ZIP 750 78.a /dev/sdb $ sudo sg_inq -v /dev/sg1 inquiry cdb: [12 00 00 00 24 00] inquiry cdb: [12 00 00 00 7a 00] inquiry cdb: [12 01 00 00 fc 00] inquiry: Fixed format, current; Sense key: Illegal Request Additional sense: Invalid field in cdb standard INQUIRY: PQual=0 Device_type=0 RMB=1 LU_CONG=0 version=0x05 [SPC-3] [AERC=0] [TrmTsk=0] NormACA=1 HiSUP=1 Resp_data_format=2 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=122 (0x7a) Peripheral device type: disk Vendor identification: IOMEGA Product identification: ZIP 750 Product revision level: 78.a $ sudo sg_inq -vH /dev/sg1 inquiry cdb: [12 00 00 00 24 00] inquiry cdb: [12 00 00 00 7a 00] inquiry cdb: [12 01 00 00 fc 00] inquiry: Fixed format, current; Sense key: Illegal Request Additional sense: Invalid field in cdb 00 00 80 05 32 75 00 00 00 49 4f 4d 45 47 41 20 20 ...2u...IOMEGA 10 5a 49 50 20 37 35 30 20 20 20 20 20 20 20 20 20 ZIP 750 20 37 38 2e 61 30 38 2f 32 37 2f 30 32 00 00 00 00 78.a08/27/02.... 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 28 63 29 20 43 6f 70 79 72 69 67 68 74 20 49 4f (c) Copyright IO 70 4d 45 47 41 20 32 30 30 32 20 MEGA 2002 $ sudo sg_get_config -v /dev/sg1 inquiry cdb: [12 00 00 00 24 00] IOMEGA ZIP 750 78.a Peripheral device type: disk get configuration cdb: 46 00 00 00 00 00 00 20 00 00 get configuration: Fixed format, current; Sense key: Illegal Request Additional sense: Invalid command operation code Get Configuration command: Illegal request, Invalid opcode, type: sense key + asc,ascq aperez@dimension:~$ sudo sg_get_config -vi /dev/sg1 inquiry cdb: [12 00 00 00 24 00] IOMEGA ZIP 750 78.a Peripheral device type: disk get configuration cdb: 46 00 00 00 00 00 00 20 00 00 get configuration: Fixed format, current; Sense key: Illegal Request Additional sense: Invalid command operation code Get Configuration command: Illegal request, Invalid opcode, type: sense key + asc,ascq aperez@dimension:~$ sudo sg_opcodes /dev/sg1 IOMEGA ZIP 750 78.a Peripheral device type: disk Report supported operation codes: Illegal request, Invalid opcode aperez@dimension:~$ sudo sg_readcap /dev/sg1 Read Capacity results: Last LBA=0 (0x0), Number of logical blocks=1 Logical block length=0 bytes Hence: Device size: 0 bytes, 0.0 MiB, 0.00 GB imension:~$ sudo sg_readcap /dev/sg1 read capacity(10): Fixed format, current; Sense key: Unit Attention Additional sense: Not ready to ready change, medium may have changed READ CAPACITY (10) failed: Unit attention sg_readcap failed: Unit attention aperez@dimension:~$ sudo sg_readcap /dev/sg1 Read Capacity results: Last LBA=0 (0x0), Number of logical blocks=1 Logical block length=0 bytes Hence: Device size: 0 bytes, 0.0 MiB, 0.00 GB $ sudo sg_modes -av /dev/sg1 inquiry cdb: [12 00 00 00 24 00] IOMEGA ZIP 750 78.a peripheral_type: disk [0x0] mode sense(10) cdb: [5a 00 3f 00 00 00 00 10 00 00] Mode parameter header from MODE SENSE(10): Mode data length=66, medium type=0x00, WP=0, DpoFua=1, longlba=0 Block descriptor length=0 >> Read-Write error recovery, page_control: current 00 01 06 c8 64 00 00 00 00 >> Flexible disk (obsolete), page_control: current 00 05 1e 80 00 40 20 02 00 02 ce 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 0e 5c 00 00 >> Caching, page_control: current 00 08 0a 04 00 ff ff 00 00 ff ff ff ff >> page_code: 0x2f, page_control: current 00 2f 04 5c 01 0f 0f $ sudo sg_vpd -av /dev/sg1 >>> struct opts_t differs in size from sg_vpd.c [52 != 56] inquiry cdb: [12 01 00 00 fc 00] inquiry: Fixed format, current; Sense key: Illegal Request Additional sense: Invalid field in cdb svpd_decode_all: fetching VPD page 0 failed: Illegal request, type: sense key, apart from Invalid opcode
The text was updated successfully, but these errors were encountered:
No branches or pull requests
750MB disks have a capacity of 751,921,152 bytes, or, 1,468,596 sectors
The text was updated successfully, but these errors were encountered: