Re: Multiple CephFS mounts and FSCache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Milind Changire <mchangir@xxxxxxxxxx> wrote:
> On Mon, Aug 7, 2023 at 1:32 PM caskd <caskd@xxxxxxxxx> 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.
Oh wow, that does indeed work. Thank you. I cannot seem to find any documentation regarding this option so it would probably be great to add this somewhere.

> >
> > 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@xxxxxxx
> > To unsubscribe send an email to ceph-users-leave@xxxxxxx


-- 
Alex D.
RedXen System & Infrastructure Administration
https://redxen.eu/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux