Fix ctl.conf example to use proper paths to ZVOLs.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
81ed644a59
commit
79512487f6
@ -313,7 +313,7 @@ target iqn.2012-06.com.example:target0 {
|
|||||||
alias "Example target"
|
alias "Example target"
|
||||||
auth-group no-authentication
|
auth-group no-authentication
|
||||||
lun 0 {
|
lun 0 {
|
||||||
path /dev/zvol/example_0
|
path /dev/zvol/tank/example_0
|
||||||
blocksize 4096
|
blocksize 4096
|
||||||
size 4G
|
size 4G
|
||||||
}
|
}
|
||||||
@ -322,7 +322,7 @@ target iqn.2012-06.com.example:target0 {
|
|||||||
target iqn.2012-06.com.example:target3 {
|
target iqn.2012-06.com.example:target3 {
|
||||||
chap chapuser chapsecret
|
chap chapuser chapsecret
|
||||||
lun 0 {
|
lun 0 {
|
||||||
path /dev/zvol/example_3
|
path /dev/zvol/tank/example_3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -330,10 +330,10 @@ target iqn.2012-06.com.example:target2 {
|
|||||||
auth-group example2
|
auth-group example2
|
||||||
portal-group example2
|
portal-group example2
|
||||||
lun 0 {
|
lun 0 {
|
||||||
path /dev/zvol/example2_0
|
path /dev/zvol/tank/example2_0
|
||||||
}
|
}
|
||||||
lun 1 {
|
lun 1 {
|
||||||
path /dev/zvol/example2_1
|
path /dev/zvol/tank/example2_1
|
||||||
option foo bar
|
option foo bar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user