In the case where the rbdmap utility is invoked by systemd (i.e. to
map RBD devices on system startup and unmap RBD devices on system
shutdown) [1], I would think the current unmap-all behavior is
desirable in much the same way that only filesystems listed in
"/etc/fstab" are mounted at startup but all filesystems are unmounted
at system shutdown.

[1] https://github.com/ceph/ceph/blob/master/systemd/rbdmap.service

On Wed, Feb 15, 2017 at 11:14 AM, David Disseldorp <dd...@suse.de> wrote:
> Hi,
>
> I'm working on an rbdmap change https://github.com/ceph/ceph/pull/13361,
> and would appreciate some input from existing users.
>
> Currently "rbdmap map" maps any RBD images listed in the rbdmap config
> file (RBDMAPFILE), whereas "rbdmap unmap" unmaps all mapped RBD images,
> regardless of whether they're present in RBDMAPFILE or not.
>
> In adding support to only unmap RBDMAPFILE listed images when called
> with "rbdmap unmap", I'd like to know whether the existing unmap-all
> functionality is currently used, or whether it could be dropped.
>
> Feedback appreciated.
>
> Cheers, David



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to