Actions
Bug #7334
closedceph-disk: cannot run partprobe on used devices with EL6
% 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.
Actions