LINUX.ORG.RU
ФорумAdmin

CentOS 7: Duplicated block devices, LSI

 ,


0

1

Коллеги, добрый день.

Есть сервер Huawei с CentOS 7.1 на котором собран raid1-ddf :

>> lsblk -f
NAME                                                        FSTYPE          LABEL    UUID                                   MOUNTPOINT
sda                                                         LVM2_member              oTuOEX-4pYE-fzqD-jwAc-pTGh-23CG-t70elI
L-VG01-VlU010                                               xfs             /u01     ec02b17a-f8ba-4eb5-8b07-169f386a9103   /u01
sdb                                                         ddf_raid_member          LSI     \x80\x86'\xc3
L-ddf1_4c53492020202020808627c3000000004711471100001450
  +-ddf1_4c53492020202020808627c3000000004711471100001450p1 ext4            /boot    b81008e2-c363-46a3-8156-926549bfc0aa   /boot
  L-ddf1_4c53492020202020808627c3000000004711471100001450p2 LVM2_member              Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1
    +-VG00-VlRoot0                                          ext4            /        88f12784-d2c0-49a5-886a-c1c4cc9e2553   /
    +-VG00-VlTmp0                                           ext4            /tmp     97cc6fec-c469-4ed0-9ea8-556d3396bf85   /tmp
    +-VG00-VlVar0                                           ext4            /var     5fa3b0c1-6200-4236-b7c9-f2941c2d03a5   /var
    +-VG00-VlHome0                                          ext4            /home    e7878e8f-c9c5-4017-bb14-12ca883dcef4   /home
sdc                                                         ddf_raid_member          LSI     \x80\x86'\xc3
L-ddf1_4c53492020202020808627c3000000004711471100001450
  +-ddf1_4c53492020202020808627c3000000004711471100001450p1 ext4            /boot    b81008e2-c363-46a3-8156-926549bfc0aa   /boot
  L-ddf1_4c53492020202020808627c3000000004711471100001450p2 LVM2_member              Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1
    +-VG00-VlRoot0                                          ext4            /        88f12784-d2c0-49a5-886a-c1c4cc9e2553   /
    +-VG00-VlTmp0                                           ext4            /tmp     97cc6fec-c469-4ed0-9ea8-556d3396bf85   /tmp
    +-VG00-VlVar0                                           ext4            /var     5fa3b0c1-6200-4236-b7c9-f2941c2d03a5   /var
    +-VG00-VlHome0                                          ext4            /home    e7878e8f-c9c5-4017-bb14-12ca883dcef4   /home

После обновления CentOS 7.1 -> 7.5 появились дублирующие block devices. Т.е. диски, которые состоят в raid.

>> lsblk -f
NAME                                                        FSTYPE          LABEL    UUID                                   MOUNTPOINT
sda                                                         LVM2_member              oTuOEX-4pYE-fzqD-jwAc-pTGh-23CG-t70elI
L-VG01-VlU010                                               xfs             /u01     ec02b17a-f8ba-4eb5-8b07-169f386a9103   /u01
sdb                                                         ddf_raid_member          LSI     \x80\x86'\xc3
+-sdb1                                                      ext4            /boot    b81008e2-c363-46a3-8156-926549bfc0aa
+-sdb2                                                      LVM2_member              Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1
L-ddf1_4c53492020202020808627c3000000004711471100001450
  +-ddf1_4c53492020202020808627c3000000004711471100001450p1 ext4            /boot    b81008e2-c363-46a3-8156-926549bfc0aa   /boot
  L-ddf1_4c53492020202020808627c3000000004711471100001450p2 LVM2_member              Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1
    +-VG00-VlRoot0                                          ext4            /        88f12784-d2c0-49a5-886a-c1c4cc9e2553   /
    +-VG00-VlTmp0                                           ext4            /tmp     97cc6fec-c469-4ed0-9ea8-556d3396bf85   /tmp
    +-VG00-VlVar0                                           ext4            /var     5fa3b0c1-6200-4236-b7c9-f2941c2d03a5   /var
    +-VG00-VlHome0                                          ext4            /home    e7878e8f-c9c5-4017-bb14-12ca883dcef4   /home
sdc                                                         ddf_raid_member          LSI     \x80\x86'\xc3
+-sdc1                                                      ext4            /boot    b81008e2-c363-46a3-8156-926549bfc0aa
+-sdc2                                                      LVM2_member              Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1
L-ddf1_4c53492020202020808627c3000000004711471100001450
  +-ddf1_4c53492020202020808627c3000000004711471100001450p1 ext4            /boot    b81008e2-c363-46a3-8156-926549bfc0aa   /boot
  L-ddf1_4c53492020202020808627c3000000004711471100001450p2 LVM2_member              Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1
    +-VG00-VlRoot0                                          ext4            /        88f12784-d2c0-49a5-886a-c1c4cc9e2553   /
    +-VG00-VlTmp0                                           ext4            /tmp     97cc6fec-c469-4ed0-9ea8-556d3396bf85   /tmp
    +-VG00-VlVar0                                           ext4            /var     5fa3b0c1-6200-4236-b7c9-f2941c2d03a5   /var
    +-VG00-VlHome0                                          ext4            /home    e7878e8f-c9c5-4017-bb14-12ca883dcef4   /home

LVM ругается, но работает, операционная система загрузилась.

>> vgdisplay
  WARNING: Not using lvmetad because duplicate PVs were found.
  WARNING: Use multipath or vgimportclone to resolve duplicate PVs?
  WARNING: After duplicates are resolved, run "pvscan --cache" to enable lvmetad.
  WARNING: PV Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1 on /dev/sdb2 was already found on /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p2.
  WARNING: PV Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1 on /dev/sdc2 was already found on /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p2.
  WARNING: PV Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1 prefers device /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p2 because device is used by LV.
  WARNING: PV Rzoogq-8Nrm-ZcTk-lHwa-Nz1r-B5yL-VGUGV1 prefers device /dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p2 because device is used by LV.
  --- Volume group ---

Подскажите, как скрыть «лишние» блочные устройства, чтобы CentOS их игнорировал и использовал только raid?