Results 1 to 2 of 2

Thread: REAR recover failed SLES12SP3 on PowerPC

Hybrid View

  1. #1

    REAR recover failed SLES12SP3 on PowerPC

    Server = 8284 -22A (power8)
    OS = SUSE Linux Enterprise server
    Version = 12 SP 3
    Rear Version = rear-2.5-99.git.0.ef3febb.unknown.changed.ppc64le


    **config file /etc/local.conf

    OUTPUT=ISO
    BACKUP=NETFS
    #BACKUP_OPTIONS="nfsvers=3,nolock"
    #BACKUP_URL=file:///tmp/ktm
    #OUTPUT_URL=nfs://192.168.130.52/NFS_DIT
    BACKUP_URL=nfs://192.168.130.52/NFS_DIT/

    #REQUIRED_PROGS=( "${REQUIRED_PROGS[@]}" snapper chattr lsattr )
    #COPY_AS_IS=( "${COPY_AS_IS[@]}" /usr/lib/snapper/installation-helper /etc/snapper/config-templates/default )
    BACKUP_PROG_INCLUDE=( /srv /var/lib/mailman /tmp /var/lib/libvirt/images /var/opt /var/log /boot/grub2/powerpc-ieee1275 /var/lib/mysql /var/tmp /opt /var/spool /var/lib/pgsql /var/lib/mariadb /usr/local /home /var/lib/machines /var/lib/named /var/cache )
    #POST_RECOVERY_SCRIPT=( 'if snapper --no-dbus -r $TARGET_FS_ROOT get-config | grep -q "^QGROUP.*[0-9]/[0-9]" ; then snapper --no-dbus -r $TARGET_FS_ROOT set-config QGROUP= ; snapper --no-dbus -r $TARGET_FS_ROOT setup-quota && echo snapper setup-quota done || echo snapper setup-quota failed ; else echo snapper setup-quota not used ; fi' )
    #SSH_ROOT_PASSWORD="root"
    #USE_DHCLIENT="yes"


    **error after restore (rear recover)

    Confirm restored config files are OK or adapt them as needed
    1) Confirm it is OK to recreate initrd and reinstall bootloader and continue 'rear recover'
    2) Edit restored etc/fstab (/mnt/local/etc/fstab)
    3) View restored etc/fstab (/mnt/local/etc/fstab)
    4) Use Relax-and-Recover shell and return back to here
    5) Abort 'rear recover'
    (default '1' timeout 300 seconds)
    1
    User confirmed restored files
    Running mkinitrd...
    Recreated initrd (/sbin/mkinitrd).
    Installing GRUB2 boot loader on PPC64/PPC64LE...
    Determining where to install GRUB2 (no GRUB2_INSTALL_DEVICES specified)
    Cannot install GRUB2 (unable to find a PPC PReP boot partition)
    WARNING:
    For this system
    SUSE_LINUX/12.3 on Linux-ppc64le (based on SUSE/12/ppc64le)
    there is no code to install a boot loader on the recovered system
    or the code that we have failed to install the boot loader correctly.
    Please contribute appropriate code to the Relax-and-Recover project,
    see http://relax-and-recover.org/development/
    Take a look at the scripts in /usr/share/rear/finalize,
    for example see the scripts
    /usr/share/rear/finalize/Linux-i386/630_install_grub.sh
    /usr/share/rear/finalize/Linux-i386/660_install_grub2.sh

    ---------------------------------------------------
    | IF YOU DO NOT INSTALL A BOOT LOADER MANUALLY, |
    | THEN YOUR SYSTEM WILL NOT BE ABLE TO BOOT. |
    ---------------------------------------------------

    You can use 'chroot /mnt/local bash --login'
    to change into the recovered system.
    You should at least mount /proc in the recovered system
    e.g. via 'mount -t proc none /mnt/local/proc'
    before you change into the recovered system
    and manually install a boot loader therein.

    Finished recovering your system. You can explore it under '/mnt/local'.
    Exiting rear recover (PID 6128) and its descendant processes ...
    Running exit tasks
    #

  2. Re: REAR recover failed SLES12SP3 on PowerPC

    Hello praditk,

    The SLE HA Extension includes the package rear23a which was added to restore SLES on ppc64le -https://scc.suse.com/packages?name=SUSE%20Linux%20Enterprise%20Server&v ersion=12.3&arch=ppc64le&query=rear&module= . Have you tried this?

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •