[rear-users] not booting further than initrd after successful restore

Schlomo Schapiro schlomo at schapiro.org
Wed Aug 12 14:58:43 CEST 2015


Hi,

did you dig into the initrd process via
https://fedoraproject.org/wiki/Dracut/Options#Debug?

For example, you could use one of the rd.break options to take a look into
the initrd environment.

Kind Regards,
Schlomo

On 12 August 2015 at 14:56, Benjamin Haubeck <bhaubeck at gmail.com> wrote:

> attached the log file for one of the not really successful restores.
>
> thx and kind regards,
>
>         ben
>
>
> On 12.08.2015 13:17, Benjamin Haubeck wrote:
> > Hello,
> >
> > thanks for ReaR, i appreciate the easy configuration.
> > Untypically i run into a weird problem during this implementation:
> >
> > I am recover RHEL 7.1 (all file systems are xfs), backup solution is
> > TSM, SELinux is in permissive mode.
> >
> > After restoring, i end up with a system that boots until the end or
> > near the end of the initrd but stops there forever.
> > The last message it prints with the rd.debug setting set in the kernel
> > line is:
> >
> > dracut-pre-pivot[585]: /bin/dracut-pre-pivot at 29(): exit 0
> >
> >
> >
> > I found some logfiles in /var/log/rear but they are only for the ISO
> > creation not for the restore.
> >
> > and now the weird thing:
> > if i am booting with the RHEL 7.1 install - CD into the rescue mode
> > and chroot into the system but doing nothing else but logout and
> > reboot the system it works flawlessly after that, relabels the files,
> > reboots once more and is finished.
> >
> > What am i missing?
> >
> > here are some information about the system:
> >
> > [root at server001 tmp]# cat /etc/redhat-release
> > Red Hat Enterprise Linux Server release 7.1 (Maipo)
> >
> > [root at server001 tmp]# uname -a
> > Linux server001 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST
> > 2015 x86_64 x86_64 x86_64 GNU/Linux
> >
> >
> >
> > [root at server001 log]# rear dump
> > Relax-and-Recover 1.17.1 / Git
> > Using log file: /var/log/rear/rear-server001.log.lockless
> > Dumping out configuration and system information
> > This is a 'Linux-x86_64' system, compatible with 'Linux-i386'.
> > System definition:
> > ARCH = Linux-i386
> > OS = GNU/Linux
> > OS_MASTER_VENDOR = Fedora
> > OS_MASTER_VERSION = 7
> > OS_MASTER_VENDOR_ARCH = Fedora/i386
> > OS_MASTER_VENDOR_VERSION = Fedora/7
> > OS_MASTER_VENDOR_VERSION_ARCH = Fedora/7/i386
> > OS_VENDOR = RedHatEnterpriseServer
> > OS_VERSION = 7
> > OS_VENDOR_ARCH = RedHatEnterpriseServer/i386
> > OS_VENDOR_VERSION = RedHatEnterpriseServer/7
> > OS_VENDOR_VERSION_ARCH = RedHatEnterpriseServer/7/i386
> > Configuration tree:
> > Linux-i386.conf : OK
> > GNU/Linux.conf : OK
> > Fedora.conf : missing/empty
> > Fedora/i386.conf : missing/empty
> > Fedora/7.conf : missing/empty
> > Fedora/7/i386.conf : missing/empty
> > RedHatEnterpriseServer.conf : missing/empty
> > RedHatEnterpriseServer/i386.conf : missing/empty
> > RedHatEnterpriseServer/7.conf : missing/empty
> > RedHatEnterpriseServer/7/i386.conf : missing/empty
> > site.conf : OK
> > local.conf : OK
> > Backup with TSM
> > TSM_ARCHIVE_MGMT_CLASS =
> > TSM_DSMC_RESTORE_OPTIONS =
> > TSM_RESTORE_PIT_DATE =
> > TSM_RESTORE_PIT_TIME =
> > TSM_RESULT_FILE_PATH = /opt/tivoli/tsm/rear
> > TSM_RESULT_SAVE = n
> > TSM_RM_ISOFILE =
> > BACKUP_INTEGRITY_CHECK =
> > BACKUP_MOUNTCMD =
> > BACKUP_OPTIONS =
> > BACKUP_RSYNC_OPTIONS = --sparse --archive --hard-links --verbose
> > --numeric-ids --stats
> > BACKUP_SELINUX_DISABLE = 1
> > BACKUP_TYPE =
> > BACKUP_UMOUNTCMD =
> > BACKUP_URL =
> > Output to ISO
> > ISO_DIR = /var/lib/rear/output
> > ISO_FILES =
> > ISO_IMAGES =
> > ISO_ISOLINUX_BIN =
> > ISO_MAX_SIZE =
> > ISO_MKISOFS_BIN = /bin/mkisofs
> > ISO_PREFIX = rear-server001
> > ISO_VOLID = RELAXRECOVER
> > RESULT_MAILTO =
> >
> > /usr/share/rear/lib/validated/RedHatEnterpriseServer/7/i386.txt
> > Your system is not yet validated. Please carefully check all functions
> > and create a validation record with 'rear validate'. This will help othe
> > rs
> > to know about the validation status of Relax-and-Recover on this system.
> > [root at server001 log]
> >
> > thx,
> >
> >       ben
> >
> >
> >
>
> --
>
> Benjamin Haubeck
> Key-Fingerprint: E7E3 A909 494F 7E28 FADF C440 0B16 2E66 3DF0 7A8A
>
> _______________________________________________
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
> http://pikachu.3ti.be/mailman/listinfo/rear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pikachu.3ti.be/pipermail/rear-users/attachments/20150812/49dc359a/attachment.html>


More information about the rear-users mailing list