Re: mounting a pool via fuse

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

 



Georg Höllrigl пишет:

> I'm using ceph 0.61.7.
> 
> When using ceph-fuse, I couldn't find a way, to only mount one pool.
> 
> Is there a way to mount a pool - or is it simply not supported?

This mean "mount as fs"?
Same as kernel-level cephfs (fuse & cephfs = same instance). You cannot "mount
pool", but can mount filesystem and can map pool to any point of filesystem
(file or directory), include root.

First, mount ceph via kernel - "mount -t ceph" (just for "cephfs" tool syntax
compatibility). For example - to /mnt/ceph. Then say "ceph df" and lookup pool
number (not name!), for example pool number is "10". And last:
mkdir -p /mnt/ceph/pools/pool1
cephfs /mnt/ceph/pools/pool1 set_layout -p 10

or just (for ceph's root):

cephfs /mnt/ceph set_layout -p 10

Next you can unmount kernel-level and mount this point via fuse.

PS For ceph developers: trying this for qouta (with "ceph osd pool set-quota")
semi-working: on quota overflow - nothing limited, but "ceph health" show
warning. In case of no other ways to quota, it may qualified as "bug" and not
too actual only while big number of pools performance limitation. So, FYI.

-- 
WBR, Dzianis Kahanovich AKA Denis Kaganovich, http://mahatma.bspu.unibel.by/
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




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


  Powered by Linux