Project

General

Profile

Feature #3256

ceph-disk-prepare: abort if target disk has any partition mounted

Added by Anonymous over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Associated revisions

Revision 3bd0ac0a (diff)
Added by Sage Weil almost 8 years ago

ceph-disk-prepare: verify device is not mounted before using

Make sure the data and/or journal device(s) are not in use (mounted)
before using them. Make room for additional "in-use" checks in the future.

Closes: #3256
Signed-off-by: Sage Weil <>

Revision e4a52002 (diff)
Added by Sage Weil almost 8 years ago

ceph-disk-prepare: verify device is not mounted before using

Make sure the data and/or journal device(s) are not in use (mounted)
before using them. Make room for additional "in-use" checks in the future.

Closes: #3256
Signed-off-by: Sage Weil <>
(cherry picked from commit 3bd0ac0ab011c4cdf0121f0d9732938d085fb8bf)

History

#1 Updated by Sage Weil almost 8 years ago

  • Target version set to v0.60

#2 Updated by Sage Weil almost 8 years ago

  • Status changed from New to 12
  • Assignee set to Sage Weil
  • Priority changed from Normal to High

#3 Updated by Sage Weil almost 8 years ago

  • Status changed from 12 to Fix Under Review
  • Assignee changed from Sage Weil to Tamilarasi muthamizhan

Tamil, can you test this branch with that ceph-deploy you were doing on burnupi07 and see if it properly tells you why the device is busy?

Thanks!

#4 Updated by Sage Weil almost 8 years ago

Where "this branch" is wip-prepare. Thanks!

#5 Updated by Sage Weil almost 8 years ago

  • Status changed from Fix Under Review to Resolved

commit:8184b68c37f1a2c9303e13caeaad0eccd5678ab6

Also available in: Atom PDF