Ceph installs various error

Source: Internet
Author: User

[Ceph_deploy] [ERROR] Runtimeerror:failed to execute Command:ceph-disk-activate–mark-init sysvinit–mount/dev/sdb1

To be honest, the question is two.
I put the OSD in a separate partition SDB executes the commands that are:
Ceph-deploy OSD Prepare NETWORK:/DEV/SDB1
Ceph-deploy OSD Activate NETWORK:/DEV/SDB1
The above is wrong.
The right thing is
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

The problem is not resolved, into the/var/lib/ceph/tmp, delete the temporary files inside, and then try again, you can.

Ceph installs various error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.