cancel
Showing results for 
Search instead for 
Did you mean: 

Intel 320 SSD on Linux, write wear indicator, smartctl

idata
Esteemed Contributor III

Hi All,

I am burning in a new Intel 320 SSD on Linux for use with a database, and the write wearing is something I would like to verify and make sure it fits with our write capacity requirements. I am trying to grok the smartctl output here below, but don't know what to look at that would tell me how many writes the MLC has taken and how much is left. Given the docs on the SMART output for the 320 I suspect its in the unknown attributes but not sure.

Regards,

Josh

320 Series SSDSA2CW300G3 MLC Solid State Drive

# smartctl -a /dev/sde

smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce AllenHome page is http://smartmontools.sourceforge.net/ http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===

Device Model: INTEL SSDSA2CW300G3Serial Number: CVPR111002XL300EGNFirmware Version: 4PC10302User Capacity: 300,069,052,416 bytesDevice is: Not in smartctl database [for details use: -P showall]ATA Version is: 8ATA Standard is: ATA-8-ACS revision 4Local Time is: Wed Apr 13 17:41:13 2011 UTCSMART 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 Offlinedata collection: ( 1) seconds.Offline data collectioncapabilities: (0x71) SMART execute Offline immediate. No Auto Offline data collection support. Suspend Offline collection upon new command. No 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 routinerecommended polling time: ( 1) minutes.Extended self-test routinerecommended polling time: ( 1) minutes.Conveyance self-test routinerecommended polling time: ( 1) minutes.SCT capabilities: (0x003d) SCT Status supported. SCT Feature Control supported. SCT Data Table supported.

SMART Attributes Data Structure revision number: 5

Vendor Specific SMART Attributes with Thresholds:ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 3 Spin_Up_Time 0x0020 100 100 000 Old_age Offline - 0 4 Start_Stop_Count 0x0030 100 100 000 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 117 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 2170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0184 Unknown_Attribute 0x0033 100 100 090 Pre-fail Always - 0187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 2225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16048226 Load-in_Time 0x0032 100 100 000 Old_age Always - 36227 Torq-amp_Count 0x0032 100 100 000 Old_age Always - 48228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 269162232 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0233 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0241 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 16048242 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 18807
10 REPLIES 10

WFisc1
New Contributor

Thanks for your clarification koitsu! I'm currently on a trip, not having access to my 320 Series 160GB SSD - so I thought that 65535 must be substracted, not knowing that after 30 seconds of I/O the value goes to 0.

I'll try smartmontools 5.41 once I'm back.

Thanks and best regards,

Werner

WFisc1
New Contributor

I have now compiled smartmontools 5.41 and the attributes are now labelled correctly:

user@ubuntu-10-10:~$ sudo /usr/local/sbin/smartctl -A /dev/sdb

smartctl 5.41 2011-06-09 r3365 [x86_64-linux-2.6.35-28-generic] (local build)Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===

SMART Attributes Data Structure revision number: 5Vendor Specific SMART Attributes with Thresholds:ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 3 Spin_Up_Time 0x0020 100 100 000 Old_age Offline - 0 4 Start_Stop_Count 0x0030 100 100 000 Old_age Offline - 0 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 4 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 16170 Reserve_Block_Count 0x0033 100 100 010 Pre-fail Always - 0171 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0192 Unsafe_Shutdown_Count 0x0032 100 100 000 Old_age Always - 0225 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 9587226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 230227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 0228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 2832232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0241 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 9587242 Host_Reads_32MiB 0x0032 100 100 000 Old_age Always - 5755

Thanks for your help!

idata
Esteemed Contributor III

Hi~

I am not able to get temperature reading out from the smartctl. is there any way i can get them in linux?

as for normal HDD i uses:-

smartctl -a /dev/sda | grep -i Temperature

the above command works for normal disk. and not for SSD.

Please advice.

FYI, using smartmontools version5.37 and I am new to Linux, not sure how to update to 5.41 yet. Looking for rpm file.

Thanks.

Regards,

XX Ong

WFisc1
New Contributor

Hi XX Ong,

not every HDD and SSD must have a temperature sensor inside. I think nearly all HDDs have temperature sensors. Intel 320 Series SSDs don't seem to have a temperature sensor, at least they do not report temperature values via SMART.

The example below shows a SSD with a temperature sensor - in this case a Samsung 470 Series SSD:

smartctl 5.41 2011-06-09 r3365 [x86_64-linux-2.6.38.8-32.fc15.x86_64] (local build)

Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===

Model Family: Samsung based SSDsDevice Model: SAMSUNG 470 Series SSD

[...]

ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE

9 Power_On_Hours 0x0032 099 099 --- Old_age Always - 2 12 Power_Cycle_Count 0x0032 099 099 --- Old_age Always - 8177 Wear_Leveling_Count 0x0013 100 100 --- Pre-fail Always - 0178 Used_Rsvd_Blk_Cnt_Chip 0x0013 075 075 --- Pre-fail Always - 490190 Airflow_Temperature_Cel 0x0022 072 071 --- Old_age Always - 28235 Unknown_Attribute 0x0012 099 099 --- Old_age Always - 6

Regards,

Werner

idata
Esteemed Contributor III

Thanks Werner,

Thanks for the information. It helps alot.

Regards,

XX Ong