Changes between Version 1 and Version 2 of jazz/Dell_RAID


Ignore:
Timestamp:
Nov 28, 2017, 5:50:44 PM (7 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Dell_RAID

    v1 v2  
    8803:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
    99}}}
     10* 使用 `smartmontools` 套件中的 `smartctl` 指令
     11{{{
     12~$ sudo smartctl --scan
     13/dev/sda -d scsi # /dev/sda, SCSI device
     14/dev/sdb -d scsi # /dev/sdb, SCSI device
     15/dev/bus/4 -d megaraid,0 # /dev/bus/4 [megaraid_disk_00], SCSI device
     16/dev/bus/4 -d megaraid,1 # /dev/bus/4 [megaraid_disk_01], SCSI device
     17/dev/bus/4 -d megaraid,4 # /dev/bus/4 [megaraid_disk_04], SCSI device
     18/dev/bus/4 -d megaraid,5 # /dev/bus/4 [megaraid_disk_05], SCSI device
     19}}}
     20{{{
     21~$ sudo smartctl -d scsi -a /dev/sda
     22smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-98-generic] (local build)
     23Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
     24
     25=== START OF INFORMATION SECTION ===
     26Vendor:               DELL
     27Product:              PERC H700
     28Revision:             2.10
     29User Capacity:        898,990,342,144 bytes [898 GB]
     30Logical block size:   512 bytes
     31Logical Unit id:      0x6782bcb064ffe400213fc03a08c8a728
     32Serial number:        0028a7c8083ac03f2100e4ff64b0bc82
     33Device type:          disk
     34Local Time is:        Tue Nov 28 17:48:32 2017 CST
     35SMART support is:     Unavailable - device lacks SMART capability.
     36
     37=== START OF READ SMART DATA SECTION ===
     38
     39Error Counter logging not supported
     40
     41Device does not support Self Test logging
     42}}}
     43
     44要繞過 RAID 卡的話,不能用 scsi 型態,要根據 scan 結果
     45{{{
     46~$ sudo smartctl -a /dev/bus/4 -d sat+megaraid,0
     47smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-98-generic] (local build)
     48Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
     49
     50=== START OF INFORMATION SECTION ===
     51Device Model:     PLEXTOR PX-256S3C
     52Serial Number:    P02721101697
     53LU WWN Device Id: 5 002303 100e60e35
     54Firmware Version: 1.01
     55User Capacity:    256,060,514,304 bytes [256 GB]
     56Sector Size:      512 bytes logical/physical
     57Rotation Rate:    Solid State Device
     58Device is:        Not in smartctl database [for details use: -P showall]
     59ATA Version is:   ACS-2 (minor revision not indicated)
     60SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
     61Local Time is:    Tue Nov 28 17:50:13 2017 CST
     62SMART support is: Available - device has SMART capability.
     63SMART support is: Enabled
     64
     65=== START OF READ SMART DATA SECTION ===
     66SMART overall-health self-assessment test result: PASSED
     67Warning: This result is based on an Attribute check.
     68
     69General SMART Values:
     70Offline data collection status:  (0x00) Offline data collection activity
     71                                        was never started.
     72                                        Auto Offline Data Collection: Disabled.
     73Self-test execution status:      (   0) The previous self-test routine completed
     74                                        without error or no self-test has ever
     75                                        been run.
     76Total time to complete Offline
     77data collection:                (    0) seconds.
     78Offline data collection
     79capabilities:                    (0x11) SMART execute Offline immediate.
     80                                        No Auto Offline data collection support.
     81                                        Suspend Offline collection upon new
     82                                        command.
     83                                        No Offline surface scan supported.
     84                                        Self-test supported.
     85                                        No Conveyance Self-test supported.
     86                                        No Selective Self-test supported.
     87SMART capabilities:            (0x0003) Saves SMART data before entering
     88                                        power-saving mode.
     89                                        Supports SMART auto save timer.
     90Error logging capability:        (0x01) Error logging supported.
     91                                        General Purpose Logging supported.
     92Short self-test routine
     93recommended polling time:        (   1) minutes.
     94Extended self-test routine
     95recommended polling time:        (  10) minutes.
     96SCT capabilities:              (0x003d) SCT Status supported.
     97                                        SCT Error Recovery Control supported.
     98                                        SCT Feature Control supported.
     99                                        SCT Data Table supported.
     100
     101SMART Attributes Data Structure revision number: 1
     102Vendor Specific SMART Attributes with Thresholds:
     103ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
     104  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
     105  5 Reallocated_Sector_Ct   0x0003   100   100   000    Pre-fail  Always       -       0
     106  9 Power_On_Hours          0x0002   100   100   000    Old_age   Always       -       1318
     107 12 Power_Cycle_Count       0x0003   100   100   000    Pre-fail  Always       -       7
     108170 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
     109171 Unknown_Attribute       0x0003   100   100   000    Pre-fail  Always       -       0
     110172 Unknown_Attribute       0x0003   100   100   000    Pre-fail  Always       -       0
     111173 Unknown_Attribute       0x0003   100   100   000    Pre-fail  Always       -       19
     112174 Unknown_Attribute       0x0003   100   100   000    Pre-fail  Always       -       2
     113175 Program_Fail_Count_Chip 0x0003   100   100   000    Pre-fail  Always       -       0
     114176 Erase_Fail_Count_Chip   0x0003   100   100   000    Pre-fail  Always       -       0
     115178 Used_Rsvd_Blk_Cnt_Chip  0x0003   100   100   000    Pre-fail  Always       -       0
     116179 Used_Rsvd_Blk_Cnt_Tot   0x0003   100   100   000    Pre-fail  Always       -       0
     117180 Unused_Rsvd_Blk_Cnt_Tot 0x0033   100   100   005    Pre-fail  Always       -       65
     118181 Program_Fail_Cnt_Total  0x0003   100   100   000    Pre-fail  Always       -       0
     119182 Erase_Fail_Count_Total  0x0003   100   100   000    Pre-fail  Always       -       0
     120183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
     121195 Hardware_ECC_Recovered  0x0003   100   100   000    Pre-fail  Always       -       0
     122199 UDMA_CRC_Error_Count    0x0003   100   100   000    Pre-fail  Always       -       0
     123232 Available_Reservd_Space 0x0003   100   100   010    Pre-fail  Always       -       100
     124233 Media_Wearout_Indicator 0x0003   100   100   000    Pre-fail  Always       -       6466
     125241 Total_LBAs_Written      0x0003   100   100   000    Pre-fail  Always       -       111376
     126242 Total_LBAs_Read         0x0003   100   100   000    Pre-fail  Always       -       3972
     127
     128SMART Error Log Version: 1
     129No Errors Logged
     130
     131SMART Self-test log structure revision number 0
     132Warning: ATA Specification requires self-test log structure revision number = 1
     133No self-tests have been logged.  [To run self-tests, use: smartctl -t]
     134
     135
     136Selective Self-tests/Logging not supported
     137}}}