#2651 Issue closed: Inappropriate filter in /etc/lvm/lvm.conf lets ReaR fail to make appropriate LVM entries in disklayout.conf

Labels: support / question, fixed / solved / done, not ReaR / invalid

hamsterbacke opened issue at 2021-07-08 12:37:

Relax-and-Recover (ReaR) Issue Template

Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):

  • ReaR version ("/usr/sbin/rear -V"):
    Relax-and-Recover 2.5-git.0.dff3f6a.unknown / 2020-03-04
  • OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
  • ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
TMPDIR=/images/rear/
BACKUP=NETFS
BACKUP_URL=iso:///backup
ISO_DIR=/images/rear/output
OUTPUT=ISO
OUTPUT_URL=null
BOOT_OVER_SAN=n
REQUIRED_PROGS=( "${REQUIRED_PROGS[@]}" fcnsq fcoeadm fcoemon fcping fcrls fipvlan systemd-detect-virt )
COPY_AS_IS+=( /etc/fcoe /etc/sysconfig/fcoe /usr/libexec/fcoe /etc/machine-id /usr/lib/systemd/systemd /usr/lib/systemd/system/fcoe.service )
MODULES_LOAD=( fcoe libfcoe bnx2fc )
AUTOEXCLUDE_MULTIPATH=n
#BACKUP_PROG_INCLUDE=( '/etc/opt/omni/*' '/opt/omni/*' '/var/opt/omni/*' )
BACKUP_PROG_INCLUDE=( '/appl/dp/*' )
BACKUP_PROG_EXCLUDE+=( '/var/log/sa/*' '/var/tmp/*' '/var/cache/yum/*' '/appl/dp/kit/*' '/appl/dp/etc/opt/omni/server/dr/*' '/appl/dp/opt/omni/databases/vendor/*' '/appl/dp/var/opt/omni/debug/*' '/appl/dp/var/opt/omni/tmp/*' '/appl/dp/var/opt/omni/server/db80/dcbf/*' '/appl/dp/var/opt/omni/server/export/keys/*' '/appl/dp/opt/omni/help/*' )
PRE_BACKUP_SCRIPT='/etc/rear/scripts/idb_export.sh'
PRE_RECOVERY_SCRIPT='/etc/rear/scripts/fcoe_start.sh'
#ONLY_INCLUDE_VG=( 'vgsystem' 'vgappl' )
EXCLUDE_COMPONENTS=(
fs:/app
fs:/backup
fs:/databases/CCREPPROD/DATA
fs:/databases/CCREPPROD/FRA
fs:/databases/CCREPPROD/LOG1
fs:/databases/CCREPPROD/LOG2
fs:/databases/RMANPROD/DATA
fs:/databases/RMANPROD/FRA
fs:/databases/RMANPROD/LOG1
fs:/databases/RMANPROD/LOG2
fs:/images
fs:/repo
)
  • Hardware (PC or PowerNV BareMetal or ARM) or virtual machine (KVM guest or PoverVM LPAR):
    PC

  • System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
    x86-64

  • Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
    UEFI

  • Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
    FCoE with multipath

  • Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,SIZE,MOUNTPOINT" or "lsblk" as makeshift):

NAME                                                    KNAME      PKNAME     TRAN TYPE  FSTYPE               SIZE MOUNTPOINT
/dev/sda                                                /dev/sda              usb  disk                      28.8G
`-/dev/sda1                                             /dev/sda1  /dev/sda        part  ext4                28.8G /mnt/usbstick
/dev/sdb                                                /dev/sdb              sas  disk                     279.4G
|-/dev/sdb1                                             /dev/sdb1  /dev/sdb        part  vfat                 200M /boot/efi
|-/dev/sdb2                                             /dev/sdb2  /dev/sdb        part  xfs                    1G /boot
`-/dev/sdb3                                             /dev/sdb3  /dev/sdb        part  LVM2_member        278.2G
  |-/dev/mapper/vgsystem-lvroot                         /dev/dm-23 /dev/sdb3       lvm   xfs                   40G /
  |-/dev/mapper/vgsystem-lvswap                         /dev/dm-24 /dev/sdb3       lvm   swap                   8G [SWAP]
  |-/dev/mapper/vgsystem-lvhome                         /dev/dm-36 /dev/sdb3       lvm   xfs                   10G /home
  |-/dev/mapper/vgsystem-lvlocal                        /dev/dm-37 /dev/sdb3       lvm   xfs                   10G /usr/local
  |-/dev/mapper/vgsystem-lvopt                          /dev/dm-38 /dev/sdb3       lvm   xfs                    6G /opt
  |-/dev/mapper/vgsystem-lvlog                          /dev/dm-39 /dev/sdb3       lvm   xfs                   10G /var/log
  `-/dev/mapper/vgsystem-lvvar                          /dev/dm-40 /dev/sdb3       lvm   xfs                   10G /var
/dev/sdc                                                /dev/sdc              fc   disk  mpath_member         300G
`-/dev/mapper/BACKUP_repo                               /dev/dm-3  /dev/sdc        mpath xfs                  300G /repo
/dev/sdd                                                /dev/sdd              fc   disk  mpath_member           1T
`-/dev/mapper/BACKUP_BU2D                               /dev/dm-1  /dev/sdd        mpath LVM2_member            1T
  `-/dev/mapper/vgbackup-lvbackup                       /dev/dm-30 /dev/dm-1       lvm   xfs                 1024G /backup
/dev/sde                                                /dev/sde              fc   disk  mpath_member        1000G
`-/dev/mapper/BACKUP_OS_IMG                             /dev/dm-0  /dev/sde        mpath LVM2_member         1000G
  `-/dev/mapper/vgimages-lvimages                       /dev/dm-35 /dev/dm-0       lvm   xfs                 1000G /images
/dev/sdf                                                /dev/sdf              fc   disk  mpath_member         300G
`-/dev/mapper/BACKUP_repo                               /dev/dm-3  /dev/sdf        mpath xfs                  300G /repo
/dev/sdg                                                /dev/sdg              fc   disk  mpath_member           1T
`-/dev/mapper/BACKUP_BU2D                               /dev/dm-1  /dev/sdg        mpath LVM2_member            1T
  `-/dev/mapper/vgbackup-lvbackup                       /dev/dm-30 /dev/dm-1       lvm   xfs                 1024G /backup
/dev/sdh                                                /dev/sdh              fc   disk  mpath_member        1000G
`-/dev/mapper/BACKUP_OS_IMG                             /dev/dm-0  /dev/sdh        mpath LVM2_member         1000G
  `-/dev/mapper/vgimages-lvimages                       /dev/dm-35 /dev/dm-0       lvm   xfs                 1000G /images
/dev/sdi                                                /dev/sdi              fc   disk  mpath_member           4T
`-/dev/mapper/mpathed                                   /dev/dm-7  /dev/sdi        mpath                        4T
  `-/dev/mapper/mpathed1                                /dev/dm-17 /dev/dm-7       part  VMFS_volume_member     4T
/dev/sdj                                                /dev/sdj              fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_ORACLE                             /dev/dm-4  /dev/sdj        mpath LVM2_member          100G
  `-/dev/mapper/vgoracle-lvoracle                       /dev/dm-33 /dev/dm-4       lvm   xfs                  100G /app
/dev/sdk                                                /dev/sdk              fc   disk  mpath_member          80G
`-/dev/mapper/BACKUP_db_RMANPROD_DATA                   /dev/dm-8  /dev/sdk        mpath LVM2_member           80G
  `-/dev/mapper/vgdb_RMANPROD_DATA-lvdb_RMANPROD_DATA   /dev/dm-28 /dev/dm-8       lvm   xfs                   80G /databases/RMANPROD/DATA
/dev/sdl                                                /dev/sdl              fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_FRA                    /dev/dm-5  /dev/sdl        mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_FRA-lvdb_RMANPROD_FRA     /dev/dm-41 /dev/dm-5       lvm   xfs                   10G /databases/RMANPROD/FRA
/dev/sdm                                                /dev/sdm              fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG1                   /dev/dm-9  /dev/sdm        mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG1-lvdb_RMANPROD_LOG1   /dev/dm-34 /dev/dm-9       lvm   xfs                   10G /databases/RMANPROD/LOG1
/dev/sdn                                                /dev/sdn              fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG2                   /dev/dm-12 /dev/sdn        mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG2-lvdb_RMANPROD_LOG2   /dev/dm-26 /dev/dm-12      lvm   xfs                   10G /databases/RMANPROD/LOG2
/dev/sdo                                                /dev/sdo              fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_DATA                  /dev/dm-2  /dev/sdo        mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_DATA-lvdb_CCREPPROD_DATA /dev/dm-27 /dev/dm-2       lvm   xfs                  100G /databases/CCREPPROD/DATA
/dev/sdp                                                /dev/sdp              fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_FRA                   /dev/dm-14 /dev/sdp        mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_FRA-lvdb_CCREPPROD_FRA   /dev/dm-29 /dev/dm-14      lvm   xfs                  100G /databases/CCREPPROD/FRA
/dev/sdq                                                /dev/sdq              fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG1                  /dev/dm-11 /dev/sdq        mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG1-lvdb_CCREPPROD_LOG1 /dev/dm-25 /dev/dm-11      lvm   xfs                   20G /databases/CCREPPROD/LOG1
/dev/sdr                                                /dev/sdr              fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG2                  /dev/dm-10 /dev/sdr        mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG2-lvdb_CCREPPROD_LOG2 /dev/dm-32 /dev/dm-10      lvm   xfs                   20G /databases/CCREPPROD/LOG2
/dev/sds                                                /dev/sds              fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_APPL                               /dev/dm-13 /dev/sds        mpath LVM2_member          100G
  `-/dev/mapper/vgappl-lvappl                           /dev/dm-31 /dev/dm-13      lvm   xfs                  100G /appl
/dev/sdt                                                /dev/sdt              fc   disk  mpath_member           4T
`-/dev/mapper/mpathee                                   /dev/dm-16 /dev/sdt        mpath                        4T
  `-/dev/mapper/mpathee1                                /dev/dm-20 /dev/dm-16      part  VMFS_volume_member     4T
/dev/sdu                                                /dev/sdu              fc   disk  mpath_member         2.5T
`-/dev/mapper/mpathef                                   /dev/dm-6  /dev/sdu        mpath                      2.5T
  `-/dev/mapper/mpathef1                                /dev/dm-15 /dev/dm-6       part  VMFS_volume_member   2.5T
/dev/sdv                                                /dev/sdv              fc   disk  mpath_member           1T
`-/dev/mapper/mpathm                                    /dev/dm-18 /dev/sdv        mpath                        1T
  `-/dev/mapper/mpathm1                                 /dev/dm-21 /dev/dm-18      part  VMFS_volume_member  1024G
/dev/sdw                                                /dev/sdw              fc   disk  mpath_member           3T
`-/dev/mapper/mpatheg                                   /dev/dm-19 /dev/sdw        mpath                        3T
  `-/dev/mapper/mpatheg1                                /dev/dm-22 /dev/dm-19      part  VMFS_volume_member     3T
/dev/sdx                                                /dev/sdx              fc   disk  mpath_member           4T
`-/dev/mapper/mpathed                                   /dev/dm-7  /dev/sdx        mpath                        4T
  `-/dev/mapper/mpathed1                                /dev/dm-17 /dev/dm-7       part  VMFS_volume_member     4T
/dev/sdy                                                /dev/sdy              fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_ORACLE                             /dev/dm-4  /dev/sdy        mpath LVM2_member          100G
  `-/dev/mapper/vgoracle-lvoracle                       /dev/dm-33 /dev/dm-4       lvm   xfs                  100G /app
/dev/sdz                                                /dev/sdz              fc   disk  mpath_member          80G
`-/dev/mapper/BACKUP_db_RMANPROD_DATA                   /dev/dm-8  /dev/sdz        mpath LVM2_member           80G
  `-/dev/mapper/vgdb_RMANPROD_DATA-lvdb_RMANPROD_DATA   /dev/dm-28 /dev/dm-8       lvm   xfs                   80G /databases/RMANPROD/DATA
/dev/sdaa                                               /dev/sdaa             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_FRA                    /dev/dm-5  /dev/sdaa       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_FRA-lvdb_RMANPROD_FRA     /dev/dm-41 /dev/dm-5       lvm   xfs                   10G /databases/RMANPROD/FRA
/dev/sdab                                               /dev/sdab             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG1                   /dev/dm-9  /dev/sdab       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG1-lvdb_RMANPROD_LOG1   /dev/dm-34 /dev/dm-9       lvm   xfs                   10G /databases/RMANPROD/LOG1
/dev/sdac                                               /dev/sdac             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG2                   /dev/dm-12 /dev/sdac       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG2-lvdb_RMANPROD_LOG2   /dev/dm-26 /dev/dm-12      lvm   xfs                   10G /databases/RMANPROD/LOG2
/dev/sdad                                               /dev/sdad             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_DATA                  /dev/dm-2  /dev/sdad       mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_DATA-lvdb_CCREPPROD_DATA /dev/dm-27 /dev/dm-2       lvm   xfs                  100G /databases/CCREPPROD/DATA
/dev/sdae                                               /dev/sdae             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_FRA                   /dev/dm-14 /dev/sdae       mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_FRA-lvdb_CCREPPROD_FRA   /dev/dm-29 /dev/dm-14      lvm   xfs                  100G /databases/CCREPPROD/FRA
/dev/sdaf                                               /dev/sdaf             fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG1                  /dev/dm-11 /dev/sdaf       mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG1-lvdb_CCREPPROD_LOG1 /dev/dm-25 /dev/dm-11      lvm   xfs                   20G /databases/CCREPPROD/LOG1
/dev/sdag                                               /dev/sdag             fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG2                  /dev/dm-10 /dev/sdag       mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG2-lvdb_CCREPPROD_LOG2 /dev/dm-32 /dev/dm-10      lvm   xfs                   20G /databases/CCREPPROD/LOG2
/dev/sdah                                               /dev/sdah             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_APPL                               /dev/dm-13 /dev/sdah       mpath LVM2_member          100G
  `-/dev/mapper/vgappl-lvappl                           /dev/dm-31 /dev/dm-13      lvm   xfs                  100G /appl
/dev/sdai                                               /dev/sdai             fc   disk  mpath_member           4T
`-/dev/mapper/mpathee                                   /dev/dm-16 /dev/sdai       mpath                        4T
  `-/dev/mapper/mpathee1                                /dev/dm-20 /dev/dm-16      part  VMFS_volume_member     4T
/dev/sdaj                                               /dev/sdaj             fc   disk  mpath_member         2.5T
`-/dev/mapper/mpathef                                   /dev/dm-6  /dev/sdaj       mpath                      2.5T
  `-/dev/mapper/mpathef1                                /dev/dm-15 /dev/dm-6       part  VMFS_volume_member   2.5T
/dev/sdak                                               /dev/sdak             fc   disk  mpath_member           1T
`-/dev/mapper/mpathm                                    /dev/dm-18 /dev/sdak       mpath                        1T
  `-/dev/mapper/mpathm1                                 /dev/dm-21 /dev/dm-18      part  VMFS_volume_member  1024G
/dev/sdal                                               /dev/sdal             fc   disk  mpath_member           3T
`-/dev/mapper/mpatheg                                   /dev/dm-19 /dev/sdal       mpath                        3T
  `-/dev/mapper/mpatheg1                                /dev/dm-22 /dev/dm-19      part  VMFS_volume_member     3T
/dev/sdba                                               /dev/sdba             fc   disk  mpath_member           4T
`-/dev/mapper/mpathee                                   /dev/dm-16 /dev/sdba       mpath                        4T
  `-/dev/mapper/mpathee1                                /dev/dm-20 /dev/dm-16      part  VMFS_volume_member     4T
/dev/sdam                                               /dev/sdam             fc   disk  mpath_member         300G
`-/dev/mapper/BACKUP_repo                               /dev/dm-3  /dev/sdam       mpath xfs                  300G /repo
/dev/sdbb                                               /dev/sdbb             fc   disk  mpath_member         2.5T
`-/dev/mapper/mpathef                                   /dev/dm-6  /dev/sdbb       mpath                      2.5T
  `-/dev/mapper/mpathef1                                /dev/dm-15 /dev/dm-6       part  VMFS_volume_member   2.5T
/dev/sdan                                               /dev/sdan             fc   disk  mpath_member           1T
`-/dev/mapper/BACKUP_BU2D                               /dev/dm-1  /dev/sdan       mpath LVM2_member            1T
  `-/dev/mapper/vgbackup-lvbackup                       /dev/dm-30 /dev/dm-1       lvm   xfs                 1024G /backup
/dev/sdbc                                               /dev/sdbc             fc   disk  mpath_member           1T
`-/dev/mapper/mpathm                                    /dev/dm-18 /dev/sdbc       mpath                        1T
  `-/dev/mapper/mpathm1                                 /dev/dm-21 /dev/dm-18      part  VMFS_volume_member  1024G
/dev/sdao                                               /dev/sdao             fc   disk  mpath_member        1000G
`-/dev/mapper/BACKUP_OS_IMG                             /dev/dm-0  /dev/sdao       mpath LVM2_member         1000G
  `-/dev/mapper/vgimages-lvimages                       /dev/dm-35 /dev/dm-0       lvm   xfs                 1000G /images
/dev/sdbd                                               /dev/sdbd             fc   disk  mpath_member           3T
`-/dev/mapper/mpatheg                                   /dev/dm-19 /dev/sdbd       mpath                        3T
  `-/dev/mapper/mpatheg1                                /dev/dm-22 /dev/dm-19      part  VMFS_volume_member     3T
/dev/sdbe                                               /dev/sdbe             fc   disk  mpath_member         300G
`-/dev/mapper/BACKUP_repo                               /dev/dm-3  /dev/sdbe       mpath xfs                  300G /repo
/dev/sdap                                               /dev/sdap             fc   disk  mpath_member           4T
`-/dev/mapper/mpathed                                   /dev/dm-7  /dev/sdap       mpath                        4T
  `-/dev/mapper/mpathed1                                /dev/dm-17 /dev/dm-7       part  VMFS_volume_member     4T
/dev/sdbf                                               /dev/sdbf             fc   disk  mpath_member           1T
`-/dev/mapper/BACKUP_BU2D                               /dev/dm-1  /dev/sdbf       mpath LVM2_member            1T
  `-/dev/mapper/vgbackup-lvbackup                       /dev/dm-30 /dev/dm-1       lvm   xfs                 1024G /backup
/dev/sdaq                                               /dev/sdaq             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_ORACLE                             /dev/dm-4  /dev/sdaq       mpath LVM2_member          100G
  `-/dev/mapper/vgoracle-lvoracle                       /dev/dm-33 /dev/dm-4       lvm   xfs                  100G /app
/dev/sdbg                                               /dev/sdbg             fc   disk  mpath_member        1000G
`-/dev/mapper/BACKUP_OS_IMG                             /dev/dm-0  /dev/sdbg       mpath LVM2_member         1000G
  `-/dev/mapper/vgimages-lvimages                       /dev/dm-35 /dev/dm-0       lvm   xfs                 1000G /images
/dev/sdar                                               /dev/sdar             fc   disk  mpath_member          80G
`-/dev/mapper/BACKUP_db_RMANPROD_DATA                   /dev/dm-8  /dev/sdar       mpath LVM2_member           80G
  `-/dev/mapper/vgdb_RMANPROD_DATA-lvdb_RMANPROD_DATA   /dev/dm-28 /dev/dm-8       lvm   xfs                   80G /databases/RMANPROD/DATA
/dev/sdbh                                               /dev/sdbh             fc   disk  mpath_member           4T
`-/dev/mapper/mpathed                                   /dev/dm-7  /dev/sdbh       mpath                        4T
  `-/dev/mapper/mpathed1                                /dev/dm-17 /dev/dm-7       part  VMFS_volume_member     4T
/dev/sdas                                               /dev/sdas             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_FRA                    /dev/dm-5  /dev/sdas       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_FRA-lvdb_RMANPROD_FRA     /dev/dm-41 /dev/dm-5       lvm   xfs                   10G /databases/RMANPROD/FRA
/dev/sdbi                                               /dev/sdbi             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_ORACLE                             /dev/dm-4  /dev/sdbi       mpath LVM2_member          100G
  `-/dev/mapper/vgoracle-lvoracle                       /dev/dm-33 /dev/dm-4       lvm   xfs                  100G /app
/dev/sdat                                               /dev/sdat             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG1                   /dev/dm-9  /dev/sdat       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG1-lvdb_RMANPROD_LOG1   /dev/dm-34 /dev/dm-9       lvm   xfs                   10G /databases/RMANPROD/LOG1
/dev/sdbj                                               /dev/sdbj             fc   disk  mpath_member          80G
`-/dev/mapper/BACKUP_db_RMANPROD_DATA                   /dev/dm-8  /dev/sdbj       mpath LVM2_member           80G
  `-/dev/mapper/vgdb_RMANPROD_DATA-lvdb_RMANPROD_DATA   /dev/dm-28 /dev/dm-8       lvm   xfs                   80G /databases/RMANPROD/DATA
/dev/sdau                                               /dev/sdau             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG2                   /dev/dm-12 /dev/sdau       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG2-lvdb_RMANPROD_LOG2   /dev/dm-26 /dev/dm-12      lvm   xfs                   10G /databases/RMANPROD/LOG2
/dev/sdbk                                               /dev/sdbk             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_FRA                    /dev/dm-5  /dev/sdbk       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_FRA-lvdb_RMANPROD_FRA     /dev/dm-41 /dev/dm-5       lvm   xfs                   10G /databases/RMANPROD/FRA
/dev/sdav                                               /dev/sdav             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_DATA                  /dev/dm-2  /dev/sdav       mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_DATA-lvdb_CCREPPROD_DATA /dev/dm-27 /dev/dm-2       lvm   xfs                  100G /databases/CCREPPROD/DATA
/dev/sdbl                                               /dev/sdbl             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG1                   /dev/dm-9  /dev/sdbl       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG1-lvdb_RMANPROD_LOG1   /dev/dm-34 /dev/dm-9       lvm   xfs                   10G /databases/RMANPROD/LOG1
/dev/sdaw                                               /dev/sdaw             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_FRA                   /dev/dm-14 /dev/sdaw       mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_FRA-lvdb_CCREPPROD_FRA   /dev/dm-29 /dev/dm-14      lvm   xfs                  100G /databases/CCREPPROD/FRA
/dev/sdbm                                               /dev/sdbm             fc   disk  mpath_member          10G
`-/dev/mapper/BACKUP_db_RMANPROD_LOG2                   /dev/dm-12 /dev/sdbm       mpath LVM2_member           10G
  `-/dev/mapper/vgdb_RMANPROD_LOG2-lvdb_RMANPROD_LOG2   /dev/dm-26 /dev/dm-12      lvm   xfs                   10G /databases/RMANPROD/LOG2
/dev/sdax                                               /dev/sdax             fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG1                  /dev/dm-11 /dev/sdax       mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG1-lvdb_CCREPPROD_LOG1 /dev/dm-25 /dev/dm-11      lvm   xfs                   20G /databases/CCREPPROD/LOG1
/dev/sdbn                                               /dev/sdbn             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_DATA                  /dev/dm-2  /dev/sdbn       mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_DATA-lvdb_CCREPPROD_DATA /dev/dm-27 /dev/dm-2       lvm   xfs                  100G /databases/CCREPPROD/DATA
/dev/sday                                               /dev/sday             fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG2                  /dev/dm-10 /dev/sday       mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG2-lvdb_CCREPPROD_LOG2 /dev/dm-32 /dev/dm-10      lvm   xfs                   20G /databases/CCREPPROD/LOG2
/dev/sdbo                                               /dev/sdbo             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_db_CCREPPROD_FRA                   /dev/dm-14 /dev/sdbo       mpath LVM2_member          100G
  `-/dev/mapper/vgdb_CCREPPROD_FRA-lvdb_CCREPPROD_FRA   /dev/dm-29 /dev/dm-14      lvm   xfs                  100G /databases/CCREPPROD/FRA
/dev/sdaz                                               /dev/sdaz             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_APPL                               /dev/dm-13 /dev/sdaz       mpath LVM2_member          100G
  `-/dev/mapper/vgappl-lvappl                           /dev/dm-31 /dev/dm-13      lvm   xfs                  100G /appl
/dev/sdbp                                               /dev/sdbp             fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG1                  /dev/dm-11 /dev/sdbp       mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG1-lvdb_CCREPPROD_LOG1 /dev/dm-25 /dev/dm-11      lvm   xfs                   20G /databases/CCREPPROD/LOG1
/dev/sdbq                                               /dev/sdbq             fc   disk  mpath_member          20G
`-/dev/mapper/BACKUP_db_CCREPPROD_LOG2                  /dev/dm-10 /dev/sdbq       mpath LVM2_member           20G
  `-/dev/mapper/vgdb_CCREPPROD_LOG2-lvdb_CCREPPROD_LOG2 /dev/dm-32 /dev/dm-10      lvm   xfs                   20G /databases/CCREPPROD/LOG2
/dev/sdbr                                               /dev/sdbr             fc   disk  mpath_member         100G
`-/dev/mapper/BACKUP_APPL                               /dev/dm-13 /dev/sdbr       mpath LVM2_member          100G
  `-/dev/mapper/vgappl-lvappl                           /dev/dm-31 /dev/dm-13      lvm   xfs                  100G /appl
/dev/sdbs                                               /dev/sdbs             fc   disk  mpath_member           4T
`-/dev/mapper/mpathee                                   /dev/dm-16 /dev/sdbs       mpath                        4T
  `-/dev/mapper/mpathee1                                /dev/dm-20 /dev/dm-16      part  VMFS_volume_member     4T
/dev/sdbt                                               /dev/sdbt             fc   disk  mpath_member         2.5T
`-/dev/mapper/mpathef                                   /dev/dm-6  /dev/sdbt       mpath                      2.5T
  `-/dev/mapper/mpathef1                                /dev/dm-15 /dev/dm-6       part  VMFS_volume_member   2.5T
/dev/sdbu                                               /dev/sdbu             fc   disk  mpath_member           1T
`-/dev/mapper/mpathm                                    /dev/dm-18 /dev/sdbu       mpath                        1T
  `-/dev/mapper/mpathm1                                 /dev/dm-21 /dev/dm-18      part  VMFS_volume_member  1024G
/dev/sdbv                                               /dev/sdbv             fc   disk  mpath_member           3T
`-/dev/mapper/mpatheg                                   /dev/dm-19 /dev/sdbv       mpath                        3T
  `-/dev/mapper/mpatheg1                                /dev/dm-22 /dev/dm-19      part  VMFS_volume_member     3T
  • Description of the issue (ideally so that others can reproduce it):
    executing "rear -v mkbackup" provokes the error

  • Workaround, if any:

  • Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
    debug.txt

gdha commented at 2021-07-09 09:55:

@hamsterbacke Could you add the files saved under directory /var/lib/rear/layout/ please so we can have a better view?

hamsterbacke commented at 2021-07-09 12:17:

layout.tar.gz

jsmeix commented at 2021-07-12 10:58:

We are intentionally asking for a "rear -D mkrescue" debug log file
and not only for a in practice useless snippet like
https://github.com/rear/rear/files/6784547/debug.txt
that basically only conains the error message in excessive debug mode
but nothing how it came to the error so nothing for actual debugging.

For comparison how things normally look like
(here on one of my KVM/QEMU tests VMs - I don't have any multipath):

localhost:~/rear.github.master # egrep '^lvm|sda' var/lib/rear/layout/disklayout.conf
# /dev/sda                    /dev/sda            ata  disk               20G 
# |-/dev/sda1                 /dev/sda1 /dev/sda       part                8M 
# `-/dev/sda2                 /dev/sda2 /dev/sda       part LVM2_member   20G 
#   |-/dev/mapper/system-swap /dev/dm-0 /dev/sda2      lvm  swap           2G [SWAP]
#   |-/dev/mapper/system-root /dev/dm-1 /dev/sda2      lvm  btrfs       12.6G /
#   `-/dev/mapper/system-home /dev/dm-2 /dev/sda2      lvm  xfs          5.4G /home
# Disk /dev/sda
disk /dev/sda 21474836480 gpt
# Partitions on /dev/sda
part /dev/sda 8388608 1048576 rear-noname bios_grub /dev/sda1
part /dev/sda 21465382400 9437184 rear-noname lvm,legacy_boot /dev/sda2
lvmdev /dev/system /dev/sda2 e2NM5J-brmg-6kic-exST-oBwb-GY2h-KREbYJ 41924575
lvmgrp /dev/system 4096 5117 20959232
lvmvol /dev/system swap 2147483648b linear 
lvmvol /dev/system home 5792333824b linear 
lvmvol /dev/system root 13522436096b linear

In contrast in your case disklayout.conf is (excerpts)

# `-/dev/sdb3                                             /dev/sdb3  /dev/sdb        part  LVM2_member        
#   |-/dev/mapper/vgsystem-lvroot                         /dev/dm-23 /dev/sdb3       lvm   xfs                
#   |-/dev/mapper/vgsystem-lvswap                         /dev/dm-24 /dev/sdb3       lvm   swap               
#   |-/dev/mapper/vgsystem-lvhome                         /dev/dm-36 /dev/sdb3       lvm   xfs                
#   |-/dev/mapper/vgsystem-lvlocal                        /dev/dm-37 /dev/sdb3       lvm   xfs                
#   |-/dev/mapper/vgsystem-lvopt                          /dev/dm-38 /dev/sdb3       lvm   xfs                
#   |-/dev/mapper/vgsystem-lvlog                          /dev/dm-39 /dev/sdb3       lvm   xfs                
#   `-/dev/mapper/vgsystem-lvvar                          /dev/dm-40 /dev/sdb3       lvm   xfs                
...
lvmdev /dev/vgappl /dev/mapper/BACKUP_APPL smbwB0-5cvw-G4x7-j4Pb-54Pk-xJak-8dxDVH 209715200...
lvmgrp /dev/vgappl 16384 6399 104841216
lvmgrp /dev/vgsystem 4096 71211 291680256
lvmvol /dev/vgappl lvappl 107357405184b linear 
lvmvol /dev/vgsystem lvhome 10737418240b linear 
lvmvol /dev/vgsystem lvlocal 10737418240b linear 
lvmvol /dev/vgsystem lvlog 10737418240b linear 
lvmvol /dev/vgsystem lvopt 6442450944b linear 
lvmvol /dev/vgsystem lvroot 42949672960b linear 
lvmvol /dev/vgsystem lvswap 8589934592b linear 
lvmvol /dev/vgsystem lvvar 10737418240b linear

You have a lvmdev /dev/vgappl /dev/mapper/BACKUP_APPL
and other /dev/vgappl related things
but you have no lvmdev /dev/vgsystem /dev/sdb3

So we need to find out what went wrong why you have
no lvmdev /dev/vgsystem /dev/sdb3 that you should have.

hamsterbacke commented at 2021-07-12 17:14:

Hi there, thanks for the reply. I just did what was displayed I should do:

BUG in /usr/share/rear/layout/save/default/950_verify_disklayout_file.sh line 254:
'Entries in /var/lib/rear/layout/disklayout.conf are broken ('rear recover' would fail)'
--------------------
Please report this issue at https://github.com/rear/rear/issues
**and include the relevant parts from** /var/log/rear/rear-backup.log
preferably with full debug information via 'rear -D mkbackup'

I thought it is meant to be not the whole debug log because of "include the relevant parts from".
Here is the full log
rear-backup.zip

I will see tomorrow what could be wrong with the lvmdev

hamsterbacke commented at 2021-07-13 12:47:

Thanks for pointing me in the right direction. I found out that there was a filter in /etc/lvm/lvm.conf "Limit the block devices that are used by LVM commands."
It was just allowing /dev/sda* and /dev/mapper and rejected everthing else. That is why it couldn't find /dev/sdb3. After removing the filter it works again.
Thank you very much.

jsmeix commented at 2021-07-13 13:34:

@hamsterbacke
thank you for your descriptive feedback
that the root cause was a special setting in your particular environment
and what that special setting was.

Such feedback can help us to better imagine
what possible actual reasons there could be
for certain kind of symptoms in ReaR.

jsmeix commented at 2021-07-13 13:46:

Via
https://github.com/rear/rear/commit/bccb2abc9ca4e3a8ac726c6e4f267b44a87c29e7
there is now better wording what info users should provide in case of BugError
cf. https://github.com/rear/rear/issues/2651#issuecomment-878450925


[Export of Github issue for rear/rear.]