Documentation #62837
open
- Project changed from CephFS to Linux kernel client
- Category deleted (
Performance/Resource Usage)
`read_from_replica` is supported in libceph and I think you should be able to mount kceph by adding `read_from_replica=localize` as a mount option.
Venky Shankar wrote:
`read_from_replica` is supported in libceph and I think you should be able to mount kceph by adding `read_from_replica=localize` as a mount option.
Thanks for the quick reply.
Then the following mount command will work exactly how rbd map works ?
```
mount -t ceph -o mds_namespace=myfs,name=admin,secret=$my_secret,read_from_replica=localize,crush_location="host:compute1|region:north" $mon_endpoints:/ /tmp/registry
```
Rakshith R wrote:
Venky Shankar wrote:
`read_from_replica` is supported in libceph and I think you should be able to mount kceph by adding `read_from_replica=localize` as a mount option.
Thanks for the quick reply.
Then the following mount command will work exactly how rbd map works ?
```
mount -t ceph -o mds_namespace=myfs,name=admin,secret=$my_secret,read_from_replica=localize,crush_location="host:compute1|region:north" $mon_endpoints:/ /tmp/registry
```
Yes. I think that should work.
Thanks,
Can we use this tracker to implement changes in cephfs mount options documentation ?
This way more users can discover this and benefit from it.
- Tracker changed from Feature to Documentation
- Assignee set to Xiubo Li
Rakshith R wrote:
Thanks,
Can we use this tracker to implement changes in cephfs mount options documentation ?
This way more users can discover this and benefit from it.
Sure. Changing the tracker to Documentation - will get the doc bits up for review.
Xiubo, let's start adding some details regarding this in cephfs docs :)
In kclient it seems this hasn't be supported everywhere. Such as for the sync and direct read.
Xiubo Li wrote:
In kclient it seems this hasn't be supported everywhere. Such as for the sync and direct read.
Sorry, my bad. We already did.
- Status changed from New to In Progress
Also available in: Atom
PDF