Re: ceph 0.72 with zfs

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

 



The challenge here is that libzfs is currently a build time dependency, which means it needs to be included in the target distro already, or we need to bundle it in the Ceph.com repos.

I am currently looking at the possibility of making the OSD back end dynamically linked at runtime, which would allow a separately packaged zfs back end; that may (or may not!) help.

sage



Dinu Vlad <dinuvlad13@xxxxxxxxx> wrote:
Any chance this option will be included for future emperor binaries? I don't mind compiling software, but I would like to keep things upgradable via apt-get …

Thanks,
Dinu


On Nov 7, 2013, at 4:05 AM, Sage Weil <sage@xxxxxxxxxxx> wrote:

Hi Dinu,

You currently need to compile yourself, and pass --with-zfs to
./configure.

Once it is built in, ceph-osd will detect whether the underlying fs is zfs
on its own.

sage



On Wed, 6 Nov 2013, Dinu Vlad wrote:

Hello,

I'm testing the 0.72 release and thought to give a spin to the zfs support.

While I managed to setup a cluster on top of a number of zfs datasets, the ceph-osd logs show it's using the "genericfilestorebackend":

2013-11-06 09:27:59.386392 7fdfee0ab7c0 0 genericfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_features: FIEMAP ioctl is NOT supported
2013-11-06 09:27:59.386409 7fdfee0ab7c0 0 genericfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_features: FIEMAP ioctl is disabled via 'filestore fiemap' config option
2013-11-06 09:27:59.391026 7fdfee0ab7c0 0 genericfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_features: syncfs(2) syscall fully supported (by glibc and kernel)

I noticed however that the ceph sources include some files related to zfs:

# find . | grep -i zfs
./src/os/ZFS.cc
./src/os/ZFS.h
./src/os/ZFSFileStoreBackend.cc
./src/os/ZFSFileStoreBackend.h

A coupel of questions:

- is 0.72-rc1 package currently in the raring repository compiled with zfs support ?
- if yes - how can I "inform" ceph-osd to use the ZFSFileStoreBackend ?

Thanks,
Dinu


ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



_______________________________________________
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