Project

General

Profile

Actions

Feature #5187

closed

rbd: allow unmap using mapped image name

Added by Alex Elder almost 11 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

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

Description

The umount(8) command has a very useful feature that allows
one to specify either the device or the directory that
device is mounted on to indicate which file system you'd
like to unmount.

I think the rbd CLI should offer a similar feature. That
is, if I map an image like this:

rbd map image1    (suppose it maps to /dev/rbd4)

I should be able to unmap it like this:

rbd unmap image1   (equivalent to "rbd unmap /dev/rbd4")
Actions #1

Updated by Neil Levine almost 11 years ago

  • Project changed from Ceph to rbd
Actions #2

Updated by Sage Weil almost 9 years ago

  • Target version set to v9.0.2
Actions #3

Updated by Sage Weil almost 9 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF