centos linux查看硬盘型号

前端之家收集整理的这篇文章主要介绍了centos linux查看硬盘型号前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

[[email protected]]# smartctl --all /dev/sda
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-3.10.0-957.1.3.el7.x86_64] (local build)
Copyright (C) 2002-16,Bruce Allen,Christian Franke,www.smartmontools.org

Smartctl open device: /dev/sda Failed: DELL or MegaRaid controller,please try adding ‘-d megaraid,N‘
您在 /var/spool/mail/root 中有新邮件
[[email protected]]# smartctl --all /dev/sda -d megaraid,N
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-3.10.0-957.1.3.el7.x86_64] (local build)
Copyright (C) 2002-16,www.smartmontools.org

/dev/sda: Unknown device type ‘megaraid,N‘
=======> VALID ARGUMENTS ARE: ata,scsi,nvme[,NSID],sat[,auto][,N][+TYPE],usbcypress[,X],usbjmicron[,p][,x][,N],usbprolific,usbsunplus,marvell,areca,N/E,3ware,N,hpt,L/M/N,megaraid,aacraid,H,L,ID,cciss,auto,test <=======

Use smartctl -h to get a usage summary

[[email protected]]# smartctl --all /dev/sda -d megaraid,1smartctl 6.5 2016-05-07 r4318 [x86_64-linux-3.10.0-957.1.3.el7.x86_64] (local build)Copyright (C) 2002-16,www.smartmontools.org=== START OF INFORMATION SECTION ===Vendor:               SEAGATEProduct:              ST4000NM0295Revision:             DT31Compliance:           SPC-4User Capacity:        4,000,787,030,016 bytes [4.00 TB]Logical block size:   512 bytesFormatted with type 2 protectionLU is fully provisionedRotation Rate:        7200 rpmForm Factor:          3.5 inchesLogical Unit id:      0x5000c500a6e471cfSerial number:        ZC18D33JDevice type:          diskTransport protocol:   SAS (SPL-3)Local Time is:        Wed Jan 30 09:57:47 2019 CSTSMART support is:     Available - device has SMART capability.SMART support is:     EnabledTemperature Warning:  Disabled or Not Supported=== START OF READ SMART DATA SECTION ===SMART Health Status: OKCurrent Drive Temperature:     34 CDrive Trip Temperature:        60 CManufactured in week 37 of year 2018Specified cycle count over device lifetime:  10000Accumulated start-stop cycles:  92Specified load-unload count over device lifetime:  300000Accumulated load-unload cycles:  173Elements in grown defect list: 0Vendor (Seagate) cache information  Blocks sent to initiator = 2489504015  Blocks received from initiator = 153743775  Blocks read from cache and sent to initiator = 910904678  Number of read and write commands whose size <= segment size = 24681636  Number of read and write commands whose size > segment size = 33Vendor (Seagate/Hitachi) factory information  number of hours powered up = 2046.82  number of minutes until next internal SMART test = 51Error counter log:           Errors Corrected by           Total   Correction     Gigabytes    Total               ECC          rereads/    errors   algorithm      processed    uncorrected           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errorsread:   130201873        6         0  130201879          6       8009.468           0write:         0        0         2         2          2       6781.538           0verify: 2675483919       19         0  2675483938         19      44652.884           0Non-medium error count:        3SMART Self-test logNum  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]     Description                              number   (hours)# 1  Reserved(7)       Completed                  64       3                 - [-   -    -]# 2  Background short  Completed                  96       1                 - [-   -    -]Long (extended) Self Test duration: 28041 seconds [467.4 minutes]

猜你在找的CentOS相关文章