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, 3 months 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
#
# CAM control example
#
# $Id: ctl.conf,v 1.2 2014/09/15 19:06:44 misho Exp $
#
pidfile /var/run/ctld.pid
auth-group example2 {
chap-mutual "user" "secret" "mutualuser" "mutualsecret"
chap-mutual "user2" "secret2" "mutualuser" "mutualsecret"
}
portal-group example2 {
discovery-auth-group no-authentication
listen 127.0.0.1
listen 0.0.0.0:3261
listen [::]:3261
listen [fe80::be:ef]
}
target iqn.2012-06.com.example:target0 {
alias "Testing target"
auth-group no-authentication
lun 0 {
path /dev/zvol/example_0
blocksize 4096
size 4G
}
}
target iqn.2012-06.com.example:target3 {
chap chapuser chapsecret
lun 0 {
path /dev/zvol/example_3
}
}
target iqn.2012-06.com.example:target2 {
auth-group example2
portal-group example2
lun 0 {
path /dev/zvol/example2_0
}
lun 1 {
path /dev/zvol/example2_1
option foo bar
}
}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>