Feature #3784
rbd: issue modprobe when rbd map is called
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
rbd map will not work unless the rbd kernel module is loaded, and this must be done manually. Add code to rbd to cause it to modprobe rbd before attempting the map operation.
Note: modprobe and map are both privileged operations.
Associated revisions
rbd: make 'add' modprobe rbd so it has a chance of success
Check for existence of /sys/bus/rbd first to avoid unnecessary calls
Fixes: #3784
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
History
#1 Updated by Dan Mick about 11 years ago
- Status changed from New to In Progress
#2 Updated by Dan Mick about 11 years ago
- Status changed from In Progress to Resolved
#3 Updated by Dan Mick about 11 years ago
commit:e94b06a19218decaf7d2d7b009bd862040f20285 in master