所以我有 4 个“未配置的良好”驱动器。它们不在任何虚拟驱动器中。我想展示它们而不将它们更改为JBOD
.如何使我的驱动器对操作系统可见,将它们保留为单独的驱动器(不将它们放入任何类型的 RAID)?
答案1
您的 RAID 控制器支持 JBOD(或者可以刷新到支持 JBOD 的固件,这在 LSI 品牌的控制器中很常见),或者您需要解决一个问题:大多数 RAID 控制器允许您执行单磁盘 RAID 0。为了将光盘呈现给操作系统,在本例中,您需要为每个驱动器创建一个磁盘 RAID 0...
答案2
在我的 HBA (LSI MegaRAID SAS 9266-8i) 和固件版本 3.460.115-6465 上,需要启用 JBOD控制器。完成此操作后,所有不属于 RAID 的驱动器都会自动从“未配置良好”更改为 JBOD 状态。
无法设置-
root@olive:/home/hbarta# storcli /c0/e252/s2 set jbod
Controller = 0
Status = Failure
Description = Set Drive JBOD Failed.
Detailed Status :
===============
-------------------------------------------------
Drive Status ErrCd ErrMsg
-------------------------------------------------
/c0/e252/s2 Failure 255 Operation not allowed.
-------------------------------------------------
root@olive:/home/hbarta#
为控制器启用 -
root@olive:/home/hbarta# storcli /c0 set jbod=on
Controller = 0
Status = Success
Description = None
Controller Properties :
=====================
----------------
Ctrl_Prop Value
----------------
JBOD ON
----------------
root@olive:/home/hbarta#
仍然无法设置,但状态现在是 JBOD -
root@olive:/home/hbarta# storcli /c0/e252/s2 set jbod
Controller = 0
Status = Failure
Description = Set Drive JBOD Failed.
Detailed Status :
===============
-------------------------------------------------
Drive Status ErrCd ErrMsg
-------------------------------------------------
/c0/e252/s2 Failure 255 Operation not allowed.
-------------------------------------------------
root@olive:/home/hbarta# storcli /c0/e252/s2 show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.
Drive Information :
=================
------------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type
------------------------------------------------------------------------------------
252:2 18 JBOD - 476.437 GB SATA SSD Y N 512B Crucial_CT512MX100SSD1 U -
------------------------------------------------------------------------------------
EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded
root@olive:/home/hbarta#