Bug #7334
closedceph-disk: cannot run partprobe on used devices with EL6
0%
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.
Updated by Alfredo Deza about 10 years ago
- Status changed from New to In Progress
Updated by Alfredo Deza about 10 years ago
- Status changed from In Progress to Fix Under Review
pull request opened https://github.com/ceph/ceph/pull/1205
Updated by Alfredo Deza about 10 years ago
- Status changed from Fix Under Review to Resolved
merged into ceph's master branch af5d0fc
Updated by Ian Colle about 10 years ago
- Status changed from Resolved to Pending Backport
- Backport set to Dumpling
Alfredo - please cherry pick to Dumpling
Updated by Alfredo Deza about 10 years ago
Created branch dumpling-7334 and got all dumpling ceph-deploy suite tests to pass http://pulpito.ceph.com/ubuntu-2014-02-12_16:52:33-ceph-deploy-dumpling-7334-testing-basic-plana/
Opened pull request to merge the backport to dumpling https://github.com/ceph/ceph/pull/1232
Updated by Alfredo Deza about 10 years ago
- Status changed from Pending Backport to Resolved
Merged into ceph dumpling branch with hash 1c42a6e