Actions
Bug #44821
openCan not move directory when CephFS is lower layer for OverlayFS
Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
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