Skip to content

Instantly share code, notes, and snippets.

Created November 8, 2012 07:21
Show Gist options
  • Save anonymous/d8f6becd7b6235e6c44e to your computer and use it in GitHub Desktop.
Save anonymous/d8f6becd7b6235e6c44e to your computer and use it in GitHub Desktop.
problem recover 2 logical drives on 1 array (-d option)
2012-11-07 11:51:19.127148000 Relax and Recover 1.12.0svn508 / 2011-07-13 11:02:53
2012-11-07 11:51:19.129467000 Command line options: /bin/rear -d recover
2012-11-07 11:51:19.134428000 Combining configuration files
2012-11-07 11:51:19.136608000 Including /etc/rear/os.conf
2012-11-07 11:51:19.138874000 Skipping /etc/rear/recover.conf (file not found or empty)
2012-11-07 11:51:19.141376000 Including conf/Linux-i386.conf
2012-11-07 11:51:19.143626000 Including conf/GNU/Linux.conf
2012-11-07 11:51:19.147743000 Skipping /usr/share/rear/conf/Fedora.conf (file not found or empty)
2012-11-07 11:51:19.149850000 Skipping /usr/share/rear/conf/Fedora/i386.conf (file not found or empty)
2012-11-07 11:51:19.152184000 Skipping /usr/share/rear/conf/Fedora/5.conf (file not found or empty)
2012-11-07 11:51:19.154303000 Skipping /usr/share/rear/conf/Fedora/5/i386.conf (file not found or empty)
2012-11-07 11:51:19.156415000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer.conf (file not found or empty)
2012-11-07 11:51:19.158517000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer/i386.conf (file not found or empty)
2012-11-07 11:51:19.160611000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer/5.6.conf (file not found or empty)
2012-11-07 11:51:19.162783000 Skipping /usr/share/rear/conf/RedHatEnterpriseServer/5.6/i386.conf (file not found or empty)
2012-11-07 11:51:19.164846000 Skipping /etc/rear/site.conf (file not found or empty)
2012-11-07 11:51:19.166912000 Including /etc/rear/local.conf
2012-11-07 11:51:19.169306000 Skipping /etc/rear/rescue.conf (file not found or empty)
PROGRESS: /bin/rear is /bin/rear
PROGRESS: bash is /sbin/bash
PROGRESS: awk is /sbin/awk
PROGRESS: dd is /sbin/dd
PROGRESS: df is /sbin/df
PROGRESS: getopt is /sbin/getopt
PROGRESS: ip is /sbin/ip
PROGRESS: tar is /sbin/tar
PROGRESS: sort is /sbin/sort
PROGRESS: mv is hashed (/sbin/mv)
PROGRESS: uniq is /sbin/uniq
PROGRESS: mingetty is /sbin/mingetty
PROGRESS: grep is /sbin/grep
PROGRESS: loadkeys is /sbin/loadkeys
PROGRESS: kbd_mode is /sbin/kbd_mode
PROGRESS: dumpkeys is /sbin/dumpkeys
PROGRESS: diff is /sbin/diff
PROGRESS: join is /sbin/join
PROGRESS: pwd is a shell builtin
PROGRESS: file is /sbin/file
PROGRESS: pidof is /sbin/pidof
PROGRESS: parted is /sbin/parted
PROGRESS: sfdisk is /sbin/sfdisk
2012-11-07 11:51:19.176722000 Using build area '/tmp/rear.BmVRqwlqqtQ2952'
mkdir: created directory `/tmp/rear.BmVRqwlqqtQ2952/rootfs'
mkdir: created directory `/tmp/rear.BmVRqwlqqtQ2952/tmp'
PROGRESS: WORKFLOW_recover is a function
PROGRESS: WORKFLOW_recover ()
PROGRESS: {
PROGRESS: SourceStage "setup";
PROGRESS: SourceStage "verify";
PROGRESS: if [ -n "$USE_LAYOUT" ]; then
PROGRESS: SourceStage "layout/prepare";
PROGRESS: SourceStage "layout/recreate";
PROGRESS: else
PROGRESS: SourceStage "recreate";
PROGRESS: fi;
PROGRESS: SourceStage "restore";
PROGRESS: SourceStage "finalize";
PROGRESS: SourceStage "wrapup"
PROGRESS: }
2012-11-07 11:51:19.182647000 Running recover workflow
2012-11-07 11:51:19.184650000 Running 'setup' stage
2012-11-07 11:51:19.190581000 Including setup/default/01_pre_recovery_script.sh
2012-11-07 11:51:19.192868000 Including setup/GNU/Linux/80_setup_hp_raid.sh
2012-11-07 11:51:19.195071000 Finished running 'setup' stage in 0 seconds
2012-11-07 11:51:19.197007000 Running 'verify' stage
2012-11-07 11:51:19.203302000 Including verify/default/02_cciss_scsi_engage.sh
2012-11-07 11:51:19.206663000 Engage SCSI on host /proc/driver/cciss/cciss0
2012-11-07 11:51:19.208795000 Engage SCSI on host /proc/driver/cciss/cciss1
2012-11-07 11:51:19.210767000 Engage SCSI on host /proc/driver/cciss/cciss2
2012-11-07 11:51:21.214905000 Including verify/BACULA/default/03_bextract_tape_device.sh
PROGRESS: btape is /sbin/btape
2012-11-07 11:51:21.278942000 Including verify/BACULA/default/05_check_requirements.sh
2012-11-07 11:51:21.281595000 Including verify/GNU/Linux/05_sane_recovery_check.sh
2012-11-07 11:51:21.284294000 Including verify/GNU/Linux/10_describe_physical_devices.sh
2012-11-07 11:51:21.286866000 Including verify/BACULA/default/10_start_bacula-fd.sh
2012-11-07 11:51:21.289378000 Including verify/Linux-i386/11_describe_device_properties.sh
2012-11-07 11:51:21.291775000 Including verify/GNU/Linux/12_compare_physical_devices.sh
2012-11-07 11:51:21.294443000 Including verify/GNU/Linux/21_migrate_recovery_configuration.sh
2012-11-07 11:51:21.296768000 Including verify/GNU/Linux/23_storage_and_network_modules.sh
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevstart: not found
PROGRESS: udevtrigger is /sbin/udevtrigger
2012-11-07 11:51:21.310550000 Including verify/GNU/Linux/26_recovery_storage_drivers.sh
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevstart: not found
PROGRESS: udevtrigger is /sbin/udevtrigger
find: /tmp/rear.BmVRqwlqqtQ2952/tmp/dev: No such file or directory
2,3d1
< be2iscsi
< bnx2i
5,6d2
< cxgb3i
< iscsi_tcp
8,13d3
< libiscsi2
< libiscsi_tcp
< mptbase
< mptctl
< raid1
< scsi_dh
15,16d4
< scsi_transport_iscsi
< scsi_transport_iscsi2
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevstart: not found
PROGRESS: udevtrigger is /sbin/udevtrigger
2012-11-07 11:51:21.376397000 NOTICE: Will do driver migration
2012-11-07 11:51:21.379105000 Finished running 'verify' stage in 2 seconds
2012-11-07 11:51:21.381537000 Running 'layout/prepare' stage
2012-11-07 11:51:21.388566000 Including layout/prepare/default/01_prepare_files.sh
2012-11-07 11:51:21.394503000 Including layout/prepare/GNU/Linux/10_include_partition_code.sh
PROGRESS: parted is /sbin/parted
2012-11-07 11:51:21.405967000 Including layout/prepare/GNU/Linux/11_include_lvm_code.sh
PROGRESS: lvm is /sbin/lvm
2012-11-07 11:51:21.414581000 Including layout/prepare/GNU/Linux/12_include_raid_code.sh
PROGRESS: mdadm is /sbin/mdadm
2012-11-07 11:51:21.422210000 Including layout/prepare/GNU/Linux/13_include_filesystem_code.sh
2012-11-07 11:51:21.425347000 Including layout/prepare/GNU/Linux/14_include_swap_code.sh
2012-11-07 11:51:21.427773000 Including layout/prepare/GNU/Linux/15_include_drbd_code.sh
2012-11-07 11:51:21.430303000 Including layout/prepare/GNU/Linux/16_include_luks_code.sh
2012-11-07 11:51:21.432893000 Including layout/prepare/GNU/Linux/17_include_hpraid_code.sh
2012-11-07 11:51:21.435610000 Including layout/prepare/default/20_recreate_hpraid.sh
PROGRESS: function
PROGRESS: function
PROGRESS: function
PROGRESS: function
2012-11-07 11:51:32.633432000 Clearing HP SmartArray controller 2
2012-11-07 11:51:36.220455000 Clearing HP SmartArray controller 0
2012-11-07 11:51:39.261360000 Recreating HP SmartArray controller 2|A
2012-11-07 11:51:42.473100000 Configuration restored successfully, reloading CCISS driver...
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: udevtrigger is /sbin/udevtrigger
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: udevsettle is /sbin/udevsettle
2012-11-07 11:51:52.512378000 Recreating HP SmartArray controller 0|A
2012-11-07 11:51:55.648808000 Configuration restored successfully, reloading CCISS driver...
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: udevtrigger is hashed (/sbin/udevtrigger)
PROGRESS: /usr/share/rear/lib/_input-output-functions.sh: line 91: type: udevadm: not found
PROGRESS: udevsettle is hashed (/sbin/udevsettle)
2012-11-07 11:52:05.694404000 Engage SCSI on host /proc/driver/cciss/cciss0
2012-11-07 11:52:05.697378000 Engage SCSI on host /proc/driver/cciss/cciss1
2012-11-07 11:52:05.703828000 Engage SCSI on host /proc/driver/cciss/cciss2
2012-11-07 11:52:07.709675000 Including layout/prepare/default/25_compare_disks.sh
2012-11-07 11:52:07.712126000 Comparing disks.
2012-11-07 11:52:07.717467000 Looking for cciss!c0d0...
2012-11-07 11:52:07.719623000 Device cciss!c0d0 exists.
2012-11-07 11:52:07.724591000 Device cciss!c0d0 has size 599932581888, 204007833600 expected
PROGRESS: Device does not exist.
PROGRESS: Command failed
2012-11-07 11:52:07.731771000 Looking for cciss!c0d1...
2012-11-07 11:52:07.734092000 Device cciss!c0d1 does not exist.
2012-11-07 11:52:07.737583000 Looking for cciss!c2d0...
2012-11-07 11:52:07.739557000 Device cciss!c2d0 exists.
2012-11-07 11:52:07.744578000 Device cciss!c2d0 has size 599932581888, 204007833600 expected
PROGRESS: Device does not exist.
PROGRESS: Command failed
2012-11-07 11:52:07.751613000 Looking for cciss!c2d1...
2012-11-07 11:52:07.753799000 Device cciss!c2d1 does not exist.
2012-11-07 11:52:07.756476000 Switching to manual disk layout configuration.
2012-11-07 11:52:07.759237000 Including layout/prepare/default/30_map_disks.sh
PROGRESS: Device does not exist.
PROGRESS: Command failed
PROGRESS: Device does not exist.
PROGRESS: Command failed
2012-11-07 11:52:08.096308000 Disk cciss/c0d0 does not exist in the target system. Please choose the appropriate replacement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment