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 Linux

Products

PowerPath for Linux
Article 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.