SSD disky

Vladimír Drgoňa vlado at drgona.eu
Mon Nov 4 09:05:50 CET 2013


Dňa 04.11.2013 08:44, Dan Lukes wrote / napísal(a):
>
> Kdyz uz jsme tu nakously ty nerotacni disky, kouknul jsem na
> statistiky sveho jedineho SSD disku (i tohle je technologie, kterou
> teprve opatrne testuju) a trochu me prekvapily:
>
>>   9 Power_On_Hours          -O--CK   100   100   000    -    2009
> ...
>>   1  0x018  6        509050865  Logical Sectors Written
>>   1  0x020  6         10204562  Number of Write Commands
>>   1  0x028  6        718631523  Logical Sectors Read
>>   1  0x030  6           139132  Number of Read Commands
>
> Nejde o samotny objem ctenych/zapsanych dat po 2009 provoznich
> hodinach. Jde spis o pomer ctenych a zapsanych dat. Tam jsem cekal
> vyraznou prevahu ve cteni a ne takrka rovnovahu ...
>
> Muzete se kouknout, teda, kdo mate SSD disk, ktery si takovou
> statistiku interne vede, jak to mate u vas ?
>
> Ne, ze by o neco realne slo, jen me proste zajima, jestli je tohle
> "normalni" pomer mezi ctenima a zapisama nebo je to atypickej stroj.
>
> Jasne, urcite to zavisi na tom, k cemu se takovyu stroj pouziva. Tak
> tohle je SMTP server pro cca dva uzivatele. Sice na tom bezi i WWW
> server, ale nikdo ho nenavstevuje, takze ten to ovlivnuje minimalne ...
>
> Dan
>
>
> P.S. Jestli nekdo mate SSD disk, statistiky by vas zajimaly, ale doted
> jste nevedeli, ze by na nich neco takovyho mohlo byt pristupny, tak
> package, ktery hledate, se jmenuje sysutils/smartmontools. Jen pozor,
> to, ze mate SSD disk automaticky neznamena, ze on si statistiky vede
> a/nebo je zverejnuje, takze mozna se nedozvite nic zajimavyho.
Mám jeden SSD disk, používam ho ako L2ARC, beží podobne dlho, ale takéto
štatistiky som nenašiel. Toto mi dáva smartctl:

smartctl -a /dev/ada0
smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SKC300S37A60G
Serial Number:    50026B73340261B8
LU WWN Device Id: 5 0026b7 3340261b8
Firmware Version: 507ABBF0
User Capacity:    60 022 480 896 bytes [60,0 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS, ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Nov  4 09:01:03 2013 CET
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:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection
on/off 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:        (  48) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x0021) SCT Status supported.
                                        SCT Data Table supported.

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
  1 Raw_Read_Error_Rate     0x000f   118   118   050    Pre-fail 
Always       -       193278240
  5 Reallocated_Sector_Ct   0x0033   100   100   003    Pre-fail 
Always       -       0
*  9 Power_On_Hours          0x0032   098   098   000    Old_age  
Always       -       2022 (56 84 0)**
* 12 Power_Cycle_Count       0x0032   100   100   000    Old_age  
Always       -       45
 13 Read_Soft_Error_Rate    0x000a   046   046   000    Old_age  
Always       -       263779904729376
100 Unknown_Attribute       0x0032   000   000   000    Old_age  
Always       -       4420
170 Unknown_Attribute       0x0032   000   000   000    Old_age  
Always       -       1712
171 Unknown_Attribute       0x0032   000   000   000    Old_age  
Always       -       0
172 Unknown_Attribute       0x0032   000   000   000    Old_age  
Always       -       0
174 Unknown_Attribute       0x0030   000   000   000    Old_age  
Offline      -       39
177 Wear_Leveling_Count     0x0000   000   000   000    Old_age  
Offline      -       2
181 Program_Fail_Cnt_Total  0x0032   000   000   000    Old_age  
Always       -       0
182 Erase_Fail_Count_Total  0x0032   000   000   000    Old_age  
Always       -       0
184 End-to-End_Error        0x0032   100   100   090    Old_age  
Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age  
Always       -       0
189 Unknown_SSD_Attribute   0x0000   038   080   000    Old_age  
Offline      -       103084458022
194 Temperature_Celsius     0x0022   038   080   000    Old_age  
Always       -       38 (Min/Max 24/80)
195 Hardware_ECC_Recovered  0x001c   120   120   000    Old_age  
Offline      -       193278240
196 Reallocated_Event_Count 0x0033   100   100   003    Pre-fail 
Always       -       0
198 Offline_Uncorrectable   0x0010   118   118   000    Old_age  
Offline      -       91336774516736
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age  
Always       -       0
201 Unknown_SSD_Attribute   0x001c   120   120   000    Old_age  
Offline      -       193278240
204 Soft_ECC_Correction     0x001c   120   120   000    Old_age  
Offline      -       193278240
230 Unknown_SSD_Attribute   0x0013   100   100   000    Pre-fail 
Always       -       100
231 Temperature_Celsius     0x0013   100   100   010    Pre-fail 
Always       -       0
232 Available_Reservd_Space 0x0000   000   000   000    Old_age  
Offline      -       6
233 Media_Wearout_Indicator 0x0000   000   000   000    Old_age  
Offline      -       3066
234 Unknown_Attribute       0x0032   000   000   000    Old_age  
Always       -       2208
241 Total_LBAs_Written      0x0032   000   000   000    Old_age  
Always       -       2208
242 Total_LBAs_Read         0x0032   000   000   000    Old_age  
Always       -       2441

SMART Error Log not supported

SMART Self-test Log not supported

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever
been run
 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.


Vlado.


More information about the Users-l mailing list