Project

General

Profile

Actions

Feature #4954

closed

ceph-deploy: help and document need to be updated for osd create

Added by Tamilarasi muthamizhan almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
ceph-deploy
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

we need to update the ceph help and documentation for ceph-deploy osd create, to also contain the usage and command sequence for osd create using path in place of disk.

ie, ceph-deploy osd create host:/path/for/osd
ceph-deploy osd activate host:/path/for/osd

also, we need to be able to clearly mention that osd create with pathname should be followed by activate, as in the current help, it says create will do both prepare+activate.

Actions #1

Updated by John Wilkins almost 11 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Assignee changed from John Wilkins to Sage Weil
Actions #3

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Assignee changed from Sage Weil to Dan Mick
Actions #4

Updated by Anonymous almost 11 years ago

  • Tracker changed from Bug to Feature
Actions #5

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Assignee changed from Dan Mick to Alfredo Deza
  • Priority changed from Normal to High

We see a lot of users in IRC not clear about how to use osd create command using path instead of disk.

It would be nice to get this documented at the earliest.

Actions #6

Updated by Alfredo Deza over 10 years ago

  • Status changed from In Progress to New
Actions #7

Updated by Alfredo Deza over 10 years ago

  • Status changed from New to Need More Info

From what I see, `prepare` does `activate`, how are you running ceph-deploy and what are you seeing as output that tells you that is not the case?

Actions #8

Updated by Tamilarasi muthamizhan over 10 years ago

we need to include this in ceph-deploy osd help:

For demonstration purposes, you may wish to add multiple OSDs to the OS disk (not recommended for production systems). To use Ceph OSDs daemons on the OS disk, you must use prepare and activate as separate steps. First, define a directory for the Ceph OSD daemon(s).

mkdir /tmp/osd0
mkdir /tmp/osd1
Then, use prepare to prepare the directory(ies) for use with a Ceph OSD Daemon.

ceph-deploy osd prepare {osd-node-name}:/tmp/osd0
ceph-deploy osd prepare {osd-node-name}:/tmp/osd1
Finally, use activate to activate the Ceph OSD Daemons.

ceph-deploy osd activate {osd-node-name}:/tmp/osd0
ceph-deploy osd activate {osd-node-name}:/tmp/osd1
Actions #9

Updated by Alfredo Deza over 10 years ago

  • Status changed from Need More Info to In Progress
Actions #10

Updated by Alfredo Deza over 10 years ago

  • Status changed from In Progress to Resolved

Merged into ceph-deploy master branch with hash: 26a41b6

Actions

Also available in: Atom PDF