Project

General

Profile

Actions

Bug #7334

closed

ceph-disk: cannot run partprobe on used devices with EL6

Added by Alexandre Marangone about 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
ceph-disk
Target version:
-
% Done:

0%

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

Description

commit:42900ff9da9f5adcac239a84ebf4d2e407c29699

https://bugzilla.redhat.com/show_bug.cgi?id=614357.

After ceph-disk creates the journal and data partitions, it calls partprobe on both of them.

Doing so on EL6 distros will fail if one of the device partition is being used. This is problematic when using SSDs for Ceph journals since we do create multiple partitions.

To fix this manually, after all the OSDs have been deployed:
- service ceph stop osd
- partprobe
- ceph-disk activate-all

There's also the possibility to patch ceph-disk to check for the linux distribution and if sgdisk returns more than 1 partitions, run partx instead of partprobe.
Ref: https://access.redhat.com/site/solutions/57542

I don't know if this also affects EL7.


Related issues 1 (0 open1 closed)

Related to devops - Bug #10987: ceph-disk broken for rhel 7 due to usage of partxCan't reproduceItamar Landsman03/02/2015

Actions
Actions

Also available in: Atom PDF