Project

General

Profile

Actions

Bug #16754

closed

mounting cephfs root and sub-directory on the same node makes the sub-directory inaccessible from root.

Added by Rohith Radhakrishnan almost 8 years ago. Updated almost 8 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Steps to reproduce: *************************************************************
ems@host1: sudo mount -t ceph 10.242.42.216:/ /mnt/mycephfs/
ems@host1: sudo mkdir sub1 & sub2
ems@host1: /mnt/mycephfs $ ls
sub1 sub2
ems@host1: sudo umount /mnt/mycephfs *************************************************************
ems@host1: sudo mount -t ceph 10.242.42.216:/sub1 /mnt/mycephfs/
ems@host1: sudo mount -t ceph 10.242.42.216:/ /mnt1/cephfs/ *************************************************************
ems@host1: cd /mnt1/cephfs/
ems@host1:/mnt1/cephfs$ ls
ls: cannot access sub1: No such file or directory
sub1 sub2
ems@host1:/mnt1/cephfs$ ls /mnt1/cephfs/
/ sub2

Similarly if we mount sub2 on a host2, and then also mount the root to host2, then Sub2 is not accessible from root mount point.

Actions

Also available in: Atom PDF