sas HDD 4台の　raid0のそれぞれの使用時間

![Photo Marker_20230324_015025.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/211097/53bc8161-50e3-135f-e976-1da2b6987d69.jpeg)


## 問うことの重要性　求めよ、さらば与えられん「マタイ伝」
https://www.kokugakuin.ac.jp/article/230774

|もしかして　もしかして　chatGPTは　問うことの重要性を認識し　極論すれば　質問が企業に売れることを認識してるのではないかと思う
|:---
|chatGPTの答えは　時々的外れがあるので　神でない

https://pencil.schoo.jp/posts/2krPa5qR/




##　全体としては
# hdparm -Tt /dev/sda
/dev/sda:
 Timing cached reads:   18426 MB in  1.99 seconds = 9240.18 MB/sec
 Timing buffered disk reads: 1394 MB in  3.00 seconds = 464.58 MB/sec






```
garudalinux を使用してます

# dmesg | grep RAID
[    0.898626] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3f impl RAID mode
[    5.506795] scsi host6: Avago SAS based MegaRAID driver



# dmesg | grep scsi
[    0.947486] scsi host0: ahci
[    0.948073] scsi host1: ahci
[    0.948656] scsi host2: ahci
[    0.949213] scsi host3: ahci
[    0.949652] scsi host4: ahci
[    0.950168] scsi host5: ahci
[    1.022562] workqueue scsi_tmf_5: hash matches
[    5.506795] scsi host6: Avago SAS based MegaRAID driver
[    5.508890] scsi 6:0:4:0: Direct-Access     HITACHI  HUS153014VLS300  A5C0 PQ: 0 ANSI: 5
[    5.510064] scsi 6:0:5:0: Direct-Access     HITACHI  HUS153014VLS300  A5C0 PQ: 0 ANSI: 5
[    5.511450] scsi 6:0:6:0: Direct-Access     HITACHI  HUS153014VLS300  A5C0 PQ: 0 ANSI: 5
[    5.512584] scsi 6:0:7:0: Direct-Access     HITACHI  HUS153014VLS300  A5C0 PQ: 0 ANSI: 5
[    5.530105] scsi 6:2:0:0: Direct-Access     DELL     PERC 6/i Adapter 1.22 PQ: 0 ANSI: 5
[   10.097642] sd 6:2:0:0: Attached scsi generic sg0 type 0


```



# smartctl -a /dev/sda -d megaraid,4
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.20-1-lts] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS153014VLS300
Revision:             A5C0
Compliance:           SPC-3
User Capacity:        146,500,042,752 bytes [146 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Logical Unit id:      0x5000cca01108ec04
Serial number:        JNV4X3DC
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Thu Mar 23 17:48:37 2023 JST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     **43 C**
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes **12061:28**
Manufactured in week 41 of year 2009
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  1836
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 1552764895232

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0      215         0       215        449          2.955           0
write:         0      295         0       295        295          2.508           0

Non-medium error count:        0

No Self-tests have been logged

--------------


# smartctl -a /dev/sda -d megaraid,5
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.20-1-lts] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS153014VLS300
Revision:             A5C0
Compliance:           SPC-3
User Capacity:        146,500,042,752 bytes [146 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Logical Unit id:      0x5000cca01108dc5c
Serial number:        JNV4W22C
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Thu Mar 23 17:48:42 2023 JST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     46 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 12058:06
Manufactured in week 41 of year 2009
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  1844
Elements in grown defect list: 3

Vendor (Seagate Cache) information
  Blocks sent to initiator = 65358513831936

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0     1432         0      1432       3537         50.760           0
write:         0     4528         0      4528       4539        192.623           0
verify:        0      954         0       954       1055        418.320           0

Non-medium error count:        0

No Self-tests have been logged

----------------


# smartctl -a /dev/sda -d megaraid,6
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.20-1-lts] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS153014VLS300
Revision:             A5C0
Compliance:           SPC-3
User Capacity:        146,500,042,752 bytes [146 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Logical Unit id:      0x5000cca0110898dc
Serial number:        JNV4RKRC
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Thu Mar 23 17:48:47 2023 JST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     46 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 11784:35
Manufactured in week 41 of year 2009
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  1614
Elements in grown defect list: 2

Vendor (Seagate Cache) information
  Blocks sent to initiator = 84511735939072

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0     3265         0      3265       7545         84.191           0
write:         0     4740         0      4740       4740        218.241           0
verify:        0      157         0       157        160        627.184           0

Non-medium error count:        0

No Self-tests have been logged

---------------


# smartctl -a /dev/sda -d megaraid,7
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.20-1-lts] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS153014VLS300
Revision:             A5C0
Compliance:           SPC-3
User Capacity:        146,500,042,752 bytes [146 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Logical Unit id:      0x5000cca0110920c4
Serial number:        JNV50M9C
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Thu Mar 23 17:48:52 2023 JST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     43 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 16606:44
Manufactured in week 41 of year 2009
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  1753
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 67555490267136

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0      938         0       938       2204         45.998           0
write:         0     2548         0      2548       2554        185.713           0
verify:        0      416         0       416        487        427.968           0

Non-medium error count:        0

No Self-tests have been logged

[root@DellWS ruda]# smartctl -a /dev/sda -d megaraid,8
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.20-1-lts] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sda [megaraid_disk_08] failed: INQUIRY failed
[root@DellWS ruda]#