On Mon, Aug 7, 2023 at 1:32 PM caskd <caskd@redxen.eu> wrote:
Hello everyone,
I've been trying to use CephFS and mix it together with fscache, however i was never able to have multiple mounts with fscache enabled. Is this a known intentional limitation or a bug? It would be possible to work around it by mounting the root of the filesystem and using bind mounts but i have separate volumes that need to be separately mounted.
How to replicate: mount -t ceph -o fsc admin@.filesystem1=/path1 /tmp/one # Succeeds mount -t ceph -o fsc admin@.filesystem1=/path2 /tmp/two # Fails complaining about no mds being available
You could try using -o fsc=<unique-tag> in the command-line to see if that helps with mounting different cephfs paths The <unique-tag> helps differentiate different mounts with the same fsid.
The alternative of using no fscache works just fine: mount -t ceph admin@.filesystem1=/path1 /tmp/one # Succeeds mount -t ceph admin@.filesystem1=/path2 /tmp/two # Succeeds
Versions: - ceph quincy 17.2.6 - linux 6.4.6 - cachefilesd 0.10.10
-- Alex D. RedXen System & Infrastructure Administration https://redxen.eu/ _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- Milind