-
-
Notifications
You must be signed in to change notification settings - Fork 268
Closed
Labels
bugThe code does not do what it is meant to doThe code does not do what it is meant to doenhancementAdaptions and new featuresAdaptions and new featuresfixed / solved / donewaiting for infoAlso used to mark an issue as stale, cf. stale.ymlAlso used to mark an issue as stale, cf. stale.yml
Milestone
Description
- rear version (/usr/sbin/rear -V): rear-1.18-1.git201605271003
- OS version (cat /etc/rear/os.conf or lsb_release -a): Fedora 21
- rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000
USB_RETAIN_BACKUP_NR=1
BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}"
'/backup'
'/sys'
'/root/.ssh/known_hosts'
'/root/.ssh/known_hosts2'
'/root/.ccache'
'/root/.gem'
'/selinux'
'/var/cache/ccache'
'/var/cache/yum'
'/var/cache/man'
'/usr/local/src'
'/usr/share/doc'
'/usr/share/man'
'/usr/share/gtk-doc'
'/usr/share/info'
'/usr/src/*'
'/usr/lib/modules/3.8.13-ds'
'/var/log/messages'
'/var/log/maillog'
'/var/log/Xorg.0.log'
'/var/log/Xorg.0.log.old'
'/var/log/secure'
'/var/log/journal'
'/var/log/audit'
'/var/log/wtmp'
'/var/log/lastlog'
'/dev'
'/proc'
'/var/lib/rear/output' )
COPY_AS_IS_EXCLUDE=( ${copy_as_is_exclude[@]}
'/backup'
'/sys'
'/root/.ssh/known_hosts'
'/root/.ssh/known_hosts2'
'/root/.ccache'
'/root/.gem'
'/selinux'
'/var/cache/ccache'
'/var/cache/yum'
'/var/cache/man'
'/usr/local/src'
'/usr/share/doc'
'/usr/share/man'
'/usr/share/gtk-doc'
'/usr/share/info'
'/usr/src/*'
'/var/log/messages'
'/var/log/maillog'
'/var/log/Xorg.0.log'
'/var/log/Xorg.0.log.old'
'/var/log/secure'
'/var/log/journal'
'/var/log/audit'
'/var/log/wtmp'
'/var/log/lastlog'
'/dev'
'/proc'
'/var/lib/rear/output' )
USE_DHCLIENT=No
USE_STATIC_NETWORKING=Yes
TMPDIR="/home/sim/release-1-9-40/devel/install/images/temp"
- Brief description of the issue:
This is only a problem on a system with an identical disk drive. The initrd image of the restored system fails to boot after completing restore because it is still looking for the UUID's that were allocated when the filesystem was created and used prior to the call to tune2fs to change them back to what they were on the backed up system. This makes no sense unless something is monitoring the disk for changes and then automatically updating initrd but therein lies the mystery.
- Work-around, if any:
1: Let dracut go to its emergency shell (takes around 5 minutes)
2: Mount root file system somewhere
3: chroot to mounted root file system
4: mount /boot at its respective mount point
5: run dracut -f /boot/initrd_image_filename
6: reboot
Metadata
Metadata
Assignees
Labels
bugThe code does not do what it is meant to doThe code does not do what it is meant to doenhancementAdaptions and new featuresAdaptions and new featuresfixed / solved / donewaiting for infoAlso used to mark an issue as stale, cf. stale.ymlAlso used to mark an issue as stale, cf. stale.yml