Skip to content

Commit

Permalink
update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
silentred committed Dec 6, 2023
1 parent aee2a4f commit 72c77b7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doc/en/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,13 @@ No resources found

### Data Engine: SPDK LVS

The csi-node depends on `nvme` command-line tool to connect remote targets. Run following commands to install nvme client.
~~The csi-node depends on `nvme` command-line tool to connect remote targets. Run following commands to install nvme client.~~
`nvme` client is installed in CSI base image. If you want to override the `nvme` command in container, you could run the following commands.
CSI-node checks file `/home/admin/nvmeof/bin/nvme` at first priority, then looks for `nvme` in PATH.

```
# prepare your own nvme client and copy to /home/admin/nvmeof/bin/nvme
sudo yum install -y nvme-cli
# csi-node uses file /home/admin/nvmeof/bin/nvme
sudo cp /usr/sbin/nvme /home/admin/nvmeof/bin/
```

Expand All @@ -219,7 +221,7 @@ sudo cp /usr/sbin/nvme /home/admin/nvmeof/bin/
kubectl create -f hack/deploy/base/
# create nvmf_tgt daemonset and configmap
kubectl create -f hack/deploy/base/aio-lvs
kubectl create -f hack/deploy/aio-lvs
```

The disk-agent config will create a normal file `/local-storage/aio-lvs` of 1GiB and create an AIOBdev, which is used to create a LVS.
Expand Down Expand Up @@ -265,7 +267,7 @@ status:
#### Deploy Pod and PVC

```
$ kubectl create -f pod.yaml
$ kubectl create -f hack/deploy/example/pod.yaml
pod/test-pod created
persistentvolumeclaim/pvc-obnvmf-test created
Expand Down

0 comments on commit 72c77b7

Please sign in to comment.