so in all i bought 24x of these, 8x then 8x then 8x (over about 6 weeks). All are awesome (all are 0-1% used writeE , 0 sas errors).
however 2x (of the last batch i got) i noticed were acting weird. I was trying to run some benchmarks on an extra adaptec 71685 card i have (just to see that cards speeds), but 2x of the 16x i had attached were showing up (in maxview on windows) with a yellow ! and were unusable (maxview info on the drives show unknown sector size).
(jump to bottom for the answer/fix)
Window also would not see the drives at all. so i moved those 2x, along with some others over to a ubuntu 18 live usb boot machine (with a LSI HBA) , and all showed up in the gui disks app, but the same 2x showed up as un-usuable (or something simlar, also fdisk would not list them).
smartCTL -a showed their data but showed sector size as 520b. same with sg_info (or sginfo).
so it was clear i needed to chnage the sector size to 512b. ubuntu 18 live, comes preinstalled with the latest sg3-utils pkg (a tool set for dealing with SCSI or SAS devices).
in google searches (which led me to some posts here on STH ofcourse!) ppl were using this command to change HDDs and SSDs to 512b (often from 520b):
sg_format -v --format --size=512 /dev/daXX (or /dev/sdXX)
or if that gave errors then:
sg_format -v --format --size=512 --six -v /dev/daXX (or /dev/sdXX)
however ubuntu 18 live kept giving me some error on sg_format like:
sg_format: symbol lookup error: sg_format: undefined symbol: sg_memalign
(however this is an issue specific to ubuntu 18 live, or the latest sg3-utils, as even when i tried the 1st command on full accessable 512b disks, it gave that same error.. fyi i was using /dev/sg5 ect on ubuntu18).
i then figured let me try them on my FreeNas 11.2 machine (also w LSI HBA), as i know FN is good with weird disks and has a full suite of utils, stock. first i just tried using the FN gui to wipe the disk, but it ofcouse gave me this error (related to 520b sector and not being 512b):
Disk wipe job failed: Command '('gpart', 'create', '-s', 'gpt', '/dev/da18')' returned non-zero exit status 1.]
or
Disk wipe job failed: Command '('dd', 'if=/dev/zero', 'of=/dev/da18', 'bs=1m', 'count=32')' returned non-zero exit status
FN reported the same 520b with smartctl -a and sginfo,
but in FN this command did work! (and now the 2x disks are full accessible/working on all platforms!)
sg_format -v --format --size=512 --six -v /dev/daXX
(note this command on FN failed: sg_format -v --format --size=512 /dev/daXX )
I was going to try ubuntu 16 live, b4 trying on my FN box (which i think would have worked too btw).
FWIW, one of these 2x 520b disks from this seller did have 3% WE used up, the other had 0%
SGformat command working, and then below that:
before and after smartctl / sginfo data:
Code:
root@freenas:~ # sg_format -v --format --size=512 --six /dev/da18
HGST HSCP0480S5xnNMRI 3P04 peripheral_type: disk [0x0]
PROTECT=1
<< supports protection information>>
Unit serial number: 0QV4VHRA
LU name: 5000cca04e08d3f4
mode sense (6) cdb: 1a 00 01 00 fc 00
Mode Sense (block descriptor) data, prior to changes:
Number of blocks=976773168 [0x3a386030]
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 /dev/da18 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 10 seconds
ALL data on /dev/da18 will be DESTROYED
Press control-C to abort
A FORMAT UNIT will commence in 5 seconds
ALL data on /dev/da18 will be DESTROYED
Press control-C to abort
format unit cdb: 04 18 00 00 00 00
Format unit has started
FORMAT UNIT Complete
Code:
before:
INQUIRY response (cmd: 0x12)
----------------------------
Device Type 0
Vendor: HGST
Product: HSCP0480S5xnNMRI
Revision level: 3P04
Serial Number ' 0QV4VHRA'
Read-Write Error Recovery mode page (0x1)
-----------------------------------------
AWRE 1
ARRE 1
TB 0
RC 0
EER 0
PER 0
DTE 0
DCR 0
Read Retry Count 1
Correction Span 0
Head Offset Count 0
Data Strobe Offset Count 0
Write Retry Count 0
Recovery Time Limit (ms) 0
Disconnect-Reconnect mode page (0x2)
------------------------------------
Buffer full ratio 0
Buffer empty ratio 0
Bus Inactivity Limit (SAS: 100us) 0
Disconnect Time Limit 0
Connect Time Limit (SAS: 100us) 0
Maximum Burst Size 150
EMDP 0
Fair Arbitration (fcp:faa,fab,fac) 0
DIMM 0
DTDC 0
First Burst Size 0
Format Device mode page (0x3)
-----------------------------
Tracks per Zone 0
Alternate sectors per zone 0
Alternate tracks per zone 0
Alternate tracks per lu 0
Sectors per track 0
Data bytes per physical sector 520
Interleave 0
Track skew factor 0
Cylinder skew factor 0
Supports Soft Sectoring 0
Supports Hard Sectoring 1
Removable Medium 0
Surface 0
Rigid Disk Geometry mode page (0x4)
-----------------------------------
Number of cylinders 0
Number of heads 0
Starting cyl. write precomp 0
Starting cyl. reduced current 0
Device step rate 0
Landing Zone Cylinder 0
RPL 0
Rotational Offset 0
Rotational Rate 1
Verify Error Recovery mode page (0x7)
-------------------------------------
EER 0
PER 1
DTE 0
DCR 0
Verify Retry Count 1
Verify Correction Span (bits) 0
Verify Recovery Time Limit (ms) 0
Caching mode page (0x8)
-----------------------
Initiator Control 0
ABPF 0
CAP 0
DISC 0
SIZE 0
Write Cache Enabled 0
MF 0
Read Cache Disabled 0
Demand Read Retention Priority 0
Demand Write Retention Priority 0
Disable Pre-fetch Transfer Length 65535
Minimum Pre-fetch 0
Maximum Pre-fetch 65535
Maximum Pre-fetch Ceiling 65535
FSW 0
LBCSS 0
DRA 0
NV_DIS 0
Number of Cache Segments 0
Cache Segment size 0
Non-Cache Segment size 0
Control mode page (0xa)
-----------------------
TST 0
TMF_ONLY 0
D_SENSE 0
GLTSD 0
RLEC 0
Queue Algorithm Modifier 1
QErr 0
DQue [obsolete] 0
TAS 0
RAC 0
UA_INTLCK_CTRL 0
SWP 0
RAERP [obs.] 0
UAAERP [obs.] 0
EAERP [obs.] 0
ATO 0
TAS 0
AUTOLOAD MODE 0
Ready AER Holdoff Period [obs.] 0
Busy Timeout Period 0
Extended self-test completion time 3468
Notch and Partition mode page (0xc)
-----------------------------------
Notched Drive 1
Logical or Physical Notch 0
Max # of notches 0
Active Notch 0
Starting Boundary 0x0
Ending Boundary 0x0
Pages Notched 00000000 00000000
SAS logical unit mode page (0x18)
----------------------------------------------------
Transport Layer Retries 0
SAS SSP port control mode page (0x19)
-------------------------------------
Ready LED meaning 0
I_T Nexus Loss time 2000
Initiator response time-out 5000
Power Condition mode page (0x1a)
--------------------------------
Idle 0
Standby 0
Idle Condition counter (100ms) 0
Standby Condition counter (100ms) 0
Informational Exceptions mode page (0x1c)
-----------------------------------------
PERF 0
EBF 0
EWASC 1
DEXCPT 0
TEST 0
EBACKERR 0
LOGERR 1
MRIE 4
Interval Timer 600
Report Count 0
mode page: 0x00 [Vendor (non-page format)]
---------------
0x00 0x80
0x01 0x0e
0x02 0x00
0x03 0x00
0x04 0x00
0x05 0x00
0x06 0x00
0x07 0x64
0x08 0x00
0x09 0x00
0x0a 0x00
0x0b 0x00
0x0c 0x16
0x0d 0x14
0x0e 0x00
0x0f 0x04
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: HGST
Product: HSCP0480S5xnNMRI
Revision: 3P04
Compliance: SPC-4
User Capacity: 507,922,047,360 bytes [507 GB]
Logical block size: 520 bytes
Physical block size: 4160 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Logical Unit id: 0x5000cca04e08d3f4
Serial number: 0QV4VHRA
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Sun Mar 17 20:35:07 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Percentage used endurance indicator: 3%
Current Drive Temperature: 28 C
Drive Trip Temperature: 70 C
Manufactured in week 43 of year 2014
Specified cycle count over device lifetime: 0
Accumulated start-stop cycles: 0
Specified load-unload count over device lifetime: 0
Accumulated load-unload cycles: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 182203771131002880
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 0 325959.852 0
write: 0 0 0 0 0 264797.169 0
verify: 0 0 0 0 0 46008.069 0
Non-medium error count: 0
No self-tests have been logged
after:
oot@freenas:~ # smartctl -a /dev/da18
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: HGST
Product: HSCP0480S5xnNMRI
Revision: 3P04
Compliance: SPC-4
User Capacity: 480,999,997,440 bytes [480 GB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Logical Unit id: 0x5000cca04e08cfa8
Serial number: 0QV4V6VA
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Sun Mar 17 15:44:52 2019 CDT