linux 下查看硬盘型号、大小等信息(含Raid)_linux查看磁盘是不是sas盘

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化的资料的朋友,可以点击这里获取!

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

Device Firmware Level: D1S6

Shield Counter: 0

Successful diagnostics completion on : N/A

SAS Address(0): 0x50000c0f02e57bea

SAS Address(1): 0x0

Connected Port Number: 0(path0)

Inquiry Data: WD WD3001BKHG D1S6WX11E83NU249

FDE Capable: Not Capable

FDE Enable: Disable

Secured: Unsecured

Locked: Unlocked

Needs EKM Attention: No

Foreign State: None

Device Speed: 6.0Gb/s

Link Speed: 6.0Gb/s

Media Type: Hard Disk Device

Drive Temperature :31C (87.80 F)

PI Eligibility: No

Drive is formatted for PI information: No

PI: No PI

Port-0 :

Port status: Active

Port’s Linkspeed: 6.0Gb/s

Port-1 :

Port status: Active

Port’s Linkspeed: Unknown

Drive has flagged a S.M.A.R.T alert : No

Enclosure Device ID: 32

Slot Number: 1

Drive’s position: DiskGroup: 0, Span: 0, Arm: 1

Enclosure position: 1

Device Id: 1

WWN: 50000C0F028F32ED

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: 279.396 GB [0x22ecb25c Sectors]

Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]

Coerced Size: 278.875 GB [0x22dc0000 Sectors]

Sector Size: 0

Firmware state: Online, Spun Up

Device Firmware Level: D1S6

Shield Counter: 0

Successful diagnostics completion on : N/A

SAS Address(0): 0x50000c0f028f32ee

SAS Address(1): 0x0

Connected Port Number: 1(path0)

Inquiry Data: WD WD3001BKHG D1S6WX11E83VD242

FDE Capable: Not Capable

FDE Enable: Disable

Secured: Unsecured

Locked: Unlocked

Needs EKM Attention: No

Foreign State: None

Device Speed: 6.0Gb/s

Link Speed: 6.0Gb/s

Media Type: Hard Disk Device

Drive Temperature :31C (87.80 F)

PI Eligibility: No

Drive is formatted for PI information: No

PI: No PI

Port-0 :

Port status: Active

Port’s Linkspeed: 6.0Gb/s

Port-1 :

Port status: Active

Port’s Linkspeed: Unknown

Drive has flagged a S.M.A.R.T alert : No

Enclosure Device ID: 32

Slot Number: 2

Drive’s position: DiskGroup: 0, Span: 0, Arm: 2

Enclosure position: 1

Device Id: 2

WWN: 50000C0F02E5B8ED

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: 279.396 GB [0x22ecb25c Sectors]

Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]

Coerced Size: 278.875 GB [0x22dc0000 Sectors]

Sector Size: 0

Firmware state: Online, Spun Up

Device Firmware Level: D1S6

Shield Counter: 0

Successful diagnostics completion on : N/A

SAS Address(0): 0x50000c0f02e5b8ee

SAS Address(1): 0x0

Connected Port Number: 2(path0)

Inquiry Data: WD WD3001BKHG D1S6WX11E83NU081

FDE Capable: Not Capable

FDE Enable: Disable

Secured: Unsecured

Locked: Unlocked

Needs EKM Attention: No

Foreign State: None

Device Speed: 6.0Gb/s

Link Speed: 6.0Gb/s

Media Type: Hard Disk Device

Drive Temperature :28C (82.40 F)

PI Eligibility: No

Drive is formatted for PI information: No

PI: No PI

Port-0 :

Port status: Active

Port’s Linkspeed: 6.0Gb/s

Port-1 :

Port status: Active

Port’s Linkspeed: Unknown

Drive has flagged a S.M.A.R.T alert : No

Exit Code: 0x00


  
  


从上面可以看出,该机有三块硬盘,型号为,


WD      WD3001BKHG      D1S6WX11E83NU249,容量为300GB。


 


 MegaCli常用参数介绍   
 MegaCli -adpCount 【显示适配器个数】  
 MegaCli -AdpGetTime –aALL 【显示适配器时间】  
 MegaCli -AdpAllInfo -aAll 【显示所有适配器信息】  
 MegaCli -LDInfo -LALL -aAll 【显示所有逻辑磁盘组信息】  
 MegaCli -PDList -aAll 【显示所有的物理信息】  
 MegaCli -AdpBbuCmd -GetBbuStatus -aALL |grep ‘Charger Status’ 【查看充电状态】  
 MegaCli -AdpBbuCmd -GetBbuStatus -aALL【显示BBU状态信息】  
 MegaCli -AdpBbuCmd -GetBbuCapacityInfo -aALL【显示BBU容量信息】  
 MegaCli -AdpBbuCmd -GetBbuDesignInfo -aALL 【显示BBU设计参数】  
 MegaCli -AdpBbuCmd -GetBbuProperties -aALL 【显示当前BBU属性】  
 MegaCli -cfgdsply -aALL 【显示Raid卡型号,Raid设置,Disk相关信息】


 磁带状态的变化,从拔盘,到插盘的过程中。   


### 最后的话

最近很多小伙伴找我要Linux学习资料,于是我翻箱倒柜,整理了一些优质资源,涵盖视频、电子书、PPT等共享给大家!

### 资料预览

给大家整理的视频资料:

![](https://img-blog.csdnimg.cn/img_convert/86469eb617d390081258daa2fc6aedcc.png)

给大家整理的电子书资料:

  

![](https://img-blog.csdnimg.cn/img_convert/a72e278023b8e97a3a807ad941ab4191.png)



**如果本文对你有帮助,欢迎点赞、收藏、转发给朋友,让我有持续创作的动力!**

**网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。**

**[需要这份系统化的资料的朋友,可以点击这里获取!](https://bbs.csdn.net/forums/4f45ff00ff254613a03fab5e56a57acb)**


**一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**

203241)]



**如果本文对你有帮助,欢迎点赞、收藏、转发给朋友,让我有持续创作的动力!**

**网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。**

**[需要这份系统化的资料的朋友,可以点击这里获取!](https://bbs.csdn.net/forums/4f45ff00ff254613a03fab5e56a57acb)**


**一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!**

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值