(1)找到可用硬盤(pán)
#blkid
/dev/mapper/centos-root: UUID="903b5955-0ba9-4d76-8cb1-5b9e9d6eb9f2" TYPE="xfs"
/dev/sda2: UUID="s61Ldp-VAaR-MwLR-8fa5-wFbQ-ln6l-VZsbkb" TYPE="LVM2_member"
/dev/sda1: UUID="1676224e-9c9f-4350-8661-81c229bb2d88" TYPE="xfs"
/dev/sdb: UUID="Y5TERc-SgYb-ekxZ-P84E-v1Vz-ESfu-XTWBAD" TYPE="LVM2_member"
/dev/sdf: UUID="S6Jmoz-8spp-feJT-dP6g-soVA-iPNW-s91w9a" TYPE="LVM2_member"
/dev/sde: UUID="MKgEN6-3k34-JjwE-Np1O-40zZ-zsac-xGsB2T" TYPE="LVM2_member"
/dev/sdg: UUID="I7xfJC-C1b5-MC3d-J207-6shC-1JRb-gp32Jg" TYPE="LVM2_member"
成都創(chuàng)新互聯(lián)公司專注為客戶提供全方位的互聯(lián)網(wǎng)綜合服務(wù),包含不限于做網(wǎng)站、成都網(wǎng)站設(shè)計(jì)、渝中網(wǎng)絡(luò)推廣、微信小程序定制開(kāi)發(fā)、渝中網(wǎng)絡(luò)營(yíng)銷、渝中企業(yè)策劃、渝中品牌公關(guān)、搜索引擎seo、人物專訪、企業(yè)宣傳片、企業(yè)代運(yùn)營(yíng)等,從售前售中售后,我們都將竭誠(chéng)為您服務(wù),您的肯定,是我們最大的嘉獎(jiǎng);成都創(chuàng)新互聯(lián)公司為所有大學(xué)生創(chuàng)業(yè)者提供渝中建站搭建服務(wù),24小時(shí)服務(wù)熱線:028-86922220,官方網(wǎng)址:www.cdcxhl.com
(2)找出所有hdd的序列號(hào)
shell# smartctl -i /dev/sdc
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-957.27.2.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST3600057SS
Revision: ES66
Compliance: SPC-3
Rotation Rate: 15000 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50068e8d0fb
Serial number: 6SL6QWMF
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Wed Dec 11 19:34:16 2019 CST
device is NOT READY (e.g. spun down, busy)
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
(3)根據(jù)序列號(hào)匹配槽位,然后去除可用硬盤(pán),剩下的就是故障硬盤(pán)的。
sehll# ./sas2ircu 0 display
LSI Corporation SAS2 IR Configuration Utility.
Version 5.00.00.00 (2010.02.09)
Copyright (c) 2009 LSI Corporation. All rights reserved.
Read configuration has been initiated for controller 0
Controller type : SAS2208_8
BIOS version : 7.39.02.00
Firmware version : 20.00.07.00
Channel description : 1 Serial Attached SCSI
Initiator ID : 0
Maximum physical devices : 255
Concurrent commands supported : 3072
Slot : 5
Segment : 0
Bus : 4
Device : 0
Function : 0
RAID Support : Yes
IR Volume information
IR volume 1
Volume ID : 286
Status of volume : Okay (OKY)
RAID level : RAID1
Size (in MB) : 571250
Physical hard disks :
Device is a Hard disk
Enclosure # : 1
Slot # : 0
State : Optimal (OPT)
Size (in MB)/(in sectors) : 572325/1172123567
Manufacturer : SEAGATE
Model Number : ST3600057SS
Firmware Revision : ES66
Serial No : 6SL6PTCM
Protocol : SAS
Drive Type : SAS_HDD
Device is a Hard disk
Enclosure # : 1
Slot # : 1
State : Optimal (OPT)
Size (in MB)/(in sectors) : 572325/1172123567
Manufacturer : SEAGATE
Model Number : ST3600057SS
Firmware Revision : ES66
Serial No : 6SL74N4F
Protocol : SAS
Drive Type : SAS_HDD