PowerFlex:scini 设备上的逻辑卷在启动后未自动激活

Summary: 在 scini 设备上构建为物理卷 (PV) 的 LV(逻辑卷)在 SDC 启动后不会激活。

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

SDC 驱动程序已加载,并且在启动过程中激活 VG 和 LV 后创建 scini* 设备。在引导过程中会自动装载卷。

lvdisplay 命令显示 LV 状态为“不可用”:

lvdisplay 显示 LV 状态为“不可用”

 

影响

LV 不会自动激活。

Cause

默认情况下, lvmetad 使用基于事件的 LV 激活,依赖于 udev 规则将 LVM 元数据扫描到高速缓存中,并在配置了作为 PV 的新设备时激活 VG 和 LV。但是, lvmetad 不适用于 scini 设备。

如果禁用了 lvmetad, 则 systemd 会使用 lvm-activation-generator 生成 systemd 单元以在引导顺序的各个点激活 LV。这并不排除在配置 scini 设备之前尝试激活的可能性。

Resolution

添加以下行 /etc/udev/rules.d/20-scini.rules 文件(在较旧的 SDC 版本中为 60-scini.rules):

ACTION=="add", DEVPATH=="*scini*", RUN+="/sbin/lvm pvscan --cache --activate ay /dev/$name"

 

如果使用 RHEL7,还必须在 中启用 lvmetad /etc/lvm/lvm.conf 要使此 udev 规则起作用,请执行以下作:

use_lvmetad = 1

 

如果使用 RHEL8,则已弃用 lvmetad。仅 udev 规则就足够了。

 

受影响的版本 

ScaleIO 2.x

VxFlex 3.0.x.x

PowerFlex 3.5.x

PowerFlex 3.6.x

Affected Products

PowerFlex appliance Intelligent Catalog Software, PowerFlex rack RCM Software, PowerFlex Software
Article Properties
Article Number: 000047739
Article Type: Solution
Last Modified: 27 Oct 2025
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.