ceph安装各种报错

[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph-disk-activate –mark-init sysvinit –mount /dev/sdb1

说实话这个问题很二
我将OSD单独放到一个分区sdb执行的命令是:
ceph-deploy osd prepare network:/dev/sdb1
ceph-deploy osd activate network:/dev/sdb1
上面的是错误的
正确的是
ceph-deploy osd –zap-disk create network:sdb
ceph-deploy osd prepare network:/dev/sdb1:/dev/sdb2
ceph-deploy osd activate network:/dev/sdb1:/dev/sdb2

问题不是这样解决的,进入/var/lib/ceph/tmp,删掉里面的临时文件,再试一下,就可以了。

时间: 2024-08-12 11:39:07

ceph安装各种报错的相关文章

Ceph安装QEMU报错:User requested feature rados block device configure was not able to find it

CentOS6.3中,要想使用Ceph的block device,需要安装更高版本的QEMU. 安装好ceph后,安装qemu-1.5.2 # tar -xjvf qemu-1.5.2.tar.bz2 # cd qemu-1.5.2 # ./configure --enable-rbd 一定要加上--enable-rbd选项,这样qemu才能支持rbd协议. 这一步可能会报错: ERROR: User requested feature rados block device configure

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描写叙述 使用pip依照virtualenv报错,例如以下: pip install virtualenv Collecting virtualenv /opt/python27/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An

CentOS安装过程报错

Unable to read group information from repositories.  This is a problem with the generation of your install tree 网上搜到说是bug http://bbs.linuxtone.org/thread-16947-1-1.html 个人解决办法:把boot大小由200改为1024安装不报错

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382

Centos安装fabric 报错:error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)

Centos安装fabric 报错: error: 'FFI_DEFAULT_ABI' undeclared (first use in this function) 需要安装libffi-devel Debian或Ubuntu需要安装 libffi-dev

python27(32位)安装模块报错“error: Unable to find vcvarsall.bat”

1)首先,下载一个Microsoft Visual C++ Compiler for Python 2.7的补丁,下载地址在这里: http://www.microsoft.com/en-us/download/details.aspx?id=44266 2) 然后下载安装VS2008(对应VER9.0),如果电脑上安装的是VS2010(对应VER10.0), 可以在VS命令行下执行:SET VS90COMNTOOLS=%VS100COMNTOOLS% 如果你安装的是 2012 版(对应VER1

CentOS 6安装KVM后安装虚拟机报错

安装KVM在配置完桥接网卡后,安装虚拟机报错. 附有CentOS 6安装KVM文档,和安装过程截图,可否有人能看出其中问题所在,小女子不胜感激.

安装nghttp2 报错error: Libtool library used but 'LIBTOOL' is undefined

nghttp2 报错error: Libtool library used but 'LIBTOOL' is undefined 如果重新安装libtool和autoconf升级到2.69后,还是报错, 则进行下面的操作: 1,查看aclocal的路径 aclocal --print-ac-dir 显示/usr/local/share/libtool/m4 ls看看里面没有m4文件. 则copy /usr/share/libtool/m4里面的m4文件到此目录下. 2,cd到nghtt2目录 执

安装STS报错(一)

安装STS报错 1.具体报错如下 2.报错原因 3.解决办法 安装STS报错(一)