繁体   English   中英

ceph crushtool 管道命令不起作用

[英]ceph crushtool piping commands is not working

我在 ceph 监视器容器中运行此命令

ceph osd getcrushmap | crushtool -d - | less 

它向我展示了反编译后的粉碎 map 的 output。 当我尝试

ceph osd getcrushmap | crushtool -d - | crushtool -c - 

我收到错误,输入文件 - 未找到

任何想法我怎样才能使这项工作?

尝试两个步骤:

ceph osd getcrushmap -o {compiled-crushmap-filename} && crushtool -d {compiled-crushmap-filename} -o {decompiled-crushmap-filename} 

然后检查文件 {decompiled-crushmap-filename} 内容是否可读,如果是 - 使用 crushtool -c 重新编译

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM