Debian Codegraph @

example-run/default-iscsi_initiator.conf

raw
1 #!/bin/bash
2 # Copyright 2010-2012 Thomas Schoebel-Theuer / 1&1 Internet AG
3 #
4 # Copying and distribution of this file, with or without modification,
5 # are permitted in any medium without royalty provided the copyright
6 # notice and this notice are preserved. This file is offered as-is,
7 # without any warranty.
8
9 #####################################################################
10
11 ## defaults for module iscsi_initiator
12 ##
13 ## Automatic setup of the linux iSCSI initiator (of course, it must be installed)
14
15 ## enable_iscsi_initiator
16 ##
17 ## Set to 0 or 1. Enable / disable this module.
18
19 enable_iscsi_initiator=0
20
21 ## iscsi_target
22 ##
23 ## hostname of the iSCSI target you want to connect with.
24 ##
25 ## Beware of firewall rules: unless you use $iscsi_ip below,
26 ## this must be accessible from all your
27 ## $replay_host_list machines, as well as from your workstation where
28 ## tree-replay.sh is running. Setup your ssh correctly, such that
29 ## no interactive questions will occur!
30
31 iscsi_target="myserver"
32
33 ## iscsi_ip
34 ##
35 ## deviating IP or hostname of the iSCSI target in case of a different
36 ## eth* interface for an internal storage network.
37 ##
38 ## This is only used for internal connections between the initiators
39 ## and the target.
40 ##
41 ## The syntax ip:portnumber is also supported.
42 ##
43 ## When unset, this defaults to $iscsi_target
44
45 #iscsi_ip="10.0.0.1"
46
47 ## replay_host_list and replay_device_list
48 ##
49 ## IMPORTANT!
50 ##
51 ## These variables are usually configured in the main module, or in
52 ## your own *.conf overrides.
53 ##
54 ## The MEANING of "devices" changes, as soon as you enable this module:
55 ## Now the device names are nothing but IQN names for iSCSI!
56 ##
57 ## Don't mess that up.
58 ##
59 ## BEWARE: cartesian combinations of $replay_host_list with $replay_host_list
60 ## will continue to take place.
61 ##
62 ## Thus, it is strongly recommended to use the syntax
63 ## "hostname:IQN.bla" as documented in default-main.conf
64 ## in order to avoid re-using the same IQN specification twice (by accident).
65 ##
66 ## When combined with module iscsi_target_*, the meaning of the devices
67 ## will change _again_: in this case they will denote devices (not IQNs)
68 ## on $iscsi_ip (see also comments in default-iscsi_target_*.conf).