PowerFlex ScaleIO 将磁盘添加回服务器后,作系统无法识别它
Summary: 将磁盘添加回服务器后,作系统无法识别该磁盘。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
通过在线
手动将磁盘从服务器中拉出,测试了故障磁盘 在作系统级别,即使磁盘已重新添加到服务器,也无法看到它。
这并不是真正的 SIO 问题。
Cause
发生这种情况是因为高速缓存的磁盘状态处于错误状态。
Resolution
请执行以下步骤:
这不是在 SIO 群集中测试故障磁盘的不建议方法。
如果客户尚未在戴尔服务器上安装 perccli 实用程序,请让其安装。(请参阅下面的链接)
从以下命令获取输出:
# /opt/MegaRAID/perccli/perccli64 /c0 show
确保提取并返回的硬盘在 PD 列表下可见。
检查是否缺少 VD(虚拟磁盘)。
如果缺少虚拟磁盘,请尝试创建虚拟磁盘:
# opt/MegaRAID/perccli/perccli64 /c0 add vd type=raid0 drives=EID:Slt direct wt nora ( this is for No ReadAhead (NR) WriteThrough (WT)
您可能会收到错误:
# /opt/MegaRAID/perccli/perccli64 /c0 add vd type=raid0 drives=EID:Slt direct wt nora Controller = 0 Status = Failure Description = controller has data in cache for offline or missing virtual disks
如果您收到上面的错误消息,请检查 KB 500119:storcli commands not effective https://www.dell.com/support/kbdoc/en-us/000065897/storcli-commands-not-effective 在使用 perccli 实用程序时,使用 perrcli 命令检查保留的高速缓存:
#/opt/MegaRAID/perccli/perccli64 /c0 show preservedcache
如果存在保留的高速缓存,输出将显示:
#/opt/MegaRAID/perccli/perccli64 /c0 show preservedcache Controller = 0 Status = Success Description = None ----------- VD State ----------- 16 Missing
使用以下命令删除保留的高速缓存:
#opt/MegaRAID/perccli/perccli64 /c0/v16 delete preservedcache
然后使用以下命令创建虚拟磁盘:
#opt/MegaRAID/perccli/perccli64 /c0 add vd type=raid0 drives=EID:Slt direct wt nora
应该不需要重新启动,现在应该可以在作系统级别看到磁盘。通过运行以下命令进行检查:
# ls -l /dev/disk/by-path | grep pci #ls -l /dev/disk/by-path | grep pci | wc -l #fdisk -l | grep Disk #lsblk
然后,您应该能够将磁盘重新添加到 SIO 群集中并登录到 ScaleIO UI。在Backend SDS屏幕中,右键单击 SDS,然后选择Add Device。在路径字段中键入作系统名称。
Additional Information
要下载适用于 Linux 的 Perccli 实用程序,请转至:
https://downloads.dell.com/FOLDER03559396M/1/perccli-1.17.10-1.noarch.rpm
将安装文件 perccli-1.17.10-1.noarch.rpm 复制到节点上的 /tmp 文件夹。
从Linux控制台或使用SSH安装PERCCLI软件包:
#rpm -Uvh /tmp/perccli-1.17.10-1.noarch.rpm
Dell PowerEdge RAID 控制器 (PERC) 命令行界面 (CLI) 参考指南可在以下位置找到:
https://www.dell.com/support/kbdoc/en-us/000177280/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller
https://downloads.dell.com/FOLDER03559396M/1/perccli-1.17.10-1.noarch.rpm
将安装文件 perccli-1.17.10-1.noarch.rpm 复制到节点上的 /tmp 文件夹。
从Linux控制台或使用SSH安装PERCCLI软件包:
#rpm -Uvh /tmp/perccli-1.17.10-1.noarch.rpm
Dell PowerEdge RAID 控制器 (PERC) 命令行界面 (CLI) 参考指南可在以下位置找到:
https://www.dell.com/support/kbdoc/en-us/000177280/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller
Affected Products
PowerFlex SoftwareProducts
PowerFlex Software, VxFlex Product FamilyArticle Properties
Article Number: 000058655
Article Type: Solution
Last Modified: 28 Oct 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.