Project

General

Profile

Actions

Bug #10983

closed

use a new disk as journal disk,ceph-disk prepare fail

Added by wei qiaomiao about 9 years ago. Updated almost 9 years ago.

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

100%

Source:
other
Tags:
Backport:
hammer,firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph version:0.87
os:redhat 7.0

use a new disk, has not partion, as journal disk, ceph-disk prepare fail[root@ceph-0 ~]# parted --machine -- /dev/sdh print
Error: /dev/sdh: unrecognised disk label
BYT;
/dev/sdh:300GB:scsi:512:512:unknown:TOSHIBA AL13SEB300:;
[root@ceph-0 ~]# parted --machine -- /dev/sdi print
BYT;
/dev/sdi:300GB:scsi:512:512:msdos:TOSHIBA AL13SEB300:;
1:1049kB:300GB:300GB:ext3::;
[root@ceph-0 ~]# ceph-disk prepare /dev/sdi /dev/sdh
Error: /dev/sdh: unrecognised disk label
ceph-disk: Error: weird parted units:


Related issues 3 (0 open3 closed)

Has duplicate Ceph - Bug #10314: use a new disk as journal disk,ceph-disk prepare execute failDuplicate12/14/2014

Actions
Copied to Ceph - Backport #11710: use a new disk as journal disk,ceph-disk prepare failResolvedLoïc Dachary03/02/2015Actions
Copied to Ceph - Backport #11711: use a new disk as journal disk,ceph-disk prepare failResolvedLoïc Dachary03/02/2015Actions
Actions #1

Updated by Travis Rhoden about 9 years ago

  • Project changed from 18 to Ceph

ceph-disk is part of ceph, used by ceph-deploy. moving to that project.

Actions #2

Updated by Loïc Dachary about 9 years ago

  • Status changed from New to 12
  • Assignee set to Loïc Dachary
Actions #3

Updated by Loïc Dachary about 9 years ago

  • Status changed from 12 to Fix Under Review
  • % Done changed from 0 to 80

in https://github.com/ceph/ceph/pull/3872 see the ceph-disk: more robust parted output parser commit. It is part of this series to benefit from tests that cover all cases (no partition table, a partition table with one existing entry in the partition table).

Actions #4

Updated by Loïc Dachary about 9 years ago

  • Backport set to hammer,firefly,dumpling
Actions #5

Updated by Loïc Dachary about 9 years ago

  • Backport changed from hammer,firefly,dumpling to hammer,firefly
Actions #6

Updated by Loïc Dachary about 9 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #9

Updated by Nathan Cutler almost 9 years ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 80 to 100
  • Regression set to No
Actions

Also available in: Atom PDF