|
From: Artem B. <ap...@ng...> - 2012-03-20 07:12:25
|
For Intel 520: smartctl -i -l devstat,0 -l devstat /dev/sdc smartctl 5.43 2012-02-27 r3515M [x86_64-linux-2.6.32-37-generic] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: INTEL SSDSC2CW120A3 Serial Number: CVCV152602GB120BGN LU WWN Device Id: 5 001517 bb27be592 Firmware Version: 400i User Capacity: 120,034,123,776 bytes [120 GB] Sector Size: 512 bytes logical/physical Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ACS-2 revision 3 Local Time is: Tue Mar 20 13:54:27 2012 NOVT SMART support is: Available - device has SMART capability. SMART support is: Enabled Device Statistics (GP Log 0x04) supported pages Page Description 0 List of supported log pages 1 General Statistics 4 General Errors Statistics 6 Transport Statistics 7 Solid State Device Statistics Device Statistics (GP Log 0x04) Page Offset Size Value Description 1 ===== = = == General Statistics (rev 2) == 1 0x008 4 8 Lifetime Power-On Resets 1 0x010 4 9 Power-on Hours 1 0x018 6 387752868 Logical Sectors Written 1 0x028 6 361238231 Logical Sectors Read 4 ===== = = == General Errors Statistics (rev 1) == 4 0x008 4 0 Number of Reported Uncorrectable Errors 4 0x010 4 70 Resets Between Cmd Acceptance and Completion 6 ===== = = == Transport Statistics (rev 1) == 6 0x008 4 70 Number of Hardware Resets 6 0x010 4 94 Number of ASR Events 6 0x018 4 0 Number of Interface CRC Errors 7 ===== = = == Solid State Device Statistics (rev 1) == 7 0x008 1 255 Percentage Used Endurance Indicator Some unknown attributes in -A output: smartctl -A /dev/sdc smartctl 5.43 2012-02-27 r3515M [x86_64-linux-2.6.32-37-generic] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 10 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 000 000 000 Old_age Always - 232804408207187 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1 170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0 171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 1 184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0 187 Reported_Uncorrect 0x000f 120 120 050 Pre-fail Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 0 226 Load-in_Time 0x0032 100 100 000 Old_age Always - 65535 227 Torq-amp_Count 0x0032 100 100 000 Old_age Always - 63 228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 65535 232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0 233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0 241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 0 242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 0 249 Unknown_Attribute 0x0013 100 100 000 Pre-fail Always - 0 On 22.02.2012 20:52, Christian Franke wrote: > Richard wrote: >> Hello, >> >> I have been trying to work out how to capture device statistics for >> SSD’s. From what I can gather the correct command is “smartctl -q >> noserial -i –l> devstat,0 -l devstat /dev/sda” but this command >> returns that device statistics are not supported. I have been using >> version 5.42 of Smartmontools and have tried to obtain device >> statistics for an X25-M G2, an SF1xxx and an 830. Hopefully I will >> soon be able to try with an Intel 520. Do these drives not support >> device statistics or am I doing something incorrectly? >> > The only verified testcase is the Intel 710, see sample output here: > http://sourceforge.net/apps/trac/smartmontools/ticket/106 > > According to product specifications, Intel 320 and 520 also support > device statistics. X25-* and 510 series don't support it. I'm not aware > of any devices from other vendors supporting it. > > Device statistics is supported if log address 0x04 appears in 'smartctl > -l directory' output (included in '-x'): > # smartctl -l directory ... > ... > GP/S Log at address 0x04 has 8 sectors [Device Statistics] > > If you could test with the Intel 520, please provide a sample output > with both device statistics and SMART attributes. Then we could add it > to drive database. > > Thanks, > Christian > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support |