Project

General

Profile

Actions

Documentation #3223

closed

Doc: ceph osd map not documented

Added by Dan Mick over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

$ ceph osd getmap -o osdmap
got osdmap epoch 59
$ osdmaptool --test-map-object dmick.rbd osdmap
osdmaptool: osdmap file 'osdmap'
object 'dmick.rbd' -> 0.69c8 -> [3,1]

shows dmick.rbd mapping to pg 0.69c8, which in turn maps to OSDs 3 and 1, 3
being the primary.

You can do this more simply with:

ceph osd map <poolname> <objectname>

sage

I'd have been happy to know about ceph osd map :) But it's not in the manpage,
usage, or ceph.com/docs that I can find.

Actions #1

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF