This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LogPrint "Start system layout restoration." | |
mkdir -p /mnt/local | |
if create_component "vgchange" "rear" ; then | |
lvm vgchange -a n >&8 | |
component_created "vgchange" "rear" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disk /dev/sda | |
# Format: disk <devname> <size(bytes)> <partition label type> | |
disk /dev/sda 2000398934016 msdos | |
# Partitions on /dev/sda | |
# Format: part <device> <partition size(bytes)> <partition start(bytes)> <partition type|name> <flags> /dev/<partition> | |
part /dev/sda 254803968 1048576 primary boot /dev/sda1 | |
part /dev/sda 1024 256900096 primary none /dev/sda2 | |
part /dev/sda 2000141942784 256901120 logical lvm /dev/sda5 | |
lvmdev /dev/Stark-vg /dev/sda5 ImZ231-KcF7-vIyB-5eB8-raak-HmG6-oKvx7t 3906527232 | |
lvmgrp /dev/Stark-vg 4096 476870 1953259520 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rear> cat /var/log/ | |
.gitignore lastlog rear/ | |
rear> cat /var/log/rear/rear-Stark.log | |
2016-08-01 19:00:36 Relax-and-Recover 1.18 / Git | |
2016-08-01 19:00:36 Command line options: /bin/rear recover | |
2016-08-01 19:00:36 Using log file: /var/log/rear/rear-Stark.log | |
2016-08-01 19:00:36 Including /etc/rear/os.conf | |
2016-08-01 19:00:36 Including conf/Linux-i386.conf | |
2016-08-01 19:00:36 Including conf/GNU/Linux.conf | |
2016-08-01 19:00:36 Including conf/Ubuntu.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@Stark:/root# cat /proc/cpuinfo | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 58 | |
model name : Intel(R) Celeron(R) CPU G1610T @ 2.30GHz | |
stepping : 9 | |
microcode : 0x1c | |
cpu MHz : 2129.720 | |
cache size : 2048 KB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@Stark:/root# cat /var/lib/rear/layout/diskrestore.sh | |
#!/bin/bash | |
# Script ./make_rear_diskrestore_script.sh produced this /var/lib/rear/layout/diskrestore.sh file | |
# It is meant as debugging aid - do not run it or edit it | |
# Gratien D'haese - gratien . dhaese @ gmail . com | |
# Copyright GPLv3 | |
# | |
############################################################ | |
# | |
echo "Script ./make_rear_diskrestore_script.sh produced /var/lib/rear/layout/diskrestore.sh file" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@Stark:/root# rear -vD savelayout | |
Relax-and-Recover 1.18-git201607251102 / 2016-07-25 | |
Using log file: /var/log/rear/rear-Stark.log | |
Creating disk layout | |
root@Stark:/root# cat /var/lib/rear/layout/disklayout.conf | |
# Disk /dev/sda | |
# Format: disk <devname> <size(bytes)> <partition label type> | |
disk /dev/sda 2000398934016 msdos | |
# Partitions on /dev/sda | |
# Format: part <device> <partition size(bytes)> <partition start(bytes)> <partition type|name> <flags> /dev/<partition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARCH = Linux-i386 | |
OS = GNU/Linux | |
OS_MASTER_VENDOR = Debian | |
OS_MASTER_VERSION = 15.10 | |
OS_MASTER_VENDOR_ARCH = Debian/i386 | |
OS_MASTER_VENDOR_VERSION = Debian/15.10 | |
OS_MASTER_VENDOR_VERSION_ARCH = Debian/15.10/i386 | |
OS_VENDOR = Ubuntu | |
OS_VERSION = 15.10 | |
OS_VENDOR_ARCH = Ubuntu/i386 |
NewerOlder