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

硬盘扇区查看方式(含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

你可能感兴趣的:(Linux)