Recently I got hands-on 8x 1.2TB hard drives from HGST (HUC101212CSS600), they were in 520 Logical block sizes, and I have formatted them into 512 sectors but I cannot create any of the pools out of them because whenever I try to create a pool it `Error: Input/output error during write on /dev/sd*". I have already gone over the old archived topic, but looks like I don’t have any luck with it. (Also I am super new to TrueNas and it basics)
$ sg_format -v /dev/sdx
....
HITACHI DKR5E-J1R2SS GCGC peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: L0G78JRG
LU name: 5000cca0720d3a9c
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=2344225968 [0x8bba0cb0]
Block size=512 [0x200]
read capacity(10) cdb: [25 00 00 00 00 00 00 00 00 00]
Read Capacity (10) results:
Number of logical blocks=2344225968
Logical block size=512 bytes
As I understand Protect=1
should be 0, but I have went over and over again with hard drive reformatting that I am not sure if it even does anything to it. I did not lost any connections while I was formating it so I am sure I gone 100% on it.
$ smartctl -a /dev/sdx
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.1.74-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: HITACHI
Product: DKR5E-J1R2SS
Revision: GCGC
Compliance: SPC-4
User Capacity: 1,200,243,695,616 bytes [1.20 TB]
Logical block size: 512 bytes
Rotation Rate: 10020 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000cca0720d3a9c
Serial number: L0G78JRG
Device type: disk
Transport protocol: SAS (SPL-4)
Local Time is: Mon Jun 10 18:11:30 2024 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature: 36 C
Drive Trip Temperature: 85 C
Accumulated power on time, hours:minutes 56907:18
Manufactured in week 10 of year 2015
Specified cycle count over device lifetime: 50000
Accumulated start-stop cycles: 70
Specified load-unload count over device lifetime: 600000
Accumulated load-unload cycles: 2425
Elements in grown defect list: 0
Vendor (Seagate Cache) information
Blocks sent to initiator = 4555612704735232
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 0 0 0 1895 1219.133 0
write: 0 0 0 0 534 6.048 0
verify: 0 0 0 0 2549 0.000 0
Non-medium error count: 0
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
# 1 Background short Completed - 56862 - [- - -]
# 2 Background short Completed - 56862 - [- - -]
# 3 Background short Completed - 56812 - [- - -]
# 4 Background long Completed - 56802 - [- - -]
# 5 Default Self test in progress ... - NOW - [- - -]
# 6 Default Self test in progress ... - NOW - [- - -]
# 7 Default Self test in progress ... - NOW - [- - -]
# 8 Default Self test in progress ... - NOW - [- - -]
# 9 Default Self test in progress ... - NOW - [- - -]
#10 Default Self test in progress ... - NOW - [- - -]
#11 Default Self test in progress ... - NOW - [- - -]
#12 Default Self test in progress ... - NOW - [- - -]
#13 Default Self test in progress ... - NOW - [- - -]
#14 Default Self test in progress ... - NOW - [- - -]
#15 Default Self test in progress ... - NOW - [- - -]
#16 Default Self test in progress ... - NOW - [- - -]
#17 Default Self test in progress ... - NOW - [- - -]
#18 Default Self test in progress ... - NOW - [- - -]
#19 Default Self test in progress ... - NOW - [- - -]
#20 Default Self test in progress ... - NOW - [- - -]
Long (extended) Self-test duration: 9768 seconds [162.8 minutes]
The other thing that the author mentions in the article is that there is an option to do custom firmware on the HDD via HDDGuru website. I got the HUGO working, but I don’t clearly understand how to run it. In addition, I have seen my drive on HDDGuru but I have had no luck how correctly getting the file to HDD, so it would be helpful to give me some guides on how to reformat those drives.
Thanks