I think I've understood how to run it...

ceph-fuse -m MON_IP:6789 -r /syd /coepp/cephfs/syd

does what I want

Cheers
Goncalo

On 12/15/2015 12:04 PM, Goncalo Borges wrote:
Dear CephFS experts

Before it was possible to mount a subtree of a filesystem using ceph-fuse and -r option.

In invernalis, I am not understanding how that is working, and I am only able to mount the full tree. 'ceph-fuse --help' does not seem to show that option although 'man ceph-fuse' says it should work.

Basically, this works:

    # /usr/local/ceph920/bin/ceph-fuse -m MON_IP:6789 /coepp/cephfs
    ceph-fuse[7826]: starting ceph client
    2015-12-15 01:00:03.231332 7f70c2ffc720 -1 init, newargv =
    0x7f70c655a840 newargc=11
    ceph-fuse[7826]: starting fuse

    # ll  /coepp/cephfs
    total 2
    drwxr-xr-x 1 root root 0 Dec 15 00:45 adl
    drwxr-xr-x 1 root root 0 Dec 15 00:45 mel
    drwxr-xr-x 1 root root 0 Dec 15 00:47 share
    drwxr-xr-x 1 root root 0 Dec 15 00:44 syd


But this doesn't

    # ceph-fuse -m MON_IP:6789 -r /coepp/cephfs/syd /coepp/cephfs
    ceph-fuse[8906]: starting ceph client
    2015-12-15 01:02:12.897012 7ff838e4d720 -1 init, newargv =
    0x7ff83d00a870 newargc=11
    ceph-fuse[8906]: ceph mount failed with (2) No such file or directory
    ceph-fuse[8904]: mount failed: (2) No such file or directory

Is it just me not fully understanding how to properly do it?

TIA
Goncalo

--
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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

--
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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to