Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Curve
Commits
9e347da6
Commit
9e347da6
authored
4 years ago
by
charisu
Committed by
YunhuiChen
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Update deploy.md
parent
7257b148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/cn/deploy.md
+2
-2
docs/cn/deploy.md
with
2 additions
and
2 deletions
+2
-2
docs/cn/deploy.md
+
2
-
2
View file @
9e347da6
...
@@ -533,10 +533,10 @@ ansible是一款自动化运维工具,curve-ansible 是基于 ansible playbook
...
@@ -533,10 +533,10 @@ ansible是一款自动化运维工具,curve-ansible 是基于 ansible playbook
8. 在client的机器上创建 CURVE 卷,并通过 NBD 挂载到本地。创建CURVE卷的时候可能会报Fail to listen,这个属于日志打印问题,不影响结果,可以忽略。
8. 在client的机器上创建 CURVE 卷,并通过 NBD 挂载到本地。创建CURVE卷的时候可能会报Fail to listen,这个属于日志打印问题,不影响结果,可以忽略。
```
```
1.
创建 CURVE 卷: 命令为 curve create [-h] --filename FILENAME --length LENGTH --user USER, LENGTH >= 10
1.
创建 CURVE 卷: 命令为 curve create [-h] --filename FILENAME --length LENGTH --user USER, LENGTH >= 10
。其中length单位为GB。
curve create --filename /test --length 10 --user curve
curve create --filename /test --length 10 --user curve
2.
挂载卷
2.
挂载卷
sudo curve-nbd map cbd:pool//test_curve_
sudo curve-nbd map cbd:pool//test_curve_
3.
查看设备挂载情况
(在docker部署的情况下,list-mapped会看不到,可以选择lsblk看一下是否有/dev/nbd0类型的卷)
3.
查看设备挂载情况
curve-nbd list-mapped
curve-nbd list-mapped
```
```
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment