Chg-rait

From wiki.zmanda.com
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Deprecated
This changer is deprecated; see amanda-changers(7)


A shell script that runs other changers in tandem, and returns a rait:{dev1,dev2,...} tape device based on the results of each other changer. So if you wanted to have 2 stackers striped with no parity, and you have chg-mtx support for your stackers, you would use the following changerfile:

  nchangers=3
  tpchanger_1="chg-mtx"
  changerdev_1="/dev/mtx1"
  changerfile_1="/some/file1"
  tapedev_1="/some/dev"
  tpchanger_2="chg-mtx"
  changerdev_2="/dev/mtx2"
  changerfile_2="/some/file2"
  tapedev_2="/some/dev"
  tpchanger_3="chg-null"
  changerdev_3="/dev/null"
  changerfile_3="/some/file3"
  tapedev_3="/some/dev"

The third uses chg-null. The tapedev_n entries are only needed if the changerfile in question uses them.