#1441 Issue closed: An error occurred during layout recreation - SLES12 on Power

Labels: support / question, fixed / solved / done

schubiduuu opened issue at 2017-08-09 08:36:

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): 2.2-git.0.b09a500.unknown.changed / 2017-08-01
  • OS version (cat /etc/rear/os.conf or lsb_release -a): 12
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
AUTOEXCLUDE_MULTIPATH=n
BOOT_OVER_SAN=y

OUTPUT=ISO
BACKUP=TSM
OUTPUT_URL=file:///iso/

REAR_INITRD_COMPRESSION=lzma

COPY_AS_IS_TSM=( /etc/adsm/TSM.PWD /opt/tivoli/tsm/client/ba/bin/dsmc /opt/tivoli/tsm/client/ba/bin/inclexcl /opt/tivoli/tsm/client/ba/bin/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.opt /opt/tivoli/tsm/client/api/bin64/libgpfs.so /opt/tivoli/tsm/client/api/bin64/libdmapi.so /opt/tivoli/tsm/client/ba/bin/EN_US/dsmclientV3.cat /usr/local/ibm/gsk8* )
  • Are you using legacy BIOS or UEFI boot? UEFI
  • Brief description of the issue: We are trying to restore a SLES 12 VM running on Power. Source and destination server have the same disk layout but we encountered an issue during layout recreation.
    An extract of the log:
+++ echo -e 'Creating LVM PV /dev/mapper/SIBM_3303_NVDISK893cfedfaa5ff2c914fb32cf8057b8d6-part2'
+++ lvm vgchange -a n system
  Volume group "system" not found
  Cannot process volume group system
+++ true
+++ lvm pvcreate -ff --yes -v --uuid sHG6OH-Y6qm-4ZMe-1TWh-zr0z-faWn-MNXEDx --restorefile /var/lib/rear/layout/lvm/system.cfg /dev/mapper/SIBM_3303_NVDISK893cfedfaa5ff2c914fb32cf8057b8d6-part2
  Couldn't find device with uuid sHG6OH-Y6qm-4ZMe-1TWh-zr0z-faWn-MNXEDx.
    Wiping cache of LVM-capable devices
  Can't open /dev/mapper/SIBM_3303_NVDISK893cfedfaa5ff2c914fb32cf8057b8d6-part2 exclusively.  Mounted filesystem?
2017-08-09 07:44:53.826331607 An error occurred during layout recreation.

Does anyone know what needs to be done to solve this issue?

  • Work-around, if any:

schubiduuu commented at 2017-08-09 12:03:

Issue is solved by using /usr/share/rear/conf/examples/SLE12-SP2-btrfs-example.conf.

Required system files were missing in the ISO.


[Export of Github issue for rear/rear.]