Project

General

Profile

Feature #3341

ceph-disk-activate: Make --mount the default

Added by Anonymous over 11 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Cautious route: introduce --no-mount, make --mount default, etc.

Probably good enough: remove the --mount from src/upstart/ceph-hotplug.conf, make the option default in src/ceph-disk-activate, perhaps remove the non-mount case.

Associated revisions

Revision 191d5f75 (diff)
Added by Sage Weil about 11 years ago

ceph-disk-activate: detect whether PATH is mount or dir

remove in-the-way symlinks in /var/lib/ceph/osd

This is simpler. Just detect what the path is and Do The Right Thing.

Closes #3341 (which wanted to make --mount the default)

Signed-off-by: Sage Weil <>

Revision aa428017 (diff)
Added by Sage Weil almost 11 years ago

ceph-disk-activate: detect whether PATH is mount or dir

remove in-the-way symlinks in /var/lib/ceph/osd

This is simpler. Just detect what the path is and Do The Right Thing.

Closes #3341 (which wanted to make --mount the default)

Signed-off-by: Sage Weil <>
(cherry picked from commit 191d5f7535f8d96d493e1b35b43a421c67c168ea)

History

#1 Updated by Sage Weil over 11 years ago

  • translation missing: en.field_position set to 31

#2 Updated by Sage Weil about 11 years ago

  • Status changed from New to Rejected

#3 Updated by Sage Weil about 11 years ago

I made it autodetect whether to mount or not based on whether you pass a directory or block device in. Simpler all around!

Also available in: Atom PDF