Feature #4954
closed
ceph-deploy: help and document need to be updated for osd create
Added by Tamilarasi muthamizhan about 11 years ago.
Updated over 10 years ago.
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.
- Status changed from New to In Progress
- Assignee changed from John Wilkins to Sage Weil
- Assignee changed from Sage Weil to Dan Mick
- Tracker changed from Bug to Feature
- 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.
- Status changed from In Progress to New
- 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?
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
- Status changed from Need More Info to In Progress
- Status changed from In Progress to Resolved
Merged into ceph-deploy master branch with hash: 26a41b6
Also available in: Atom
PDF