Hi folks, I bought 6x HGST He8 8TB SAS drives (not branded) model HUH728080AL5201 on eBay and discovered they were formatted with T10 Type 2 protection (essentially 512+8byte 520byte sectors) and thus can’t use them with TrueNAS Scale, attempting to create pool results in the “Data Integrity Protection” error.
I’ve been attempting to reformat them with sg_format and WD’s Hugo tool in Debian and (Hugo in Windows as well) but receives errors on both, please offer your wisdom and advice!
Hardware:
Asus X570 mobo + 5950X cpu + 128GB RAM
Dell H310 SAS controller, flashed to IT mode (LSI 9211-8i BIOS)
6x HGST He8 Drives
Followed these guides:
This thread
Troubleshooting disk format warnings in TrueNAS SCALE
Attempts using sg_format with and without the --six flag:
[CODE]root@debian:/# sg_format -v -F --size=4096 --six /dev/sda
HGST HUH728080AL5201 NE00 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: R5G6GTHV
LU name: 5000cca2620bc6fc
mode sense(6) cdb: [1a 00 01 00 fc 00]
Mode Sense (block descriptor) data, prior to changes:
block count maxed out, set <>
mode sense(10) cdb: [5a 10 01 00 00 00 00 00 fc 00]
<<< longlba flag set (64 bit lba) >>>
Number of blocks=15362376264 [0x393ab4248]
Block size=512 [0x200]
mode select(10) cdb: [55 11 00 00 00 00 00 00 24 00]
A FORMAT UNIT will commence in 15 seconds
ALL data on /dev/sda will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 10 seconds
ALL data on /dev/sda will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 5 seconds
ALL data on /dev/sda will be DESTROYED
Press control-C to abort
Format unit cdb: [04 18 00 00 00 00]
Format unit:
Descriptor format, current; Sense key: Data Protect
Additional sense: Access denied - no access rights
Descriptor type: Information: Valid=0 (-> vendor specific) 0x0000000000000000
Descriptor type: Command specific: 0x0000000000000000
Descriptor type: Sense key specific: Sense_key: 0x7 unexpected
00 00 00 00 00 00
Descriptor type: Field replaceable unit code: 0x0
Descriptor type: Block commands: Incorrect Length Indicator (ILI) clear
Descriptor type: Vendor specific [0x80]
f8 27
DesFormat unit command: Data protect, type: sense key; write protected media?
FORMAT UNIT failed
[/CODE]
Attempts with Hugo:
[CODE]Starting HUGO CLI…
(hugo) show
Manuf. Model Serial Interface Capacity Type Firmware
-
HGST HUH728080AL5201 R5G6GTHV SAS 7865 GB HDD NE00
-
HGST HUH728080AL5201 R5G676BV SAS 7865 GB HDD NE00
-
HGST HUH728080AL5201 R5G595EV SAS 7865 GB HDD NE00
-
HGST HUH728080AL5201 R5G66LLV SAS 7865 GB HDD NE00
-
HGST HUH728080AL5201 R5G6E1JV SAS 7865 GB HDD NE00
-
HGST HUH728080AL5201 R5G5EJBV SAS 7865 GB HDD NE00
-
SSD 220329256RM017 SATA 256 GB SSD SBFM61.5
(hugo) format -s R5G6GTHV --danger-zone --simple-progress -b 4096 -p 0
Format device on 1 Device(s)…
Failed: Format command Failed on device R5G6GTHV.
Device will not be formatted.
[/CODE]