Project

General

Profile

Actions

Feature #8538

closed

Functionality to have rbdmap also mount after mapping an image

Added by JuanJose Galvez almost 10 years ago. Updated almost 10 years ago.

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

100%

Spent time:
Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

In RE: https://inktank.zendesk.com/agent/#/tickets/1462

Summary: Over 200 rbd images are being mapped to a RHEL7 machine on boot. When fstab is being processed and RHEL7 attempts to mount these images, not all images have been mapped yet, it causes the node to go into emergency maintenance mode. Ideally what we would like to see is the ability to have rbdmap trigger the mount commands after mapping of an image has been completed - giving us the ability to mount specific entries rather than relying on fstab and mount -a.

Actions #1

Updated by Dmitry Smirnov almost 10 years ago

  • Status changed from New to Fix Under Review
  • % Done changed from 0 to 50

"mount -a" behaviour strikes me as incorrect. Not only we mount unrelated file systems but also there is a risk to do it unexpectedly at the wrong time, like when administrator unmounted file system(s) before mapping RBD devices using "service rbdmap start" or "/etc/init.d/rbdmap start".

Luckily there is an elegant solution to this, please review:

https://github.com/ceph/ceph/pull/2092
Actions #2

Updated by Dmitry Smirnov almost 10 years ago

  • Status changed from Fix Under Review to Resolved
  • % Done changed from 50 to 100

Merged. Thanks, Sage.

Actions

Also available in: Atom PDF