Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

挂载卷失败 #87

Closed
tomqijianbo opened this issue Sep 7, 2020 · 2 comments
Closed

挂载卷失败 #87

tomqijianbo opened this issue Sep 7, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@tomqijianbo
Copy link

tomqijianbo commented Sep 7, 2020

问题描述:
创建完卷后进行卷挂载时提示失败,返回如下:
curve-nbd: kernel reported invalid size (85899345920, expected 10737418240)
curve-ndb: failed to map, status: Invalid argument

To Reproduce (复现方法)
单物理机进行单机部署. 步骤参照: https://github.com/opencurve/curve/blob/master/docs/cn/deploy.md#单机部署

Versions (各种版本)
OS: CentOS Linux release 7.3.1611 (Core)
gcc: 8.4.0
opsnssl: OpenSSL 1.1.1g 21 Apr 2020
git: 2.28.0
curve: v1.0.0-beta
nbd info
image
集群状态:
image

创建卷、挂载卷:
image

nebd.zip

@tomqijianbo tomqijianbo added the bug Something isn't working label Sep 7, 2020
@wu-hanqing
Copy link
Contributor

从nebd-server的日志来看,打开卷是正常的。上述报错,应该是curve-nbd与内核nbd交互过程中出错。
内部测试过程中,没有在3.10版本内核测试过。
可以参考部署文档,将内核升级到4.18,再进行部署。

@tomqijianbo
Copy link
Author

好的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants