| 1 | # istgtcontrol configuration file |
| 2 | # |
| 3 | [Global] |
| 4 | Comment "sample configuration" |
| 5 | # default values can be overrided by command line switch. |
| 6 | |
| 7 | # socket I/O timeout sec. |
| 8 | Timeout 60 |
| 9 | |
| 10 | # authentication information |
| 11 | #AuthMethod Auto |
| 12 | AuthMethod CHAP Mutual |
| 13 | Auth "testuser" "secret" "mutual user" "mutual secret" |
| 14 | #AuthMethod CHAP |
| 15 | #Auth "testuser" "secret" |
| 16 | |
| 17 | # default controller's host name or IP and port |
| 18 | Host localhost |
| 19 | #Host 192.168.2.36 |
| 20 | Port 3261 |
| 21 | |
| 22 | # default target name and LUN |
| 23 | #TargetName "iqn.xxxx" |
| 24 | TargetName "iqn.2007-09.jp.ne.peach:dvd1" |
| 25 | Lun 0 |
| 26 | |
| 27 | # removable file's flag, initial size if creating |
| 28 | # ro: read only, rw: read and write |
| 29 | # auto: use existing size or minimum size |
| 30 | Flags "ro" |
| 31 | Size "auto" |