SSD: Disk size is 0 sectors and other issues...

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

voodooFX

Active Member
Jan 26, 2014
247
52
28
I have some HGST Ultrastar SSD800MM SAS3 Enterprise SSD with EMC firmware
Code:
/dev/sg4  0 0 3 0  0  /dev/sdc  HITACHI   HUSMM808 CLAR800  C210

Here is what I see with gdisk
Code:
# gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.6
Problem reading disk in BasicMBRData::ReadMBRData()!
Warning! Read error 22; strange behavior now likely!
Warning! Read error 22; strange behavior now likely!
Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present

This is the output of the verify
Code:
Command (? for help): v
Problem: Disk is too small to hold all the data!
(Disk size is 0 sectors, needs to be 0 sectors.)
The 'e' option on the experts' menu may fix this problem.
Problem: GPT claims the disk is larger than it is! (Claimed last usable
sector is 18446744073709551582, but backup header is at
18446744073709551615 and disk size is 0 sectors.
The 'e' option on the experts' menu will probably fix this problem
Identified 2 problems!

Of course the 'e' option does not help at all.

Basically I can't do anything because the disk has 0 sectors... o_O
Any idea how to fix this?
I have asked to Western Digital Support if they can provide me an original HGST firmware but I have zero faith that they will...
 

voodooFX

Active Member
Jan 26, 2014
247
52
28
ah SMART looks fine

Code:
# smartctl /dev/sdc -a
smartctl 6.2 2017-02-27 r4394 [x86_64-linux-3.10.0-693.33.1.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUSMM808 CLAR800
Revision:             C210
User Capacity:        799,999,948,800 bytes [799 GB]
Logical block size:   520 bytes
Physical block size:  4160 bytes
Lowest aligned LBA:   0
LU is resource provisioned, LBPRZ=1
Rotation Rate:        Solid State Device
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca02b377150
Serial number:        2MVZH7AA
Device type:          disk
Transport protocol:   SAS
Local Time is:        Tue Jun 18 16:24:17 2019 CEST
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

SS Media used endurance indicator: 0%
Current Drive Temperature:     25 C
Drive Trip Temperature:        70 C

Manufactured in week 03 of year 2015
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
defect list format 6 unknown
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 55078628324540416

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     354757.797           0
write:         0        0         0         0          0      42658.143           0
verify:        0        0         0         0          0      62018.177           0

Non-medium error count:        0

No self-tests have been logged