Ceph Basic Operations Finishing

Source: Internet
Author: User
One, Ceph replacement drive process:

1. Delete OSD:

A, stop the OSD daemon

Stop Ceph-osd Id=x

B, Mark OSD out

Ceph OSD out OSD. X

C, OSD Remove from Crushmap

Ceph OSD Remove OSD. X

D, Delete ceph anthentication keys

Ceph Auth del osd. X

E, remove OSD from Ceph cluster

Ceph OSD RM OSD. X

2, add OSD (warning: Add after deletion, OSD ID value will not change, otherwise the OSD ID change)

1. Submit the OSD using the Ceph-deploy tool

Ceph-deploy OSD Create [hostname]:[disk]:[journal]

2. If a partition table exists for the added hard disk, the partition table needs to be emptied:

Ceph-deploy disk Zap [Hostname]:[disk]

Ceph Basic Operations Finishing

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.