-
-
Save wdpoorte/8b203c8cd6c203ddc6da to your computer and use it in GitHub Desktop.
rear issue layout creation
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 10737745920 msdos | |
disk /dev/sdb 146778685440 msdos | |
part /dev/sdb 536870912 1048576 primary boot /dev/sdb1 | |
part /dev/sdb 68719476736 537919488 primary lvm /dev/sdb2 | |
part /dev/sdb 24121442304 69257396224 primary none /dev/sdb3 | |
#part /dev/sdb 1024 93378838528 extended none /dev/sdb4 | |
#part /dev/sdb 44500516864 93379887104 logical lvm /dev/sdb5 | |
#part /dev/sdb 8897167360 137881452544 logical lvm /dev/sdb6 | |
#disk /dev/sdc 10737745920 msdos | |
lvmdev /dev/vg00 /dev/sdb2 9PIZAC-p8uE-iUCg-4Nez-3cv7-q1Mn-Tt91te 134217728 | |
#lvmdev /dev/vg_data /dev/mapper/mpathbp2 hDdsZq-xZ3z-Tlch-2yM6-eKH1-6qvY-crKZtW 20916630 | |
#lvmdev /dev/#orphans_lvm2 /dev/sdb5 Eg2A17-Top3-zugP-V9XR-s1lD-3GMc-NaGQK3 86915072 | |
#lvmdev /dev/#orphans_lvm2 /dev/sdb6 Y6NAmW-hnfj-Cl73-l9V7-nDA8-KpZO-jceoP6 17377280 | |
lvmgrp /dev/vg00 32768 2047 67076096 | |
#lvmgrp /dev/vg_data 4096 2553 10457088 | |
lvmvol /dev/vg00 lv00 256 16777216 | |
lvmvol /dev/vg00 lv01 256 16777216 | |
lvmvol /dev/vg00 lv02 256 16777216 | |
lvmvol /dev/vg00 lv03 256 16777216 | |
lvmvol /dev/vg00 lv04 256 16777216 | |
lvmvol /dev/vg00 lv05 256 16777216 | |
lvmvol /dev/vg00 lv06 81 5308416 | |
#lvmvol /dev/vg_data lv_data 2000 16384000 | |
fs /dev/mapper/vg00-lv00 / ext3 uuid=74f9aa74-dd67-4ae5-9344-9381585f7d19 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
fs /dev/sdb1 /boot ext3 uuid=d5b2ad22-1534-4f4c-8f00-6adac825f93e label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
fs /dev/mapper/vg00-lv05 /home ext3 uuid=141b6688-8192-438e-a83b-d4afe18c72a5 label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
fs /dev/mapper/vg00-lv01 /opt ext3 uuid=67e9e9ab-ffb4-4f4b-8a67-84349ae84c1c label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
fs /dev/mapper/vg00-lv02 /tmp ext3 uuid=c74bc757-d860-4106-a039-cf3cf800116e label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
fs /dev/mapper/vg00-lv03 /usr ext3 uuid=2852b22d-663f-45f9-b3e4-9d8db7ff6eeb label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
fs /dev/mapper/vg00-lv06 /usr/openv ext3 uuid=87f1b2e7-83e5-47c6-93db-d4edcb21e8be label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16374 options=rw | |
fs /dev/mapper/vg00-lv04 /var ext3 uuid=6e88469c-2561-4ec9-bee5-8790e073469d label= blocksize=4096 reserved_blocks=4% max_mounts=-1 check_interval=0d bytes_per_inode=16384 options=rw | |
swap /dev/sdb3 uuid=8ca85cce-3053-440e-b4a7-302914bc38aa label= | |
logicaldrive /dev/sdb 0|A|1 raid=1 drives=1I:1:1,1I:1:2, spares= sectors=32 stripesize=256 | |
smartarray 0 | |
#multipath /dev/mapper/mpathb /dev/sda,/dev/sdc | |
#part /dev/mapper/mpathb 24643584 unknown primary boot /dev/mapper/mpathbp1 | |
#part /dev/mapper/mpathb 10709314560 unknown primary none /dev/mapper/mpathbp2 |
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
2013-04-12 08:21:14 Relax-and-Recover 1.14 / Git | |
2013-04-12 08:21:14 Command line options: /bin/rear recover | |
2013-04-12 08:21:14 Using log file: /var/log/rear/rear-itsusratdc22.log | |
2013-04-12 08:21:14 Including /etc/rear/os.conf | |
2013-04-12 08:21:14 Including conf/Linux-i386.conf | |
2013-04-12 08:21:14 Including conf/GNU/Linux.conf | |
2013-04-12 08:21:14 Including /etc/rear/site.conf | |
2013-04-12 08:21:14 Including /etc/rear/local.conf | |
2013-04-12 08:21:14 Including /etc/rear/rescue.conf | |
2013-04-12 08:21:14 Using build area '/tmp/rear.2idpdVMWLa1Tuae' | |
mkdir: created directory `/tmp/rear.2idpdVMWLa1Tuae/rootfs' | |
mkdir: created directory `/tmp/rear.2idpdVMWLa1Tuae/tmp' | |
2013-04-12 08:21:14 Running recover workflow | |
2013-04-12 08:21:14 Running 'setup' stage | |
2013-04-12 08:21:14 Including setup/default/01_pre_recovery_script.sh | |
2013-04-12 08:21:14 Finished running 'setup' stage in 0 seconds | |
2013-04-12 08:21:14 Running 'verify' stage | |
2013-04-12 08:21:14 Including verify/default/02_cciss_scsi_engage.sh | |
2013-04-12 08:21:14 Including verify/default/02_translate_url.sh | |
2013-04-12 08:21:14 Using NETFS_URL is deprecated. Use BACKUP_URL instead. | |
2013-04-12 08:21:14 Including verify/default/03_translate_tape.sh | |
2013-04-12 08:21:14 Including verify/NETFS/default/05_check_NETFS_requirements.sh | |
2013-04-12 08:21:14 Skipping ping test | |
2013-04-12 08:21:14 Including verify/GNU/Linux/05_sane_recovery_check.sh | |
2013-04-12 08:21:14 Including verify/NETFS/default/07_set_backup_archive.sh | |
2013-04-12 08:21:14 Including verify/NETFS/default/08_start_required_daemons.sh | |
2013-04-12 08:21:15 Including verify/NETFS/default/09_set_readonly_options.sh | |
2013-04-12 08:21:15 Including verify/NETFS/default/10_mount_NETFS_path.sh | |
mkdir: created directory `/tmp/rear.2idpdVMWLa1Tuae/outputfs' | |
2013-04-12 08:21:15 Mounting with 'mount -v -t nfs -o ro 10.0.9.18:/vol/itsusravf1_linux/linux_images/itsusratdc22.dfdev.jnj.com /tmp/rear.2idpdVMWLa1Tuae/outputfs' | |
mount.nfs: mount(2): Protocol not supported | |
mount.nfs: trying 10.0.9.18 prog 100003 vers 3 prot TCP port 2049 | |
mount.nfs: trying 10.0.9.18 prog 100005 vers 3 prot UDP port 4046 | |
mount.nfs: timeout set for Fri Apr 12 08:23:15 2013 | |
mount.nfs: trying text-based options 'vers=4,addr=10.0.9.18,clientaddr=10.0.52.33' | |
mount.nfs: trying text-based options 'addr=10.0.9.18' | |
mount.nfs: prog 100003, trying vers=3, prot=6 | |
mount.nfs: prog 100005, trying vers=3, prot=17 | |
10.0.9.18:/vol/itsusravf1_linux/linux_images/itsusratdc22.dfdev.jnj.com on /tmp/rear.2idpdVMWLa1Tuae/outputfs type nfs (ro) | |
2013-04-12 08:21:15 Including verify/GNU/Linux/23_storage_and_network_modules.sh | |
find: `/lib/modules/2.6.32-279.el6.x86_64/kernel/drivers/ide': No such file or directory | |
find: `/lib/modules/2.6.32-279.el6.x86_64/extra': No such file or directory | |
find: `/lib/modules/2.6.32-279.el6.x86_64/weak-updates': No such file or directory | |
2013-04-12 08:21:15 Including verify/GNU/Linux/26_recovery_storage_drivers.sh | |
find: `/tmp/rear.2idpdVMWLa1Tuae/tmp/dev': No such file or directory | |
1d0 | |
< ahci | |
3,7c2 | |
< hpsa | |
< lpfc | |
< mptbase | |
< mptctl | |
< osst | |
--- | |
> ata_piix | |
9,11d3 | |
< pata_atiixp | |
< scsi_tgt | |
< scsi_transport_fc | |
14c6,7 | |
< st | |
--- | |
> sr_mod | |
> vmw_pvscsi | |
2013-04-12 08:21:15 NOTICE: Will do driver migration | |
2013-04-12 08:21:15 Including verify/NETFS/default/55_check_backup_archive.sh | |
2013-04-12 08:21:15 Calculating backup archive size | |
2013-04-12 08:21:15 Backup archive size is 2.5G (compressed) | |
2013-04-12 08:21:15 Finished running 'verify' stage in 1 seconds | |
2013-04-12 08:21:15 Running 'layout/prepare' stage | |
2013-04-12 08:21:15 Including layout/prepare/default/01_prepare_files.sh | |
2013-04-12 08:21:15 Including layout/prepare/GNU/Linux/10_include_partition_code.sh | |
2013-04-12 08:21:15 Including layout/prepare/GNU/Linux/11_include_lvm_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/12_include_raid_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/13_include_filesystem_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/14_include_swap_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/15_include_drbd_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/16_include_luks_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/17_include_hpraid_code.sh | |
2013-04-12 08:21:16 Including layout/prepare/default/20_recreate_hpraid.sh | |
2013-04-12 08:21:16 Including layout/prepare/GNU/Linux/21_load_multipath.sh | |
2013-04-12 08:21:16 Including layout/prepare/default/25_compare_disks.sh | |
2013-04-12 08:21:16 Comparing disks. | |
2013-04-12 08:21:16 Looking for sdb... | |
2013-04-12 08:21:16 Device sdb does not exist. | |
2013-04-12 08:21:16 Switching to manual disk layout configuration. | |
2013-04-12 08:21:16 Including layout/prepare/default/30_map_disks.sh | |
2013-04-12 08:21:16 Original disk /dev/sdb does not exist in the target system. Please choose an appropriate replacement. | |
2013-04-12 08:21:25 This is the disk mapping table: | |
2013-04-12 08:21:25 /dev/sdb /dev/sda | |
2013-04-12 08:21:25 Including layout/prepare/default/31_remove_exclusions.sh | |
2013-04-12 08:21:25 Including layout/prepare/default/32_apply_mappings.sh | |
2013-04-12 08:21:25 Including layout/prepare/default/40_autoresize_disks.sh | |
2013-04-12 08:21:25 Total resize of -103829012480B | |
2013-04-12 08:21:25 Searching for resizeable partitions on disk /dev/sda (42949672960B) | |
2013-04-12 08:21:25 Will not resize partition /dev/sda1. | |
2013-04-12 08:21:25 Will resize partition /dev/sda2. | |
2013-04-12 08:21:25 Will resize partition /dev/sda3. | |
2013-04-12 08:21:25 Resized partition /dev/sda2 from 68719476736B to 31393329512B. | |
2013-04-12 08:21:25 Resized partition /dev/sda3 from 24121442304B to 11019472535B. | |
2013-04-12 08:21:25 Including layout/prepare/default/50_confirm_layout.sh | |
2013-04-12 08:21:25 Please confirm that '/var/lib/rear/layout/disklayout.conf' is as you expect. | |
2013-04-12 08:21:29 User selected: 5) Continue recovery | |
2013-04-12 08:21:29 Including layout/prepare/default/51_list_dependencies.sh | |
2013-04-12 08:21:30 Including layout/prepare/default/52_exclude_components.sh | |
2013-04-12 08:21:30 Including layout/prepare/default/54_generate_device_code.sh | |
2013-04-12 08:21:30 Partition primary on /dev/sda: size reduced to fit on disk. | |
2013-04-12 08:21:30 End changed from 42949713559 to 42949672960. | |
2013-04-12 08:21:31 Including layout/prepare/default/55_finalize_script.sh | |
2013-04-12 08:21:31 Including layout/prepare/default/60_show_unprocessed.sh | |
2013-04-12 08:21:31 Including layout/prepare/default/61_exclude_from_restore.sh | |
2013-04-12 08:21:31 Finished running 'layout/prepare' stage in 16 seconds | |
2013-04-12 08:21:31 Running 'layout/recreate' stage | |
2013-04-12 08:21:31 Including layout/recreate/default/10_ask_confirmation.sh | |
2013-04-12 08:21:31 Please confirm that '/var/lib/rear/layout/diskrestore.sh' is as you expect. | |
2013-04-12 08:21:35 User selected: 5) Continue recovery | |
2013-04-12 08:21:35 Including layout/recreate/default/20_run_script.sh | |
2013-04-12 08:21:35 Start system layout restoration. | |
No volume groups found | |
+++ create_component /dev/sda disk | |
+++ local device=/dev/sda | |
+++ local type=disk | |
+++ local touchfile=disk--dev-sda | |
+++ '[' -e /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/disk--dev-sda ']' | |
+++ return 0 | |
+++ Log 'Erasing MBR of disk /dev/sda' | |
+++ test 1 -gt 0 | |
++++ Stamp | |
++++ date '+%Y-%m-%d %H:%M:%S ' | |
+++ echo '2013-04-12 08:21:35 Erasing MBR of disk /dev/sda' | |
2013-04-12 08:21:35 Erasing MBR of disk /dev/sda | |
+++ dd if=/dev/zero of=/dev/sda bs=512 count=1 | |
1+0 records in | |
1+0 records out | |
512 bytes (512 B) copied, 0.00257853 s, 199 kB/s | |
+++ sync | |
+++ LogPrint 'Creating partitions for disk /dev/sda (msdos)' | |
+++ Log 'Creating partitions for disk /dev/sda (msdos)' | |
+++ test 1 -gt 0 | |
++++ Stamp | |
++++ date '+%Y-%m-%d %H:%M:%S ' | |
+++ echo '2013-04-12 08:21:35 Creating partitions for disk /dev/sda (msdos)' | |
2013-04-12 08:21:35 Creating partitions for disk /dev/sda (msdos) | |
+++ Print 'Creating partitions for disk /dev/sda (msdos)' | |
+++ test 1 | |
+++ echo -e 'Creating partitions for disk /dev/sda (msdos)' | |
+++ parted -s /dev/sda mklabel msdos | |
+++ parted -s /dev/sda mkpart primary 32768B 536903679B | |
Warning: The resulting partition is not properly aligned for best performance. | |
+++ parted -s /dev/sda set 1 boot on | |
+++ parted -s /dev/sda mkpart primary 536907776B 31930237287B | |
Warning: The resulting partition is not properly aligned for best performance. | |
+++ parted -s /dev/sda set 2 lvm on | |
+++ parted -s /dev/sda mkpart primary 31930241024B 42949672959B | |
Warning: The resulting partition is not properly aligned for best performance. | |
+++ partprobe -s /dev/sda | |
/dev/sda: msdos partitions 1 2 3 | |
+++ sleep 10 | |
+++ my_udevtrigger | |
+++ has_binary udevadm | |
+++ for bin in '$@' | |
+++ type udevadm | |
+++ return 0 | |
+++ udevadm trigger | |
+++ my_udevsettle | |
+++ has_binary udevadm | |
+++ for bin in '$@' | |
+++ type udevadm | |
+++ return 0 | |
+++ udevadm settle | |
+++ component_created /dev/sda disk | |
+++ local device=/dev/sda | |
+++ local type=disk | |
+++ local touchfile=disk--dev-sda | |
+++ touch /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/disk--dev-sda | |
+++ create_component /dev/sda1 part | |
+++ local device=/dev/sda1 | |
+++ local type=part | |
+++ local touchfile=part--dev-sda1 | |
+++ '[' -e /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/part--dev-sda1 ']' | |
+++ return 0 | |
+++ component_created /dev/sda1 part | |
+++ local device=/dev/sda1 | |
+++ local type=part | |
+++ local touchfile=part--dev-sda1 | |
+++ touch /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/part--dev-sda1 | |
+++ create_component /dev/sda2 part | |
+++ local device=/dev/sda2 | |
+++ local type=part | |
+++ local touchfile=part--dev-sda2 | |
+++ '[' -e /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/part--dev-sda2 ']' | |
+++ return 0 | |
+++ component_created /dev/sda2 part | |
+++ local device=/dev/sda2 | |
+++ local type=part | |
+++ local touchfile=part--dev-sda2 | |
+++ touch /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/part--dev-sda2 | |
+++ create_component /dev/sda3 part | |
+++ local device=/dev/sda3 | |
+++ local type=part | |
+++ local touchfile=part--dev-sda3 | |
+++ '[' -e /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/part--dev-sda3 ']' | |
+++ return 0 | |
+++ component_created /dev/sda3 part | |
+++ local device=/dev/sda3 | |
+++ local type=part | |
+++ local touchfile=part--dev-sda3 | |
+++ touch /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/part--dev-sda3 | |
+++ create_component pv:/dev/sda2 lvmdev | |
+++ local device=pv:/dev/sda2 | |
+++ local type=lvmdev | |
+++ local touchfile=lvmdev-pv:-dev-sda2 | |
+++ '[' -e /tmp/rear.2idpdVMWLa1Tuae/tmp/touch/lvmdev-pv:-dev-sda2 ']' | |
+++ return 0 | |
+++ LogPrint 'Creating LVM PV /dev/sda2' | |
+++ Log 'Creating LVM PV /dev/sda2' | |
+++ test 1 -gt 0 | |
++++ Stamp | |
++++ date '+%Y-%m-%d %H:%M:%S ' | |
+++ echo '2013-04-12 08:21:49 Creating LVM PV /dev/sda2' | |
2013-04-12 08:21:49 Creating LVM PV /dev/sda2 | |
+++ Print 'Creating LVM PV /dev/sda2' | |
+++ test 1 | |
+++ echo -e 'Creating LVM PV /dev/sda2' | |
+++ lvm vgchange -a n vg00 | |
Volume group "vg00" not found | |
+++ true | |
+++ lvm pvcreate -ff --yes -v --uuid 9PIZAC-p8uE-iUCg-4Nez-3cv7-q1Mn-Tt91te --norestorefile /dev/sda2 | |
Device /dev/sda2 not found (or ignored by filtering). | |
2013-04-12 08:21:49 An error occured during layout recreation. | |
2013-04-12 08:22:05 User selected: 6) Abort Relax-and-Recover | |
2013-04-12 08:22:05 Error detected during restore. | |
2013-04-12 08:22:05 Restoring backup of /var/lib/rear/layout/disklayout.conf | |
2013-04-12 08:22:05 ERROR: There was an error restoring the system layout. See /var/log/rear/rear-itsusratdc22.log for details. | |
=== Stack trace === | |
Trace 0: /bin/rear:245 main | |
Trace 1: /usr/share/rear/lib/recover-workflow.sh:30 WORKFLOW_recover | |
Trace 2: /usr/share/rear/lib/framework-functions.sh:79 SourceStage | |
Trace 3: /usr/share/rear/lib/framework-functions.sh:40 Source | |
Trace 4: /usr/share/rear/layout/recreate/default/20_run_script.sh:63 source | |
Message: There was an error restoring the system layout. See /var/log/rear/rear-itsusratdc22.log for details. | |
=================== | |
2013-04-12 08:22:05 Running exit tasks. | |
Legacy NFS mount point detected | |
10.0.9.18:/vol/itsusravf1_linux/linux_images/itsusratdc22.dfdev.jnj.com umounted | |
rmdir: removing directory, `/tmp/rear.2idpdVMWLa1Tuae/outputfs' | |
2013-04-12 08:22:05 Finished in 51 seconds | |
2013-04-12 08:22:05 Removing build area /tmp/rear.2idpdVMWLa1Tuae | |
rmdir: removing directory, `/tmp/rear.2idpdVMWLa1Tuae' | |
2013-04-12 08:22:05 End of program reached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment