Project

General

Profile

Actions

Bug #12103

closed

ceph-disk prepare failing due to journal and OSD are not of same device, OSD has GPT and journal has MBR format

Added by Shankar Janagoud almost 9 years ago. Updated over 8 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph-disk prepare --cluster ceph /dev/sdY /dev/sdX
WARNING:ceph-disk:OSD will not be hot-swappable if journal is not the same device as the osd data

*******************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.

Non-GPT disk; not saving changes. Use g to override.
ceph-disk: Error: Command '['/usr/sbin/sgdisk', '--largest-new=1', '--change-name=1:ceph data', '--partition-guid=1:90e19cc2-4488-4b8d-80aa-3ba383533f50', '--typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be', '-
', '/dev/sdl']' returned non-zero exit status 3

Actions #1

Updated by Nathan Cutler over 8 years ago

  • Project changed from sepia to Ceph
  • Target version deleted (v0.80.11)
  • Source changed from Development to Community (dev)
Actions #2

Updated by Sage Weil over 8 years ago

  • Status changed from New to Rejected

it sounds like you just needed to zap the journal device first?

Actions

Also available in: Atom PDF