Chg-rait: Difference between revisions
Jump to navigation
Jump to search
(from Changers) |
(link to chg-null) |
||
Line 15: | Line 15: | ||
tapedev_3="/some/dev" | tapedev_3="/some/dev" | ||
The third uses | The third uses [[chg-null]]. The tapedev_n entries are only needed if the changerfile in question uses them. |
Revision as of 16:14, 23 June 2008
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.