Project

General

Profile

Actions

Bug #44821

open

Can not move directory when CephFS is lower layer for OverlayFS

Added by Robert LeBlanc about 4 years ago. Updated over 3 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

ceph-qa-suite:
Component(FS):
ceph-fuse, kceph
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When CephFS is used as a lower layer for OverlayFS and the redirect_dir=on option is supplied to OverlayFS, trying to move a file in the merged mount point fails with:

mv: cannot move 'merged/foo' to 'merged/bar': Operation not supported

This happens with the 4.15.0-91-generic Ubuntu kernel and with the 14.2.8-1bonic FUSE package.

Steps to reproduce:

mkdir /mnt/cephfs/test_dir/foo
cd /dev/shm
mkdir upper work merged
sudo mount -t overlay -o lowerdir=/mnt/cephfs/test_dir,upperdir=upper,workdir=work,redirect_dir=on overlay merged
mv merged/foo merged/bar

Ideally we would like to use this merged mount as the lower for even more overlayfs mount points.

Actions

Also available in: Atom PDF