]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: do not mount over an osd directly in /var/lib/ceph/osd/$cluster-$id
authorSage Weil <sage@inktank.com>
Thu, 27 Jun 2013 01:27:49 +0000 (18:27 -0700)
committerSage Weil <sage@inktank.com>
Thu, 27 Jun 2013 01:28:01 +0000 (18:28 -0700)
commit8a17f33b14d858235dfeaa42be1f4842dcfd66d2
tree08138c289d8b670a7136464666aabe502fec56b7
parentca55c3416e02398991c9789b1590d721fbca212d
ceph-disk: do not mount over an osd directly in /var/lib/ceph/osd/$cluster-$id

If we see a 'ready' file in the target OSD dir, do not mount our device
on top of it.

Among other things, this prevents ceph-disk activate on stray disks from
stepping on teuthology osds.

Fixes: #5445
Signed-off-by: Sage Weil <sage@inktank.com>
src/ceph-disk