Annotation of elwix/config/etc/default/ctl.conf, revision 1.1.2.1
1.1.2.1 ! misho 1: #
! 2: # CAM control example
! 3: #
! 4: # $Id:$
! 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>