Hi... Here are a couple of examples based on what we do. We have not tried all of them so some are just extrapolations
based on the underlying logic. Maybe someone else can correct me
if I am wrong. I the following examples, the root of the
filesystem is /cephfs - Mounting your cephfs filesystem as /cephfs:
- Mounting your /cephfs filesystem as /mydata/cephfs (which must
exit) then
- Mounting the subtree /cephf/mydir under, for example, /mydata/cephfs/mydir/ (which must exit) then
- Mounting the subtree /cephf/mydir under, for example, /mydata/mydir/ (which must exit) then I would also would advise you to create a special user / client to mount and not use the admin key. Permissions for that user should be something like client.mount_user key: <...> caps: [mds] allow caps: [mon] allow r caps: [osd] allow rw pool=<your cephfs data pool> Cheers Goncalo On 09/28/2016 01:36 AM,
mayqui.quintana@xxxxxxxxx wrote:
How to mount a cephfs using subtree ?? mount.ceph mon0:/web/data /data/ -o name=admin,secretfile=/etc/ceph/admin.secret Receive mount error 2 = No such file or directory. -- Goncalo Borges Research Computing ARC Centre of Excellence for Particle Physics at the Terascale School of Physics A28 | University of Sydney, NSW 2006 T: +61 2 93511937 |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com