Bug 1036089 - mount.ceph drops the _netdev option resulting in CephFS unmounting after netwerk stop during shutdown
Summary: mount.ceph drops the _netdev option resulting in CephFS unmounting after netw...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ceph
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Josef Bacik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-29 12:07 UTC by Rolf Fokkens
Modified: 2017-07-15 14:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-15 14:02:36 UTC
Type: Bug


Attachments (Terms of Use)
This patch fixes the issue (1.52 KB, patch)
2013-11-29 12:11 UTC, Rolf Fokkens
no flags Details | Diff

Description Rolf Fokkens 2013-11-29 12:07:38 UTC
Description of problem:
CephFS mounts are unmounted after the network is stopped dispite the specification of _netdev. This results in a 2 minute delay during shutdown.

Version-Release number of selected component (if applicable):
ceph-0.67.3-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Specify a CephFS mount in /etc/fstab including a _netdev option
2. Mount the CephFS mount
3. Note the missing _netdev in /etc/mtab
4. Shutdown the system en note that it takes 2 minutes to unmount CephFS

Actual results:
Long delay during Ceph unmount

Expected results:
No delay during Ceph unmount

Additional info:

Comment 1 Rolf Fokkens 2013-11-29 12:11:39 UTC
Created attachment 830622 [details]
This patch fixes the issue

This patch makes mount.ceph store the _netdev option in /etc/mtab but not pass the _netdev option to the kernel.

This makes sure that CephFS mounts are unmounted before the network is stopped.


Note You need to log in before you can comment on or make changes to this bug.