Fix Markdown MD014 linter warnings

MD014 - Dollar signs used before commands without
showing output.

This rule is triggered when there are code blocks
showing shell commands to be typed, and all of the
shell commands are preceded by dollar signs ($)

Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Change-Id: Icbb2e2c0415af08351cddf2caac33edab5b694c5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1678
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Karol Latecki 2020-04-03 15:08:13 +02:00 committed by Tomasz Zawadzki
parent 410bdfdbe3
commit 6a9239e85c
2 changed files with 8 additions and 8 deletions

View File

@ -203,7 +203,7 @@ block being 4096B. Therefore the data file needs to be at least 384G (8 * 512 *
size and can be created with the following command:
```
$ fallocate -l 384G /path/to/data/file
fallocate -l 384G /path/to/data/file
```
## Configuring SPDK {#ftl_spdk_config}

View File

@ -227,33 +227,33 @@ Assuming we have one iSCSI Target server with portal at 10.0.0.1:3200, two LUNs
Start iscsi_tgt application:
```
$ ./app/iscsi_tgt/iscsi_tgt
./app/iscsi_tgt/iscsi_tgt
```
Construct two 64MB Malloc block devices with 512B sector size "Malloc0" and "Malloc1":
```
$ ./scripts/rpc.py bdev_malloc_create -b Malloc0 64 512
$ ./scripts/rpc.py bdev_malloc_create -b Malloc1 64 512
./scripts/rpc.py bdev_malloc_create -b Malloc0 64 512
./scripts/rpc.py bdev_malloc_create -b Malloc1 64 512
```
Create new portal group with id 1, and address 10.0.0.1:3260:
```
$ ./scripts/rpc.py iscsi_create_portal_group 1 10.0.0.1:3260
./scripts/rpc.py iscsi_create_portal_group 1 10.0.0.1:3260
```
Create one initiator group with id 2 to accept any connection from 10.0.0.2/32:
```
$ ./scripts/rpc.py iscsi_create_initiator_group 2 ANY 10.0.0.2/32
./scripts/rpc.py iscsi_create_initiator_group 2 ANY 10.0.0.2/32
```
Finally construct one target using previously created bdevs as LUN0 (Malloc0) and LUN1 (Malloc1)
with a name "disk1" and alias "Data Disk1" using portal group 1 and initiator group 2.
```
$ ./scripts/rpc.py iscsi_create_target_node disk1 "Data Disk1" "Malloc0:0 Malloc1:1" 1:2 64 -d
./scripts/rpc.py iscsi_create_target_node disk1 "Data Disk1" "Malloc0:0 Malloc1:1" 1:2 64 -d
```
#### Configure initiator
@ -268,7 +268,7 @@ $ iscsiadm -m discovery -t sendtargets -p 10.0.0.1
Connect to the target
~~~
$ iscsiadm -m node --login
iscsiadm -m node --login
~~~
At this point the iSCSI target should show up as SCSI disks.