[SOLVED] Intel S3700 400GB, 300GB Usable

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

westdp

New Member
Nov 29, 2020
5
1
1
I just received a set of used Intel DC S3700 400GB (SSDSC2BA400G3) SSD's I purchased from eBay. They are low wear and everything about them appears authenticate, except capacity.

I spot checked two of them with a USB SATA adapter. Unexpectedly, they are reporting 300GB capacity to the OS, which doesn't match the 781422768 LBA listed on the drive.

Am I misunderstand something about the drives? Is there a tunable that needs to be adjusted? What am I missing?
 

westdp

New Member
Nov 29, 2020
5
1
1
It's a little bit older version of Fedora, 29 or something. Partitions are irrelevant. The capacity information came from kernel logs, `lsblk`, and `smartctl`.
 

westdp

New Member
Nov 29, 2020
5
1
1
Code:
[root@localhost-live ~]# lsblk -S /dev/sda; lsblk -t /dev/sda; lsblk /dev/sda;
NAME HCTL       TYPE VENDOR   MODEL                REV SERIAL             TRAN
sda  2:0:0:0    disk ATA      INTEL_SSDSC2BA400G3 0270 ****************** sata
NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE  RA WSAME
sda          0   4096      0    4096     512    0 bfq        64 128    0B
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0 279.4G  0 disk

Code:
[root@localhost-live ~]# smartctl -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.8.15-301.fc33.x86_64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 730 and DC S35x0/3610/3700 Series SSDs
Device Model:     INTEL SSDSC2BA400G3
Serial Number:    ******************
LU WWN Device Id: * ****** *********
Firmware Version: 5DV10270
User Capacity:    300,000,000,512 bytes [300 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Nov 29 18:21:08 2020 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (    0) seconds.
Offline data collection
capabilities:                    (0x79) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (   2) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       41502
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       87
170 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -       0
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
174 Unsafe_Shutdown_Count   0x0032   100   100   000    Old_age   Always       -       5
175 Power_Loss_Cap_Test     0x0033   100   100   010    Pre-fail  Always       -       691 (234 135)
183 SATA_Downshift_Count    0x0032   100   100   000    Old_age   Always       -       2
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
190 Temperature_Case        0x0022   081   074   000    Old_age   Always       -       19 (Min/Max 15/19)
192 Unsafe_Shutdown_Count   0x0032   100   100   000    Old_age   Always       -       5
194 Temperature_Internal    0x0022   100   100   000    Old_age   Always       -       30
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       14787
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       0
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -       50
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -       2489892
232 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -       0
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       0
234 Thermal_Throttle        0x0032   100   100   000    Old_age   Always       -       0/0
241 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       14787
242 Host_Reads_32MiB        0x0032   100   100   000    Old_age   Always       -       9642

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Code:
[ 1462.986396] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1462.986754] ata3.00: HPA detected: current 585937501, native 781422768
[ 1462.986862] ata3.00: ATA-9: INTEL SSDSC2BA400G3, 5DV10270, max UDMA/133
[ 1462.986987] ata3.00: 585937501 sectors, multi 1: LBA48 NCQ (depth 32)
[ 1462.987491] ata3.00: configured for UDMA/133
[ 1462.987872] scsi 2:0:0:0: Direct-Access     ATA      INTEL SSDSC2BA40 0270 PQ: 0 ANSI: 5
[ 1462.988582] ata3.00: Enabling discard_zeroes_data
[ 1462.988782] sd 2:0:0:0: [sda] 585937501 512-byte logical blocks: (300 GB/279 GiB)
[ 1462.988916] sd 2:0:0:0: [sda] 4096-byte physical blocks
[ 1462.989035] sd 2:0:0:0: [sda] Write Protect is off
[ 1462.989135] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1462.989164] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1462.989244] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 1462.999836] ata3.00: Enabling discard_zeroes_data
[ 1463.004033] ata3.00: Enabling discard_zeroes_data
[ 1463.004269] sd 2:0:0:0: [sda] Attached SCSI disk
 

itronin

Well-Known Member
Nov 24, 2018
1,240
799
113
Denver, Colorado
I wonder if the drive was over provisioned to 300GB.

You might want to take a look at the
Intel SSD Data Center Tool User Guide

This part was interesting to me:

Intel Solid-State Drive Data Center Tool User Guide - August 2019 - Page 42 - 2.2.2.4 Properties
  • xGB - Sets the devices maximum LBA such that the total capacity is the specified GB value. Value must be at least 1 and cannot exceed devices total native capacity.





 

westdp

New Member
Nov 29, 2020
5
1
1
I believe you are correct. After the last post, I noticed the following line.

Code:
[ 1462.986754] ata3.00: HPA detected: current 585937501, native 781422768