Project

General

Profile

Bug #46075

ceph-fuse: mount -a on already mounted folder should be ignored

Added by Theofilos Mouratidis 3 months ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Pull request ID:
Crash signature:

Description

The expected behaviour of `mount -a` is to mount the paths written in /etc/fstab, and ignore those that are already mounted.
In the case a fuse.ceph line is defined, the `mount -a` command retries to mount the folder resulting in the expected error of "mountpoint is not empty", when it should completely be ignored.
To replicate you can just try to run `mount -a` twice with a ceph-fuse mount entry in /etc/fstab.

Also available in: Atom PDF