From 6a9239e85cfb5991bb455116b710d7b2fa28c59d Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Fri, 3 Apr 2020 15:08:13 +0200 Subject: [PATCH] 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 Change-Id: Icbb2e2c0415af08351cddf2caac33edab5b694c5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1678 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto --- doc/ftl.md | 2 +- doc/iscsi.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/ftl.md b/doc/ftl.md index 207df08a8..554f4f0d7 100644 --- a/doc/ftl.md +++ b/doc/ftl.md @@ -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} diff --git a/doc/iscsi.md b/doc/iscsi.md index cd9fe5bec..ec02c2855 100644 --- a/doc/iscsi.md +++ b/doc/iscsi.md @@ -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.