SUSE Support

Here When You Need Us

rear -d -D mkbackup gives ERROR: Could not create ISO image (with /usr/bin/mkisofs)

This document (000019856) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server 15 SP1
SUSE Linux Enterprise High Availability Extension 15 SP2
SUSE Linux Enterprise High Availability Extension 15 SP1
 

Situation

Running "rear -d -D mbackup" shows the following at the console:

server:~ # rear -d -D mkbackup
Relax-and-Recover 2.4 / Git
Running rear mkbackup (PID 7088)
Using log file: /var/log/rear/rear-server.log
Using backup archive '/tmp/rear.89pkYz3DLPtrFlh/outputfs/server/backup.tar.gz'
Using UEFI Boot Loader for Linux (USING_UEFI_BOOTLOADER=1)
Creating disk layout
Doing SLES12-SP1 (and later) btrfs subvolumes setup because the default subvolume path contains '@/.snapshots/'
Using sysconfig bootloader 'grub2-efi'
Creating root filesystem layout
Handling network interface 'eth0'
eth0 is a physical device
Handled network interface 'eth0'
To log into the recovery system via ssh set up /root/.ssh/authorized_keys or specify SSH_ROOT_PASSWORD
Trying to find what to use as UEFI bootloader...
Trying to find a 'well known file' to be used as UEFI bootloader...
Using '/boot/efi/EFI/sles/grubx64.efi' as UEFI bootloader file
Copying logfile /var/log/rear/rear-server.log into initramfs as '/tmp/rear-server-partial-2021-01-13T15:04:17+01:00.log'
Copying files and directories
Copying binaries and libraries
Copying kernel modules
Copying all files in /lib*/firmware/
Creating recovery/rescue system initramfs/initrd initrd.cgz with gzip default compression
Created initrd.cgz with gzip default compression (288841031 bytes) in 39 seconds
Making ISO image
ERROR: Could not create ISO image (with /usr/bin/mkisofs)
Some latest log messages since the last called script 820_create_iso_image.sh:
        -UDF                    Generate UDF file system
        -dvd-audio              Generate DVD-Audio compliant UDF file system
        -dvd-video              Generate DVD-Video compliant UDF file system
        -dvd-hybrid             Generate a hybrid (DVD-Audio/DVD-Video) compliant UDF file system
        -iso-level LEVEL        Set ISO9660 level (1..3) or 4 for ISO9660 v 2
        -V ID, -volid ID        Set Volume ID
        -graft-points           Allow to use graft points for filenames
        -M FILE, -prev-session FILE     Set path to previous session to merge
Aborting due to an error, check /var/log/rear/rear-server.log for details
Exiting rear mkbackup (PID 7088) and its descendant processes
Running exit tasks
You should also rm -Rf /tmp/rear.89pkYz3DLPtrFlh
Terminated

Resolution

If your system boots with a UEFI boot loader, install the package ebiso and add the following line into /etc/rear/local.conf:

ISO_MKISOFS_BIN=/usr/bin/ebiso

Cause

To allow disaster recovery on UEFI systems, you need at least Rear version 1.18.a and the package ebiso. 
Only this version supports the new helper tool /usr/bin/ebiso
This helper tool is used to create a UEFI-bootable Rear system ISO image.
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019856
  • Creation Date: 03-Feb-2021
  • Modified Date:05-Feb-2021
    • SUSE Linux Enterprise High Availability Extension
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.