]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: modify the disk partition sequence of ceph-disk list 9442/head
authorhoulinfei <hou.linfei@h3c.com>
Thu, 2 Jun 2016 15:09:32 +0000 (11:09 -0400)
committerhoulinfei <hou.linfei@h3c.com>
Thu, 2 Jun 2016 15:09:32 +0000 (11:09 -0400)
commitb3ad73de74d85d45153f7839864bd87a13e697b3
tree5575221c4891fdd53276f07d5366fb4fae96a74a
parentb3d20a2e5daccec22ceb65be1ad6a22aca4eaf72
ceph-disk: modify the disk partition sequence of ceph-disk list

    before the change, when you execute ceph-disk list, it will show in this order:
    /dev/sda :
     /dev/sda2 ceph journal, for /dev/sda1
     /dev/sda1 ceph data, active, cluster ceph, osd.0, journal /dev/sda2

    after the change, it will show in this order:
    /dev/sda :
     /dev/sda1 ceph data, active, cluster ceph, osd.0, journal /dev/sda2
     /dev/sda2 ceph journal, for /dev/sda1

Signed-off-by: houlinfei <hou.linfei@h3c.com>
src/ceph-disk/ceph_disk/main.py