File:
[ELWIX - Embedded LightWeight unIX -] /
elwix /
config /
etc /
default /
ctl.conf
Revision
1.2:
download - view:
text,
annotated -
select for diffs -
revision graph
Mon Sep 15 19:06:44 2014 UTC (10 years, 1 month ago) by
misho
Branches:
MAIN
CVS tags:
elwix2_8,
elwix2_7,
elwix2_6,
elwix2_3,
HEAD,
ELWIX2_7,
ELWIX2_6,
ELWIX2_5,
ELWIX2_2p0
elwix 2.2
1: #
2: # CAM control example
3: #
4: # $Id: ctl.conf,v 1.2 2014/09/15 19:06:44 misho Exp $
5: #
6:
7: pidfile /var/run/ctld.pid
8:
9: auth-group example2 {
10: chap-mutual "user" "secret" "mutualuser" "mutualsecret"
11: chap-mutual "user2" "secret2" "mutualuser" "mutualsecret"
12: }
13:
14: portal-group example2 {
15: discovery-auth-group no-authentication
16: listen 127.0.0.1
17: listen 0.0.0.0:3261
18: listen [::]:3261
19: listen [fe80::be:ef]
20: }
21:
22: target iqn.2012-06.com.example:target0 {
23: alias "Testing target"
24: auth-group no-authentication
25: lun 0 {
26: path /dev/zvol/example_0
27: blocksize 4096
28: size 4G
29: }
30: }
31:
32: target iqn.2012-06.com.example:target3 {
33: chap chapuser chapsecret
34: lun 0 {
35: path /dev/zvol/example_3
36: }
37: }
38:
39: target iqn.2012-06.com.example:target2 {
40: auth-group example2
41: portal-group example2
42: lun 0 {
43: path /dev/zvol/example2_0
44: }
45: lun 1 {
46: path /dev/zvol/example2_1
47: option foo bar
48: }
49: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>