Skip to content

Commit

Permalink
ceph-disk: add deactivate feature
Browse files Browse the repository at this point in the history
  Implement deactivate option on ceph-disk.

  - stop ceph-osd service if needed (If osd still in osd map, make it out first)
  - remove 'ready', 'active', and INIT-specific files
  - remove gpt partition type and change partition name (prevent triggered by udev)
  - create deactive flag
  - umount device and remove mount point

Signed-off-by: Vicente Cheng <[email protected]>
  • Loading branch information
Vicente-Cheng committed Nov 17, 2015
1 parent 6bf5c87 commit 3fcdf41
Showing 1 changed file with 340 additions and 0 deletions.
Loading

0 comments on commit 3fcdf41

Please sign in to comment.