Skip to content

Commit

Permalink
started with BOOT_OVER_SAN stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gdha committed Oct 30, 2013
1 parent 210da8e commit acb6e07
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usr/share/rear/conf/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -722,3 +722,7 @@ PRE_RECOVERY_SCRIPT=
# we tend to use a timer in seconds we wait before continuing (we do not want to break the automated restores)
WAIT_SECS=30

# to force adding multipath related executables so a recovered system would be able to boot via SAN disks only
# instead of the internal ones (no success guaranteed although). E.g. in case the destination has no internal disks.
# making the variable (y,Y,1) to enable
BOOT_OVER_SAN=
7 changes: 7 additions & 0 deletions usr/share/rear/prep/GNU/Linux/24_include_multipath_tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 24_include_multipath_tools.sh
# Boot Over SAN executables and other goodies

[[ $BOOT_OVER_SAN != ^[yY1] ]] && return

PROGS=( "${PROGS[@]}" multipath dmsetup kpartx multipathd scsi_id )
COPY_AS_IS=( "${COPY_AS_IS[@]}" /etc/multipath/bindings /etc/multipath.conf )

0 comments on commit acb6e07

Please sign in to comment.