Dynamic_Gravity's Home Lab

Could anyone help me troubleshoot some hard drives?

2 Likes

What’s up?

Grab a hammer and follow me.

4 Likes

HDD report a size of 0 bytes. SMART data says 2 TB.

Trying to figure out what’s wrong.

Rang a long SMART test overnight, about to view the results.

The only thing I can find that’s different is that the current drives which work have a sector size of 512 bytes, and the new ones have 520 bytes.

New drives are B,C,D and the old driver are E through M.

New Drive (/dev/sdb)
[root@sol ~]# smartctl -a /dev/sdb
smartctl 7.0 2019-03-31 r4903 [x86_64-linux-5.0.17-300.fc30.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              DKS2C-H2R0SS
Revision:             5C10
Compliance:           SPC-3
User Capacity:        1,988,629,626,880 bytes [1.98 TB]
Logical block size:   520 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c50033fcb8db
Serial number:        9WM4WA870000C13635DK
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Jun  1 09:19:23 2019 EDT
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

Current Drive Temperature:     31 C
Drive Trip Temperature:        68 C

Manufactured in week 14 of year 2011
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  63
Specified load-unload count over device lifetime:  300000
Accumulated load-unload cycles:  63
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 372956513
  Blocks received from initiator = 26624
  Blocks read from cache and sent to initiator = 0
  Number of read and write commands whose size <= segment size = 68
  Number of read and write commands whose size > segment size = 5423

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 57788.12
  number of minutes until next internal SMART test = 43

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:         52        0         0        52         52          0.005           0
write:         0        0         0         0          0          0.044           0
verify:  2429595        0         0   2429595    2429595        193.933           0

Non-medium error count:        0


[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Completed                   -   57783                 - [-   -    -]
# 2  Background short  Completed                   -   57778                 - [-   -    -]

Long (extended) Self-test duration: 14 seconds [0.2 minutes]
Old Drive (/dev/sdm)
[root@sol ~]# smartctl -a /dev/sdm
smartctl 7.0 2019-03-31 r4903 [x86_64-linux-5.0.17-300.fc30.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST32000SSSUN2.0T
Revision:             0313
Compliance:           SPC-3
User Capacity:        2,000,398,934,016 bytes [2.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c500103c591b
Serial number:        001007L0F321        9WM0F321
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Jun  1 09:26:57 2019 EDT
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

Current Drive Temperature:     32 C
Drive Trip Temperature:        68 C

Manufactured in week 07 of year 2010
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  56
Specified load-unload count over device lifetime:  300000
Accumulated load-unload cycles:  56
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 2604230607
  Blocks received from initiator = 2443700380
  Blocks read from cache and sent to initiator = 421293655
  Number of read and write commands whose size <= segment size = 35918130
  Number of read and write commands whose size > segment size = 1738

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 1850.53
  number of minutes until next internal SMART test = 6

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:   127702790        0         0  127702790   127702790       1333.366           0
write:         0        0         0         0          0       1267.809           0

Non-medium error count:     3897

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Completed                   -    1845                 - [-   -    -]
# 2  Background short  Completed                   -    1550                 - [-   -    -]
# 3  Background short  Completed                   -    1382                 - [-   -    -]
# 4  Background short  Completed                   -    1215                 - [-   -    -]
# 5  Background long   Completed                   -    1123                 - [-   -    -]
# 6  Background short  Completed                   -    1046                 - [-   -    -]
# 7  Background short  Completed                   -     890                 - [-   -    -]
# 8  Background short  Completed                   -     830                 - [-   -    -]

Long (extended) Self-test duration: 18500 seconds [308.3 minutes]

Does it have data on it or you just want to format it?

In Windows or Linux?

Just want to format it and add to a zpool.

Fedora 30.

Trouble is the drives don’t show up in fdisk -l but they do in lsblk -f but with the zero size.

Uhhh, the “new” drive has 6.5 years of power on time. Are you sure it’s not just a bad drive? (where’d you get them?) I’m assuming these are used enterprise ebay picks?

Have you tried this guide:

4 Likes

They may as well could be, they are SAS drives though.

What’s your hardware setup look like?

Are they in a server with a backplane? (SAS will not work properly on a SATA backplane, but will work fine direct attached via cable)


If the wendell guide doesn’t work, you may be facing the LBA 0 error that’s common on Seagate disks.

That’ll require specialized hardware to fix, but you can do it. (you need to connect to the disks onboard serial console and reconfigure the controller)

Here’s one with prime:

This is the server I am using.

Also, I’m running the format on the drives right now.

1 Like

Sweet. Let me know how it turns out.

Backplane: BPN-SAS-826A I-Path Direct Attached Backplane

It’s SAS, so you’re all good.


How would you feel about moving this into the public area? I think others would benefit from it.

2 Likes

Sure thing. I’ll go ahead and do that now.

2 Likes

@SgtAwesomesauce @oO.o

Might take a little while xD

Watch 'em spin

3 Likes

Sweet dude!

The fact that it’s actually doing working indicates this might work.

1 Like

FYI for those on Fedora, the sg_format tool is provided by sg3_utils package.

3 Likes

Lol I’m optimistic. Yeah these drives are on average 6.6 years old. But judging by the SMART data they still have some life left in them.

Furthermore, I only paid $75 for 3 of them,

1 Like

Damn, that’s a steal.They better be raid5’d tho.

1 Like

RAIDZ1’ed

1 Like

Same thing

Damn, I pay ~140 for a single 8tb lately.

75 for 6tb isn’t bad.

2 Likes

Granted mine were only 2TB (each), but it was dirt cheap.

Yeah, my system only came with 9 drives, so I wanted to fill up the rest of the space so I could have some warm spares.

1 Like