Re: [RFC] rbdmap unmap - unmap all, or only RBDMAPFILE listed images?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ddiss@xxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux