0

There is a ceph mount on two nodes. The content should be available to applications running on one of the two nodes but they should not make changes to the content. Instead I want those applications to make their changes synced on another place (synced via network) using OverlayFS.

  1. Try

mount -t overlay overlay -o lowerdir=/media/ceph/A,upperdir=/media/ceph/B,workdir=/media/ceph/C /media/available

but as ceph seemingly does not support d_type, and RENAME_WHITEOUT - both of which are required (https://elixir.bootlin.com/linux/latest/source/fs/overlayfs/super.c#L1370) at least for upperdir and workdir - this didn't work.

  1. Try Create a file in cephs with ext4Fs inside to mount and use as upperdir/workdir. Even though sync attribute is set on the ext4-mount the fsImages does sync properly (without umounting/mounting them).

Does anyone have any idea for a third try?

PS: Yes, I read this comment

we never allowed remote upper fs, so we can enforce strict requirements for remote upper fs

Hoffmann
  • 121
  • 4

0 Answers0