linux如何查看nvme硬盘的sn,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, Bruce Allen, Christian Franke, 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,N, aacraid,H,L,ID, cciss,N, 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, Bruce Allen, Christian Franke, 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]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值