PowerPath:在 /etc/lvm/lvm.conf 中设置global_filter后无法引导系统
Summary: 在 /etc/lvm/lvm.conf 中设置global_filter后无法引导系统。
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
应用 lvm.conf 文件中的全局筛选器设置,导致主机不再识别 RAID 配置下的内部设备。
在“/etc/lvm/lvm.conf”中设置“global_filter”后无法引导系统,但如果注释掉“global_filter”,则能够引导系统。
启动过程中发生的错误:
Timed out waiting for device dev-mapper-rhel00\x2dhome.device. Dependency failed for /home. Dependency failed for Local File Systems. Dependency failed for Relabel all file system, if necessary. Dependency failed for Mark the need to relabel after reboot. Dependency failed for Migrate local SELinux policy changes from the old store structure to the new structure.
当过滤器设置在 lvm.conf 文件中打开时,“/”和“/home”无法挂载。
Cause
内部设备处于 RAID 控制之下; 由于它是本地引导设置,因此在本地磁盘上创建“/”和“/home”,它们的 SCSI 磁盘表示为“/dev/md*”。全局筛选器中没有接受“/dev/md*”的条目,因此导致在 lvm.conf 中应用筛选器时主机不接受内部设备。
物理卷如下所示:
Physical volume
PV Name /dev/md126p3
VG Name rhel00
Resolution
修改过滤器以接受所有 md* 设备,如下所示,以便能够发现设备并在服务器引导时装载“/”和“/home”:
global_filter = [ "a|/dev/./by-id/scsi-35001173101465378.|", "a|/dev/./by-id/scsi-0123456789abcdfc0.|", "a/md./",* "a/emcpower./", "r/sd./", "r/disk.*/" ]
Additional Information
确定引导时所需的底层物理卷名称,并相应地将它们添加到 lvm.conf 文件中。
Affected Products
PowerPath for LinuxProducts
PowerPath for LinuxArticle Properties
Article Number: 000057393
Article Type: Solution
Last Modified: 04 Dec 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.