Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use partx for CentOS/RHEL instead of partprobe #1205

Merged
merged 2 commits into from Feb 10, 2014
Merged

use partx for CentOS/RHEL instead of partprobe #1205

merged 2 commits into from Feb 10, 2014

Conversation

alfredodeza
Copy link
Contributor

Those distros will force a user to reboot in order to get the kernel to re-read the partition that was created in the process of creating an OSD.

For a full/detailed description of the issue, see: http://tracker.ceph.com/issues/7334
Fix was verified on CentOS by adding two OSDs and seeing the partitions correctly listed:

[ubuntu@apama002 ~]$ sudo parted /dev/sdc print
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name          Flags
 1      1049kB  5370MB  5369MB               ceph journal
 2      5370MB  10.7GB  5369MB               ceph journal

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
jdurgin added a commit that referenced this pull request Feb 10, 2014
use `partx` for CentOS/RHEL instead of `partprobe`
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
@jdurgin jdurgin merged commit af5d0fc into master Feb 10, 2014
@jdurgin jdurgin deleted the wip-7334 branch February 10, 2014 21:09
liewegas added a commit that referenced this pull request Dec 14, 2016
upgrade: set kraken osd flag on upgrade

Reviewed-by: Kefu Chai <kchai@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants