Cephfs can use fscache. I am testing it at the moment. Some lines from my deployment process: sudo apt-get install linux-generic-lts-utopic cachefilesd sudo reboot sudo mkdir /mnt/cephfs sudo mkdir /mnt/ceph_cache sudo mkfs -t xfs /dev/md3 # A 100gb local raid partition sudo bash -c
"echo /dev/md/3 /mnt/ceph_cache xfs defaults,noatime 0 0 >> /etc/fstab" sudo bash -c
"echo M1:6789,M2:6789:/ /mnt/cephfs ceph name=fsuser,secretfile=/etc/ceph/fsuser.secret,noatime,fsc,_netdev 0 0 >> /etc/fstab" sudo bash -c
"echo REDACTED > /etc/ceph/fsuser.secret" sudo chmod
400 /etc/ceph/fsuser.secret sudo mount /mnt/ceph_cache/ sudo sed -i
's/#RUN=yes/RUN=yes/g'
/etc/ default /cachefilesd sudo vim /etc/cachefilesd.conf #Change dir to /mnt/ceph_cache, tag to ceph_cache and comment everything
else sudo service cachefilesd start sudo mount /mnt/cephfs Cheers, Les On 04.09.2015 00:58, Kyle Hutson wrote:
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com