Today I bought HP 3PAR/SanDisk SAS 1.92TB SSD with 520b sector size. I only have HP Smart Array controllers, so I set my P222 into HBA mode. At first I was getting this:
C:\sg3>sg_format --format --size=512 -v pd1
SanDisk DOPE1920S5xnNMRI 3P01 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: xxx
LU name: 500117310013ac9c
mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=3750748848 [0xdf8fe2b0]
Block size=520 [0x208]
mode select (10) cdb: 55 11 00 00 00 00 00 00 1a 00
mode select (10):
Fixed format, current; Sense key: Illegal Request
Additional sense: Parameter list length error
Sense Key Specific: Error in Data parameters: byte 0
MODE SELECT command: Illegal request sense key, apart from Invalid opcode
Which didn't look good. However, after looking at command line options a bit:
--six|-6 use 6 byte MODE SENSE/SELECT to probe disk
(def: use 10 byte MODE SENSE/SELECT)
C:\sg3>sg_format --format --size=512 --six -v pd1
SanDisk DOPE1920S5xnNMRI 3P01 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: xxx
LU name: 500117310013ac9c
mode sense (6) cdb: 1a 00 01 00 fc 00
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=3750748848 [0xdf8fe2b0]
Block size=520 [0x208]
mode select (6) cdb: 15 11 00 00 18 00
A FORMAT UNIT will commence in 15 seconds
ALL data on pd1 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 10 seconds
ALL data on pd1 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 5 seconds
ALL data on pd1 will be DESTROYED
Press control-C to abort
format unit cdb: 04 18 00 00 00 00
Format unit has started
Format in progress, 39.08% done
Format in progress, 81.75% done
FORMAT UNIT Complete
So... I now have nice 1.92TB for oh so cheap.
Anyway:
1. It's possible to reformat drives with recent HP SmartArray in HBA mode.
2. There's this SIX option to use in case drive cannot be formatted with default 10 byte MODE SENSE/SELECT
C:\sg3>sg_format --format --size=512 -v pd1
SanDisk DOPE1920S5xnNMRI 3P01 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: xxx
LU name: 500117310013ac9c
mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=3750748848 [0xdf8fe2b0]
Block size=520 [0x208]
mode select (10) cdb: 55 11 00 00 00 00 00 00 1a 00
mode select (10):
Fixed format, current; Sense key: Illegal Request
Additional sense: Parameter list length error
Sense Key Specific: Error in Data parameters: byte 0
MODE SELECT command: Illegal request sense key, apart from Invalid opcode
Which didn't look good. However, after looking at command line options a bit:
--six|-6 use 6 byte MODE SENSE/SELECT to probe disk
(def: use 10 byte MODE SENSE/SELECT)
C:\sg3>sg_format --format --size=512 --six -v pd1
SanDisk DOPE1920S5xnNMRI 3P01 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: xxx
LU name: 500117310013ac9c
mode sense (6) cdb: 1a 00 01 00 fc 00
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=3750748848 [0xdf8fe2b0]
Block size=520 [0x208]
mode select (6) cdb: 15 11 00 00 18 00
A FORMAT UNIT will commence in 15 seconds
ALL data on pd1 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 10 seconds
ALL data on pd1 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 5 seconds
ALL data on pd1 will be DESTROYED
Press control-C to abort
format unit cdb: 04 18 00 00 00 00
Format unit has started
Format in progress, 39.08% done
Format in progress, 81.75% done
FORMAT UNIT Complete
So... I now have nice 1.92TB for oh so cheap.
Anyway:
1. It's possible to reformat drives with recent HP SmartArray in HBA mode.
2. There's this SIX option to use in case drive cannot be formatted with default 10 byte MODE SENSE/SELECT