Actions
Feature #12113
closedrbd map should probably avoid creating duplicate devices for the same image
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Perhaps the default should be that mapping an rbd image creates a new /dev/rbd* if one does not exist for the image, and then creates a symlink, perhaps in /dev/rbd/ ? mapping the new alias to the same device. That would prevent ext4 from incorrectly mounting the same image twice. It would also allow rbd map to let the user specify a name for the rbd image mapping.
The current behavior is useful in some cases, however. Probably there should be a --force-duplicate option to force a new kernel mapping as in the current behavior.
Updated by Samuel Just almost 9 years ago
- Project changed from Ceph to rbd
- Target version deleted (
v9.0.4)
Updated by Jason Dillaman over 6 years ago
- Status changed from New to Resolved
The "rbd map" CLI will now issue a warning when you create a duplicate map.
Actions