FreeBSD/configs/etc/ctl.conf

56 lines
954 B
Plaintext
Raw Normal View History

2020-06-01 11:02:23 -07:00
portal-group pg0 {
discovery-auth-group no-authentication
listen 0.0.0.0
listen [::]
}
2020-06-11 12:02:40 -07:00
target iqn.nas.ahlawat.com:f11 {
2020-06-01 11:02:23 -07:00
# auth-group no-authentication
portal-group pg0
chap user secretsecret
lun 0 {
2020-06-11 12:02:40 -07:00
path /dev/zvol/ship/raw/FreeBSD11
2020-06-01 11:02:23 -07:00
size 128G
}
}
2020-06-11 12:02:40 -07:00
target iqn.nas.ahlawat.com:f12 {
2020-06-01 11:02:23 -07:00
# auth-group no-authentication
portal-group pg0
chap user secretsecret
lun 0 {
2020-06-11 12:02:40 -07:00
path /dev/zvol/ship/raw/FreeBSD12
2020-06-01 11:02:23 -07:00
size 128G
}
}
2020-06-11 12:02:40 -07:00
target iqn.nas.ahlawat.com:f13 {
2020-06-01 11:02:23 -07:00
# auth-group no-authentication
portal-group pg0
chap user secretsecret
lun 0 {
2020-06-11 12:02:40 -07:00
path /dev/zvol/ship/raw/FreeBSD13
2020-06-01 11:02:23 -07:00
size 128G
}
}
2021-04-18 01:07:42 -07:00
target iqn.nas.ahlawat.com:f12p {
# auth-group no-authentication
portal-group pg0
chap user secretsecret
lun 0 {
path /dev/zvol/ship/raw/FreeBSD12p
size 128G
}
}
target iqn.nas.ahlawat.com:f13p {
# auth-group no-authentication
portal-group pg0
chap user secretsecret
lun 0 {
path /dev/zvol/ship/raw/FreeBSD13p
size 128G
}
}