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

Gratien D'haese gratien.dhaese at it3.be
Wed Aug 12 15:34:30 CEST 2015


 Noticed an error in the log file you added during the initrd 
 recreation:
 cat: write error: Broken pipe

 Strange, out of space perhaps??


 On Wed, 12 Aug 2015 14:56:48 +0200, 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
>>
>>
>>

-- 
 Gratien D'haese
 IT3 Consultants bvba
 Vennestraat 15, B-2560 Nijlen


More information about the rear-users mailing list