Feature #3341
ceph-disk-activate: Make --mount the default
0%
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
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 <sage@inktank.com>
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 <sage@inktank.com>
(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!