PowerPath:在 /etc/lvm/lvm.conf 中設定global_filter後,無法啟動系統

Resumen: 在 /etc/lvm/lvm.conf 中設定global_filter後,無法啟動系統。

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

在 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」無法掛接。

 

Causa

內部裝置受 RAID 控制; 因為這是本機開機設定,所以會在本機磁碟上建立「/」和「/home」,其 SCSI 磁碟的表示形式為「/dev/md*」。全域篩選器中沒有接受「/dev/md*」的項目,因此在 lvm.conf 中套用篩選器時,導致主機無法接受內部裝置。

實體磁碟區看起來如下:

    Physical volume
  PV Name              /dev/md126p3
  VG Name               rhel00

 

Resolución

如下修改篩選器以接受所有 md* 裝置,以便能夠探索裝置,並在伺服器開機時掛接「/」和「/home」:

global_filter = [ "a|/dev/./by-id/scsi-35001173101465378.|", "a|/dev/./by-id/scsi-0123456789abcdfc0.|", "a/md./",* "a/emcpower./", "r/sd./", "r/disk.*/" ]

 

Información adicional

識別開機時所需的基礎實體磁碟區名稱,並據此將這些名稱新增至 lvm.conf 檔案。

 

Productos afectados

PowerPath for Linux

Productos

PowerPath for Linux
Propiedades del artículo
Número del artículo: 000057393
Tipo de artículo: Solution
Última modificación: 04 dic. 2025
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.