Bug #10983
closeduse a new disk as journal disk,ceph-disk prepare fail
100%
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:
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.
Updated by Loïc Dachary about 9 years ago
- Status changed from New to 12
- Assignee set to Loïc Dachary
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).
Updated by Loïc Dachary about 9 years ago
- Backport set to hammer,firefly,dumpling
Updated by Loïc Dachary about 9 years ago
- Backport changed from hammer,firefly,dumpling to hammer,firefly
Updated by Loïc Dachary about 9 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Loïc Dachary about 9 years ago
- hammer backport https://github.com/ceph/ceph/pull/4503
Updated by Nathan Cutler almost 9 years ago
- firefly backport https://github.com/ceph/ceph/pull/4630
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