Update README.md

This commit is contained in:
Le Zhang
2016-10-18 17:04:06 +08:00
committed by GitHub
parent 92e437cd06
commit 39a9e7ac67

View File

@@ -27,13 +27,24 @@ Currenty, there is lack of commands to operate the target and LU, however you ca
"online":true
}
],
"targets": {
"test-iscsi-target": {
"name": "iqn.2016-09.com.gotgt.gostor:example_tgt_0",
"luns": {"0": 1000}
"iscsiportals":[
{
"id":0,
"portal":"127.0.0.1:3260"
}
],
"iscsitargets":{
"iqn.2016-09.com.gotgt.gostor:02:example-tgt-0":{
"tpgts":{
"1":[0]
},
"luns":{
"0":1000
}
}
}
}
```
> Note: make sure file `/var/tmp/disk.img` is existed, you can use `dd` to create it.