硬盘扇区查看方式(含raid情况下)

本文介绍如何使用MegaCLI工具在RAID环境下查看硬盘的详细信息,包括扇区大小、物理尺寸、固件状态等关键参数,以及硬盘的健康状况和SMART警报。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

硬盘扇区查看方式(含raid情况下)


# download 8-07-10_MegaCLI_Linux.zip
cd 8.07.10_MegaCLI_Linux/
[root@storage-1 8.07.10_MegaCLI_Linux]# ls -l
total 48
drwxr-xr-x. 2 root root    50 Jun  6  2013 Linux MegaCLI 8.07.10
-rw-r--r--. 1 root root 47364 Jun  7  2013 Linux MegaCLI 8.07.10.txt
[root@storage-1 8.07.10_MegaCLI_Linux]# cd Linux\ MegaCLI\ 8.07.10/
[root@storage-1 Linux MegaCLI 8.07.10]# ls
MegaCli-8.07.10-1.noarch.rpm
[root@storage-1 Linux MegaCLI 8.07.10]# ln -s /opt/MegaRAID/MegaCli/
[root@storage-1 Linux MegaCLI 8.07.10]# rpm -ivh MegaCli-8.07.10-1.noarch.rpm 
[root@storage-1 Linux MegaCLI 8.07.10]# ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/
[root@storage-1 Linux MegaCLI 8.07.10]# cd /usr/bin/
[root@storage-1 bin]# /opt/MegaRAID/MegaCli/MegaCli64 -PDlist -aALL
Adapter #0

Enclosure Device ID: 32
Slot Number: 0
Enclosure position: 1
Device Id: 0
WWN: 5000CCA2669B8593
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 8.910 TB [0x474800000 Sectors]
Non Coerced Size: 8.909 TB [0x474700000 Sectors]
Coerced Size: 8.909 TB [0x474700000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  4096
Firmware state: JBOD
Device Firmware Level: LS03
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000cca2669b8591
SAS Address(1): 0x0
Connected Port Number: 0(path0) 
Inquiry Data: HGST    HUH721010AL5200 LS037JJSJGSG            
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None 
Device Speed: 12.0Gb/s 
Link Speed: 12.0Gb/s 
Media Type: Hard Disk Device
Drive Temperature :30C (86.00 F)
PI Eligibility:  No 
Drive is formatted for PI information:  Yes 
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s 
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s 
Drive has flagged a S.M.A.R.T alert : No



Enclosure Device ID: 32
Slot Number: 1
Enclosure position: 1
Device Id: 1
WWN: 5000CCA266A208BB
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 8.910 TB [0x474800000 Sectors]
Non Coerced Size: 8.909 TB [0x474700000 Sectors]
Coerced Size: 8.909 TB [0x474700000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  4096
Firmware state: JBOD
Device Firmware Level: LS03
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000cca266a208b9
SAS Address(1): 0x0
Connected Port Number: 0(path0) 
Inquiry Data: HGST    HUH721010AL5200 LS037JJW3HMG            
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None 
Device Speed: 12.0Gb/s 
Link Speed: 12.0Gb/s 
Media Type: Hard Disk Device
Drive Temperature :32C (89.60 F)
PI Eligibility:  No 
Drive is formatted for PI information:  Yes 
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s 
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s 
Drive has flagged a S.M.A.R.T alert : No



Enclosure Device ID: 32
Slot Number: 2
Enclosure position: 1
Device Id: 2
WWN: 5000CCA2669F57FB
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SAS

Raw Size: 8.910 TB [0x474800000 Sectors]
Non Coerced Size: 8.909 TB [0x474700000 Sectors]
Coerced Size: 8.909 TB [0x474700000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  4096
Firmware state: JBOD
Device Firmware Level: LS03
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5000cca2669f57f9
SAS Address(1): 0x0
Connected Port Number: 0(path0) 
Inquiry Data: HGST    HUH721010AL5200 LS037JJUMMPG            
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None 
Device Speed: 12.0Gb/s 
Link Speed: 12.0Gb/s 
Media Type: Hard Disk Device
Drive Temperature :31C (87.80 F)
PI Eligibility:  No 
Drive is formatted for PI information:  Yes 
PI: PI with type 2
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s 
Port-1 :
Port status: Active
Port's Linkspeed: 12.0Gb/s 
Drive has flagged a S.M.A.R.T alert : No




Exit Code: 0x00
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值