Advertisement
Guest User

ReaR 2.4 / RHEL 6.9 recovery problem

a guest
Sep 20th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.75 KB | None | 0 0
  1. 2018-09-20 15:35:20.370771676 Relax-and-Recover 2.4 / Git
  2. 2018-09-20 15:35:20.372390729 Running rear recover (PID 7036)
  3. 2018-09-20 15:35:20.374085508 Command line options: /bin/rear -d -v recover
  4. 2018-09-20 15:35:20.375771876 Using log file: /var/log/rear/rear-myhost.log
  5. 2018-09-20 15:35:20.377713977 Current set of flags is 'hB'
  6. 2018-09-20 15:35:20.379295879 The debugscripts flags are 'x'
  7. 2018-09-20 15:35:20.380975831 Combining configuration files
  8. 2018-09-20 15:35:20.382902677 Including /etc/rear/os.conf
  9. 2018-09-20 15:35:20.387491594 Including conf/Linux-i386.conf
  10. 2018-09-20 15:35:20.389469994 Including conf/GNU/Linux.conf
  11. 2018-09-20 15:35:20.394947935 Including /etc/rear/local.conf
  12. /etc/rear/local.conf: line 1: chtung: command not found
  13. 2018-09-20 15:35:20.397641045 Including /etc/rear/rescue.conf
  14. 2018-09-20 15:35:20.401479623 ======================
  15. 2018-09-20 15:35:20.402947499 Running 'init' stage
  16. 2018-09-20 15:35:20.404584341 ======================
  17. 2018-09-20 15:35:20.413385912 Including init/default/005_verify_os_conf.sh
  18. 2018-09-20 15:35:20.418366706 Including init/default/010_set_drlm_env.sh
  19. 2018-09-20 15:35:20.423377940 Including init/default/030_update_recovery_system.sh
  20. 2018-09-20 15:35:20.428228572 Including init/default/050_check_rear_recover_mode.sh
  21. 2018-09-20 15:35:20.430152320 Running workflow recover within the ReaR rescue/recovery system
  22. 2018-09-20 15:35:20.432243542 Finished running 'init' stage in 0 seconds
  23. 2018-09-20 15:35:20.443546487 Using build area '/tmp/rear.Q2YfQGEVPB5aX8e'
  24. mkdir: created directory `/tmp/rear.Q2YfQGEVPB5aX8e/rootfs'
  25. mkdir: created directory `/tmp/rear.Q2YfQGEVPB5aX8e/tmp'
  26. 2018-09-20 15:35:20.447763971 Running recover workflow
  27. 2018-09-20 15:35:20.449646458 ======================
  28. 2018-09-20 15:35:20.451295761 Running 'setup' stage
  29. 2018-09-20 15:35:20.453006284 ======================
  30. 2018-09-20 15:35:20.461528100 Including setup/default/005_ssh_agent_start.sh
  31. 2018-09-20 15:35:20.469519521 Including setup/default/010_pre_recovery_script.sh
  32. 2018-09-20 15:35:20.471341211 Finished running 'setup' stage in 0 seconds
  33. 2018-09-20 15:35:20.473022909 ======================
  34. 2018-09-20 15:35:20.474766826 Running 'verify' stage
  35. 2018-09-20 15:35:20.476411819 ======================
  36. 2018-09-20 15:35:20.485062072 Including verify/default/020_cciss_scsi_engage.sh
  37. 2018-09-20 15:35:20.491224086 Including verify/default/020_translate_url.sh
  38. 2018-09-20 15:35:20.493118062 Using NETFS_URL is deprecated. Use BACKUP_URL instead.
  39. 2018-09-20 15:35:20.498445282 Including verify/default/030_translate_tape.sh
  40. 2018-09-20 15:35:20.506257568 Including verify/default/040_validate_variables.sh
  41. 2018-09-20 15:35:20.511452600 Including verify/default/050_create_mappings_dir.sh
  42. 2018-09-20 15:35:20.516358529 Including verify/GNU/Linux/050_sane_recovery_check.sh
  43. 2018-09-20 15:35:20.521340517 Including verify/GNU/Linux/230_storage_and_network_modules.sh
  44. 2018-09-20 15:35:20.523298328 Including storage drivers
  45. 2018-09-20 15:35:20.529990372 Including network drivers
  46. 2018-09-20 15:35:20.537578399 Including crypto drivers
  47. 2018-09-20 15:35:20.542788442 Including virtualization drivers
  48. 2018-09-20 15:35:20.548112327 Including additional drivers
  49. 2018-09-20 15:35:20.556359519 Including verify/GNU/Linux/260_recovery_storage_drivers.sh
  50. 2018-09-20 15:35:20.677546837 Will do driver migration (recreating initramfs/initrd)
  51. 2018-09-20 15:35:20.679597840 Finished running 'verify' stage in 0 seconds
  52. 2018-09-20 15:35:20.681370195 ======================
  53. 2018-09-20 15:35:20.682955753 Running 'layout/prepare' stage
  54. 2018-09-20 15:35:20.684659926 ======================
  55. 2018-09-20 15:35:20.693812979 Including layout/prepare/default/010_prepare_files.sh
  56. 2018-09-20 15:35:20.702013051 Including layout/prepare/GNU/Linux/100_include_partition_code.sh
  57. 2018-09-20 15:35:20.714874999 Including layout/prepare/GNU/Linux/110_include_lvm_code.sh
  58. 2018-09-20 15:35:20.727659620 Including layout/prepare/GNU/Linux/120_include_raid_code.sh
  59. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: mdadm: not found
  60. 2018-09-20 15:35:20.732931008 Including layout/prepare/GNU/Linux/130_include_filesystem_code.sh
  61. 2018-09-20 15:35:20.739830693 Including layout/prepare/GNU/Linux/130_include_mount_filesystem_code.sh
  62. 2018-09-20 15:35:20.745535392 Including layout/prepare/GNU/Linux/130_include_mount_subvolumes_code.sh
  63. 2018-09-20 15:35:20.754081850 Including layout/prepare/GNU/Linux/140_include_swap_code.sh
  64. 2018-09-20 15:35:20.764998791 Including layout/prepare/GNU/Linux/150_include_drbd_code.sh
  65. 2018-09-20 15:35:20.770387489 Including layout/prepare/GNU/Linux/160_include_luks_code.sh
  66. 2018-09-20 15:35:20.776088851 Including layout/prepare/GNU/Linux/170_include_hpraid_code.sh
  67. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: hpacucli: not found
  68. 2018-09-20 15:35:20.782036267 Including layout/prepare/GNU/Linux/180_include_opaldisk_code.sh
  69. 2018-09-20 15:35:20.787878273 Including layout/prepare/default/200_recreate_hpraid.sh
  70. 2018-09-20 15:35:20.794897596 Including layout/prepare/GNU/Linux/210_load_multipath.sh
  71. 2018-09-20 15:35:20.802206015 Including layout/prepare/default/250_compare_disks.sh
  72. 2018-09-20 15:35:20.804607003 Comparing disks
  73. 2018-09-20 15:35:20.925285435 Comparing sda
  74. 2018-09-20 15:35:20.927256608 Device /sys/block/sda exists
  75. 2018-09-20 15:35:20.931694192 Device sda has expected (same) size 299966445568 (will be used for recovery)
  76. 2018-09-20 15:35:20.934197857 Disk configuration looks identical
  77. 2018-09-20 15:35:20.938531585 UserInput: called in /usr/share/rear/layout/prepare/default/250_compare_disks.sh line 146
  78. 2018-09-20 15:35:20.943101210 UserInput: No choices specified
  79. 2018-09-20 15:35:20.945162807 UserInput -I DISK_LAYOUT_PROCEED_RECOVERY needed in /usr/share/rear/layout/prepare/default/250_compare_disks.sh line 146
  80. 2018-09-20 15:35:20.947426999 Proceed with recovery (yes) otherwise manual disk layout configuration is enforced
  81. 2018-09-20 15:35:20.949535261 (default 'yes' timeout 30 seconds)
  82. 2018-09-20 15:35:30.949068798 UserInput: 'read' got as user input 'yes'
  83. 2018-09-20 15:35:30.953762865 UserInput: No choices - result is 'yes'
  84. 2018-09-20 15:35:30.956836761 User confirmed to proceed with recovery
  85. 2018-09-20 15:35:30.963003869 Including layout/prepare/default/270_overrule_migration_mode.sh
  86. 2018-09-20 15:35:30.968982268 Including layout/prepare/default/300_map_disks.sh
  87. 2018-09-20 15:35:30.974964568 Including layout/prepare/default/310_remove_exclusions.sh
  88. 2018-09-20 15:35:30.980823764 Including layout/prepare/default/320_apply_mappings.sh
  89. 2018-09-20 15:35:30.986637465 Including layout/prepare/default/420_autoresize_last_partitions.sh
  90. 2018-09-20 15:35:30.992985910 Including layout/prepare/default/430_autoresize_all_partitions.sh
  91. 2018-09-20 15:35:30.998739973 Including layout/prepare/default/500_confirm_layout_file.sh
  92. 2018-09-20 15:35:31.004623156 Including layout/prepare/default/510_list_dependencies.sh
  93. 2018-09-20 15:35:31.201741676 Including layout/prepare/default/520_exclude_components.sh
  94. 2018-09-20 15:35:31.209445291 Including layout/prepare/default/540_generate_device_code.sh
  95. 2018-09-20 15:35:31.218406358 Testing /dev/sda for dependencies...
  96. 2018-09-20 15:35:31.222952792 deps (0):
  97. 2018-09-20 15:35:31.225109968 All dependencies for /dev/sda are present, processing...
  98. 2018-09-20 15:35:31.295526421 Marking /dev/sda as done.
  99. 2018-09-20 15:35:31.302538981 Testing /dev/sda1 for dependencies...
  100. 2018-09-20 15:35:31.307458951 deps (1): /dev/sda
  101. 2018-09-20 15:35:31.310799304 All dependencies for /dev/sda1 are present, processing...
  102. 2018-09-20 15:35:31.317412857 Marking /dev/sda1 as done.
  103. 2018-09-20 15:35:31.324362379 Testing /dev/sda2 for dependencies...
  104. 2018-09-20 15:35:31.329199682 deps (1): /dev/sda
  105. 2018-09-20 15:35:31.332639665 All dependencies for /dev/sda2 are present, processing...
  106. 2018-09-20 15:35:31.339136899 Marking /dev/sda2 as done.
  107. 2018-09-20 15:35:31.345993838 Testing /dev/sda3 for dependencies...
  108. 2018-09-20 15:35:31.350674601 deps (1): /dev/sda
  109. 2018-09-20 15:35:31.354045298 All dependencies for /dev/sda3 are present, processing...
  110. 2018-09-20 15:35:31.360733357 Marking /dev/sda3 as done.
  111. 2018-09-20 15:35:31.367449151 Testing pv:/dev/sda3 for dependencies...
  112. 2018-09-20 15:35:31.372071722 deps (1): /dev/sda3
  113. 2018-09-20 15:35:31.375629590 All dependencies for pv:/dev/sda3 are present, processing...
  114. 2018-09-20 15:35:31.385691790 Marking pv:/dev/sda3 as done.
  115. 2018-09-20 15:35:31.392254964 Testing pv:/dev/sda2 for dependencies...
  116. 2018-09-20 15:35:31.396930238 deps (1): /dev/sda2
  117. 2018-09-20 15:35:31.400278895 All dependencies for pv:/dev/sda2 are present, processing...
  118. 2018-09-20 15:35:31.410598156 Marking pv:/dev/sda2 as done.
  119. 2018-09-20 15:35:31.417354756 Testing /dev/datavg for dependencies...
  120. 2018-09-20 15:35:31.422378437 deps (1): pv:/dev/sda3
  121. 2018-09-20 15:35:31.425864366 All dependencies for /dev/datavg are present, processing...
  122. 2018-09-20 15:35:31.440923501 Marking /dev/datavg as done.
  123. 2018-09-20 15:35:31.447703252 Testing /dev/rootvg for dependencies...
  124. 2018-09-20 15:35:31.452592893 deps (1): pv:/dev/sda2
  125. 2018-09-20 15:35:31.455940449 All dependencies for /dev/rootvg are present, processing...
  126. 2018-09-20 15:35:31.471156794 Marking /dev/rootvg as done.
  127. 2018-09-20 15:35:31.478057755 Testing /dev/mapper/datavg-glidelv for dependencies...
  128. 2018-09-20 15:35:31.482759298 deps (1): /dev/datavg
  129. 2018-09-20 15:35:31.486104414 All dependencies for /dev/mapper/datavg-glidelv are present, processing...
  130. 2018-09-20 15:35:31.501513671 Marking /dev/mapper/datavg-glidelv as done.
  131. 2018-09-20 15:35:31.508124991 Testing /dev/mapper/datavg-loglv for dependencies...
  132. 2018-09-20 15:35:31.512809131 deps (1): /dev/datavg
  133. 2018-09-20 15:35:31.516156743 All dependencies for /dev/mapper/datavg-loglv are present, processing...
  134. 2018-09-20 15:35:31.531493503 Marking /dev/mapper/datavg-loglv as done.
  135. 2018-09-20 15:35:31.538172680 Testing /dev/mapper/rootvg-homelv for dependencies...
  136. 2018-09-20 15:35:31.542955405 deps (1): /dev/rootvg
  137. 2018-09-20 15:35:31.546533547 All dependencies for /dev/mapper/rootvg-homelv are present, processing...
  138. 2018-09-20 15:35:31.561962755 Marking /dev/mapper/rootvg-homelv as done.
  139. 2018-09-20 15:35:31.568665989 Testing /dev/mapper/rootvg-optlv for dependencies...
  140. 2018-09-20 15:35:31.573395643 deps (1): /dev/rootvg
  141. 2018-09-20 15:35:31.576671774 All dependencies for /dev/mapper/rootvg-optlv are present, processing...
  142. 2018-09-20 15:35:31.592153306 Marking /dev/mapper/rootvg-optlv as done.
  143. 2018-09-20 15:35:31.598791199 Testing /dev/mapper/rootvg-rootlv for dependencies...
  144. 2018-09-20 15:35:31.603703275 deps (1): /dev/rootvg
  145. 2018-09-20 15:35:31.606987030 All dependencies for /dev/mapper/rootvg-rootlv are present, processing...
  146. 2018-09-20 15:35:31.621948637 Marking /dev/mapper/rootvg-rootlv as done.
  147. 2018-09-20 15:35:31.628473712 Testing /dev/mapper/rootvg-swaplv for dependencies...
  148. 2018-09-20 15:35:31.633418144 deps (1): /dev/rootvg
  149. 2018-09-20 15:35:31.636738807 All dependencies for /dev/mapper/rootvg-swaplv are present, processing...
  150. 2018-09-20 15:35:31.651725670 Marking /dev/mapper/rootvg-swaplv as done.
  151. 2018-09-20 15:35:31.658522251 Testing /dev/mapper/rootvg-tmplv for dependencies...
  152. 2018-09-20 15:35:31.663327021 deps (1): /dev/rootvg
  153. 2018-09-20 15:35:31.666754443 All dependencies for /dev/mapper/rootvg-tmplv are present, processing...
  154. 2018-09-20 15:35:31.681828209 Marking /dev/mapper/rootvg-tmplv as done.
  155. 2018-09-20 15:35:31.688525254 Testing /dev/mapper/rootvg-usrlv for dependencies...
  156. 2018-09-20 15:35:31.693121861 deps (1): /dev/rootvg
  157. 2018-09-20 15:35:31.696435869 All dependencies for /dev/mapper/rootvg-usrlv are present, processing...
  158. 2018-09-20 15:35:31.711578825 Marking /dev/mapper/rootvg-usrlv as done.
  159. 2018-09-20 15:35:31.718374495 Testing /dev/mapper/rootvg-varloglv for dependencies...
  160. 2018-09-20 15:35:31.723098905 deps (1): /dev/rootvg
  161. 2018-09-20 15:35:31.726505515 All dependencies for /dev/mapper/rootvg-varloglv are present, processing...
  162. 2018-09-20 15:35:31.742145957 Marking /dev/mapper/rootvg-varloglv as done.
  163. 2018-09-20 15:35:31.748728843 Testing /dev/mapper/rootvg-varlv for dependencies...
  164. 2018-09-20 15:35:31.753444398 deps (1): /dev/rootvg
  165. 2018-09-20 15:35:31.756748994 All dependencies for /dev/mapper/rootvg-varlv are present, processing...
  166. 2018-09-20 15:35:31.771980160 Marking /dev/mapper/rootvg-varlv as done.
  167. 2018-09-20 15:35:31.778617688 Testing fs:/appl/glide for dependencies...
  168. 2018-09-20 15:35:31.783336144 deps (2): /dev/mapper/datavg-glidelv fs:/
  169. 2018-09-20 15:35:31.787728884 Testing fs:/appl/log for dependencies...
  170. 2018-09-20 15:35:31.792105302 deps (2): /dev/mapper/datavg-loglv fs:/
  171. 2018-09-20 15:35:31.796831484 Testing fs:/home for dependencies...
  172. 2018-09-20 15:35:31.801306926 deps (2): /dev/mapper/rootvg-homelv fs:/
  173. 2018-09-20 15:35:31.805674804 Testing fs:/opt for dependencies...
  174. 2018-09-20 15:35:31.810022906 deps (2): /dev/mapper/rootvg-optlv fs:/
  175. 2018-09-20 15:35:31.814462529 Testing fs:/ for dependencies...
  176. 2018-09-20 15:35:31.819005917 deps (1): /dev/mapper/rootvg-rootlv
  177. 2018-09-20 15:35:31.822460478 All dependencies for fs:/ are present, processing...
  178. 2018-09-20 15:35:31.827527231 Begin create_fs( fs:/ )
  179. 2018-09-20 15:35:31.832770521 Creating filesystem of type 'ext4' with mount point '/' on '/dev/mapper/rootvg-rootlv'.
  180. 2018-09-20 15:35:31.834835843 Using wipefs to cleanup '/dev/mapper/rootvg-rootlv' before creating filesystem.
  181. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  182. 2018-09-20 15:35:31.838596856 Begin mount_fs( fs:/ )
  183. 2018-09-20 15:35:31.843876638 End mount_fs( fs:/ )
  184. 2018-09-20 15:35:31.845961909 End create_fs( fs:/ )
  185. 2018-09-20 15:35:31.849824061 Marking fs:/ as done.
  186. 2018-09-20 15:35:31.856396746 Testing fs:/appl/glide for dependencies...
  187. 2018-09-20 15:35:31.861023779 deps (2): /dev/mapper/datavg-glidelv fs:/
  188. 2018-09-20 15:35:31.865537484 All dependencies for fs:/appl/glide are present, processing...
  189. 2018-09-20 15:35:31.870634608 Begin create_fs( fs:/appl/glide )
  190. 2018-09-20 15:35:31.875860039 Creating filesystem of type 'xfs' with mount point '/appl/glide' on '/dev/mapper/datavg-glidelv'.
  191. 2018-09-20 15:35:31.877929076 Using wipefs to cleanup '/dev/mapper/datavg-glidelv' before creating filesystem.
  192. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  193. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  194. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  195. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  196. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  197. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  198. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  199. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  200. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  201. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  202. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  203. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  204. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  205. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  206. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  207. 2018-09-20 15:35:32.045014085 Begin mount_fs( fs:/appl/glide )
  208. 2018-09-20 15:35:32.050133972 End mount_fs( fs:/appl/glide )
  209. 2018-09-20 15:35:32.052206295 End create_fs( fs:/appl/glide )
  210. 2018-09-20 15:35:32.056172404 Marking fs:/appl/glide as done.
  211. 2018-09-20 15:35:32.062906110 Testing fs:/appl/log for dependencies...
  212. 2018-09-20 15:35:32.067366740 deps (2): /dev/mapper/datavg-loglv fs:/
  213. 2018-09-20 15:35:32.071822775 All dependencies for fs:/appl/log are present, processing...
  214. 2018-09-20 15:35:32.076818703 Begin create_fs( fs:/appl/log )
  215. 2018-09-20 15:35:32.082175766 Creating filesystem of type 'xfs' with mount point '/appl/log' on '/dev/mapper/datavg-loglv'.
  216. 2018-09-20 15:35:32.084334003 Using wipefs to cleanup '/dev/mapper/datavg-loglv' before creating filesystem.
  217. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  218. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  219. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  220. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  221. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  222. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  223. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  224. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  225. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  226. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  227. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  228. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  229. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  230. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  231. /usr/share/rear/lib/filesystems-functions.sh: line 221: [: -eq: unary operator expected
  232. 2018-09-20 15:35:32.249543402 Begin mount_fs( fs:/appl/log )
  233. 2018-09-20 15:35:32.254538918 End mount_fs( fs:/appl/log )
  234. 2018-09-20 15:35:32.256507554 End create_fs( fs:/appl/log )
  235. 2018-09-20 15:35:32.260319466 Marking fs:/appl/log as done.
  236. 2018-09-20 15:35:32.266627996 Testing fs:/home for dependencies...
  237. 2018-09-20 15:35:32.271002848 deps (2): /dev/mapper/rootvg-homelv fs:/
  238. 2018-09-20 15:35:32.275532473 All dependencies for fs:/home are present, processing...
  239. 2018-09-20 15:35:32.280515972 Begin create_fs( fs:/home )
  240. 2018-09-20 15:35:32.285891312 Creating filesystem of type 'ext4' with mount point '/home' on '/dev/mapper/rootvg-homelv'.
  241. 2018-09-20 15:35:32.287971154 Using wipefs to cleanup '/dev/mapper/rootvg-homelv' before creating filesystem.
  242. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  243. 2018-09-20 15:35:32.291742452 Begin mount_fs( fs:/home )
  244. 2018-09-20 15:35:32.296956765 End mount_fs( fs:/home )
  245. 2018-09-20 15:35:32.299049662 End create_fs( fs:/home )
  246. 2018-09-20 15:35:32.303222806 Marking fs:/home as done.
  247. 2018-09-20 15:35:32.309654934 Testing fs:/opt for dependencies...
  248. 2018-09-20 15:35:32.314210119 deps (2): /dev/mapper/rootvg-optlv fs:/
  249. 2018-09-20 15:35:32.318545741 All dependencies for fs:/opt are present, processing...
  250. 2018-09-20 15:35:32.323350062 Begin create_fs( fs:/opt )
  251. 2018-09-20 15:35:32.328530955 Creating filesystem of type 'ext4' with mount point '/opt' on '/dev/mapper/rootvg-optlv'.
  252. 2018-09-20 15:35:32.330449664 Using wipefs to cleanup '/dev/mapper/rootvg-optlv' before creating filesystem.
  253. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  254. 2018-09-20 15:35:32.334148645 Begin mount_fs( fs:/opt )
  255. 2018-09-20 15:35:32.339264865 End mount_fs( fs:/opt )
  256. 2018-09-20 15:35:32.341380441 End create_fs( fs:/opt )
  257. 2018-09-20 15:35:32.345229475 Marking fs:/opt as done.
  258. 2018-09-20 15:35:32.351570064 Testing fs:/tmp for dependencies...
  259. 2018-09-20 15:35:32.355978281 deps (2): /dev/mapper/rootvg-tmplv fs:/
  260. 2018-09-20 15:35:32.360381625 All dependencies for fs:/tmp are present, processing...
  261. 2018-09-20 15:35:32.365377345 Begin create_fs( fs:/tmp )
  262. 2018-09-20 15:35:32.370640170 Creating filesystem of type 'ext4' with mount point '/tmp' on '/dev/mapper/rootvg-tmplv'.
  263. 2018-09-20 15:35:32.372556802 Using wipefs to cleanup '/dev/mapper/rootvg-tmplv' before creating filesystem.
  264. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  265. 2018-09-20 15:35:32.376381722 Begin mount_fs( fs:/tmp )
  266. 2018-09-20 15:35:32.381595217 End mount_fs( fs:/tmp )
  267. 2018-09-20 15:35:32.383635783 End create_fs( fs:/tmp )
  268. 2018-09-20 15:35:32.387584811 Marking fs:/tmp as done.
  269. 2018-09-20 15:35:32.393980369 Testing fs:/usr for dependencies...
  270. 2018-09-20 15:35:32.398386074 deps (2): /dev/mapper/rootvg-usrlv fs:/
  271. 2018-09-20 15:35:32.402647554 All dependencies for fs:/usr are present, processing...
  272. 2018-09-20 15:35:32.407749159 Begin create_fs( fs:/usr )
  273. 2018-09-20 15:35:32.413076476 Creating filesystem of type 'ext4' with mount point '/usr' on '/dev/mapper/rootvg-usrlv'.
  274. 2018-09-20 15:35:32.415134546 Using wipefs to cleanup '/dev/mapper/rootvg-usrlv' before creating filesystem.
  275. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  276. 2018-09-20 15:35:32.418930092 Begin mount_fs( fs:/usr )
  277. 2018-09-20 15:35:32.424133785 End mount_fs( fs:/usr )
  278. 2018-09-20 15:35:32.426169425 End create_fs( fs:/usr )
  279. 2018-09-20 15:35:32.430130371 Marking fs:/usr as done.
  280. 2018-09-20 15:35:32.436550413 Testing fs:/var/log for dependencies...
  281. 2018-09-20 15:35:32.440797122 deps (3): /dev/mapper/rootvg-varloglv fs:/ fs:/var
  282. 2018-09-20 15:35:32.446098541 Testing fs:/var for dependencies...
  283. 2018-09-20 15:35:32.450562447 deps (2): /dev/mapper/rootvg-varlv fs:/
  284. 2018-09-20 15:35:32.454776601 All dependencies for fs:/var are present, processing...
  285. 2018-09-20 15:35:32.459788540 Begin create_fs( fs:/var )
  286. 2018-09-20 15:35:32.464977577 Creating filesystem of type 'ext4' with mount point '/var' on '/dev/mapper/rootvg-varlv'.
  287. 2018-09-20 15:35:32.467033169 Using wipefs to cleanup '/dev/mapper/rootvg-varlv' before creating filesystem.
  288. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  289. 2018-09-20 15:35:32.470820508 Begin mount_fs( fs:/var )
  290. 2018-09-20 15:35:32.476278866 End mount_fs( fs:/var )
  291. 2018-09-20 15:35:32.478320449 End create_fs( fs:/var )
  292. 2018-09-20 15:35:32.482272644 Marking fs:/var as done.
  293. 2018-09-20 15:35:32.488504791 Testing fs:/var/log for dependencies...
  294. 2018-09-20 15:35:32.492885050 deps (3): /dev/mapper/rootvg-varloglv fs:/ fs:/var
  295. 2018-09-20 15:35:32.498100958 All dependencies for fs:/var/log are present, processing...
  296. 2018-09-20 15:35:32.503062162 Begin create_fs( fs:/var/log )
  297. 2018-09-20 15:35:32.508410807 Creating filesystem of type 'ext4' with mount point '/var/log' on '/dev/mapper/rootvg-varloglv'.
  298. 2018-09-20 15:35:32.510519704 Using wipefs to cleanup '/dev/mapper/rootvg-varloglv' before creating filesystem.
  299. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  300. 2018-09-20 15:35:32.514218822 Begin mount_fs( fs:/var/log )
  301. 2018-09-20 15:35:32.519477336 End mount_fs( fs:/var/log )
  302. 2018-09-20 15:35:32.521462971 End create_fs( fs:/var/log )
  303. 2018-09-20 15:35:32.525290394 Marking fs:/var/log as done.
  304. 2018-09-20 15:35:32.531833086 Testing fs:/boot for dependencies...
  305. 2018-09-20 15:35:32.536246490 deps (2): /dev/sda1 fs:/
  306. 2018-09-20 15:35:32.540533216 All dependencies for fs:/boot are present, processing...
  307. 2018-09-20 15:35:32.545860699 Begin create_fs( fs:/boot )
  308. 2018-09-20 15:35:32.551418548 Creating filesystem of type 'ext4' with mount point '/boot' on '/dev/sda1'.
  309. 2018-09-20 15:35:32.553483794 Using wipefs to cleanup '/dev/sda1' before creating filesystem.
  310. /usr/share/rear/lib/_input-output-functions.sh: line 328: type: tune4fs: not found
  311. 2018-09-20 15:35:32.557342845 Begin mount_fs( fs:/boot )
  312. 2018-09-20 15:35:32.562613855 End mount_fs( fs:/boot )
  313. 2018-09-20 15:35:32.564739457 End create_fs( fs:/boot )
  314. 2018-09-20 15:35:32.568539033 Marking fs:/boot as done.
  315. 2018-09-20 15:35:32.574974900 Testing swap:/dev/mapper/rootvg-swaplv for dependencies...
  316. 2018-09-20 15:35:32.579458981 deps (1): /dev/mapper/rootvg-swaplv
  317. 2018-09-20 15:35:32.582627306 All dependencies for swap:/dev/mapper/rootvg-swaplv are present, processing...
  318. 2018-09-20 15:35:32.592420112 Marking swap:/dev/mapper/rootvg-swaplv as done.
  319. 2018-09-20 15:35:32.603657996 Including layout/prepare/default/550_finalize_script.sh
  320. 2018-09-20 15:35:32.610559676 Including layout/prepare/default/600_show_unprocessed.sh
  321. 2018-09-20 15:35:32.619690063 Including layout/prepare/default/610_exclude_from_restore.sh
  322. 2018-09-20 15:35:32.621925423 Finished running 'layout/prepare' stage in 12 seconds
  323. 2018-09-20 15:35:32.623751508 ======================
  324. 2018-09-20 15:35:32.625456566 Running 'layout/recreate' stage
  325. 2018-09-20 15:35:32.627054032 ======================
  326. 2018-09-20 15:35:32.637072765 Including layout/recreate/default/100_confirm_layout_code.sh
  327. 2018-09-20 15:35:32.642541800 Including layout/recreate/default/200_run_layout_code.sh
  328. 2018-09-20 15:35:32.647639184 Start system layout restoration.
  329. Logical volume datavg/glidelv contains a filesystem in use.
  330. Can't deactivate volume group "datavg" with 2 open logical volume(s)
  331. Logical volume rootvg/rootlv contains a filesystem in use.
  332. Can't deactivate volume group "rootvg" with 7 open logical volume(s)
  333. +++ create_component /dev/sda disk
  334. +++ local device=/dev/sda
  335. +++ local type=disk
  336. +++ local touchfile=disk--dev-sda
  337. +++ '[' -e /tmp/rear.Q2YfQGEVPB5aX8e/tmp/touch/disk--dev-sda ']'
  338. +++ return 0
  339. +++ Log 'Stop mdadm'
  340. ++++ date '+%Y-%m-%d %H:%M:%S.%N '
  341. +++ local 'timestamp=2018-09-20 15:35:32.677236829 '
  342. +++ test 1 -gt 0
  343. +++ echo '2018-09-20 15:35:32.677236829 Stop mdadm'
  344. 2018-09-20 15:35:32.677236829 Stop mdadm
  345. +++ grep -q md /proc/mdstat
  346. +++ Log 'Erasing MBR of disk /dev/sda'
  347. ++++ date '+%Y-%m-%d %H:%M:%S.%N '
  348. +++ local 'timestamp=2018-09-20 15:35:32.680704304 '
  349. +++ test 1 -gt 0
  350. +++ echo '2018-09-20 15:35:32.680704304 Erasing MBR of disk /dev/sda'
  351. 2018-09-20 15:35:32.680704304 Erasing MBR of disk /dev/sda
  352. +++ dd if=/dev/zero of=/dev/sda bs=512 count=1
  353. 1+0 records in
  354. 1+0 records out
  355. 512 bytes (512 B) copied, 7.1938e-05 s, 7.1 MB/s
  356. +++ sync
  357. +++ LogPrint 'Creating partitions for disk /dev/sda (msdos)'
  358. +++ Log 'Creating partitions for disk /dev/sda (msdos)'
  359. ++++ date '+%Y-%m-%d %H:%M:%S.%N '
  360. +++ local 'timestamp=2018-09-20 15:35:32.693515306 '
  361. +++ test 1 -gt 0
  362. +++ echo '2018-09-20 15:35:32.693515306 Creating partitions for disk /dev/sda (msdos)'
  363. 2018-09-20 15:35:32.693515306 Creating partitions for disk /dev/sda (msdos)
  364. +++ Print 'Creating partitions for disk /dev/sda (msdos)'
  365. +++ test 1
  366. +++ echo -e 'Creating partitions for disk /dev/sda (msdos)'
  367. +++ my_udevsettle
  368. +++ has_binary udevadm
  369. +++ for bin in '$@'
  370. +++ type udevadm
  371. +++ return 0
  372. +++ udevadm settle
  373. +++ return 0
  374. +++ parted -s /dev/sda mklabel msdos
  375. Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
  376. 2018-09-20 15:35:34.248775026 UserInput: called in /usr/share/rear/layout/recreate/default/200_run_layout_code.sh line 127
  377. 2018-09-20 15:35:34.253775089 UserInput: Default input in choices - using choice number 1 as default input
  378. 2018-09-20 15:35:34.256169023 UserInput -I LAYOUT_CODE_RUN needed in /usr/share/rear/layout/recreate/default/200_run_layout_code.sh line 127
  379. 2018-09-20 15:35:34.258486609 The disk layout recreation script failed
  380. 2018-09-20 15:35:34.260768644 1) Rerun disk recreation script (/var/lib/rear/layout/diskrestore.sh)
  381. 2018-09-20 15:35:34.262931521 2) View 'rear recover' log file (/var/log/rear/rear-myhost.log)
  382. 2018-09-20 15:35:34.265142152 3) Edit disk recreation script (/var/lib/rear/layout/diskrestore.sh)
  383. 2018-09-20 15:35:34.267354992 4) View original disk space usage (/var/lib/rear/layout/config/df.txt)
  384. 2018-09-20 15:35:34.269529525 5) Use Relax-and-Recover shell and return back to here
  385. 2018-09-20 15:35:34.271716509 6) Abort 'rear recover'
  386. 2018-09-20 15:35:34.273847294 (default '1' timeout 300 seconds)
  387. 2018-09-20 15:35:42.981941930 UserInput: 'read' got as user input '2'
  388. 2018-09-20 15:35:42.986783218 UserInput: Valid choice number result 'View 'rear recover' log file (/var/log/rear/rear-myhost.log)'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement