-
Notifications
You must be signed in to change notification settings - Fork 0
/
istgt.conf
62 lines (59 loc) · 1.34 KB
/
istgt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Global section
[Global]
NodeBase "iqn.2017-08.OpenEBS.cstor"
PidFile "/var/run/istgt.pid"
AuthFile "/usr/local/etc/istgt/auth.conf"
LogFile "/usr/local/etc/istgt/logfile"
Luworkers 1
MediaDirectory "/mnt"
Timeout 60
NopInInterval 20
MaxR2T 16
DiscoveryAuthMethod None
DiscoveryAuthGroup None
MaxSessions 32
MaxConnections 4
FirstBurstLength 262144
MaxBurstLength 1048576
MaxRecvDataSegmentLength 262144
MaxOutstandingR2T 16
DefaultTime2Wait 2
DefaultTime2Retain 20
OperationalMode 1
# UnitControl section
[UnitControl]
AuthMethod None
AuthGroup None
Portal UC1 localhost:3261
Netmask localhost/8
# PortalGroup section
[PortalGroup1]
Portal DA1 localhost:3260
# InitiatorGroup section
[InitiatorGroup1]
InitiatorName "ALL"
Netmask "ALL"
[InitiatorGroup2]
InitiatorName "None"
Netmask "None"
# LogicalUnit section
[LogicalUnit2]
TargetName vol1
TargetAlias nicknamefor-vol1
Mapping PortalGroup1 InitiatorGroup1
AuthMethod None
AuthGroup None
UseDigest Auto
ReadOnly No
UnitType Disk
UnitOnline Yes
BlockLength 512
QueueDepth 32
Luworkers 1
UnitInquiry "CloudByte" "iscsi" "0" "4059aab98f093c5d95207f7af09d1413"
PhysRecordLength 4096
LUN0 Storage /home/payes/vol1 1G 32k
LUN0 Option Unmap Disable
LUN0 Option WZero Disable
LUN0 Option ATS Disable
LUN0 Option XCOPY Disable