ThankYou Ilya! I have built Centos6.5 kernel 3.6.3 using source linux-3.16.3.tar.gz from www.kernel.org [root@root ~]# uname -a Linux root 3.16.3 #1 SMP Fri Oct 10 06:48:44 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux The kernel modules (includes rbd.ko hopefully…are still compiling…. Since building a FedoraCore20 Client hosts is much faster that building a kernel and modules from sources. I have built a FedoraCore20 Client hosts machine and below are the results…Enjoy!!: [root@localhost ceph]# uname -a Linux localhost.localdomain
3.16.3-200.fc20.x86_64 #1 SMP Wed Sep 17 22:34:21 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Created RBD: [root@root ceph]# rbd create rbd1 --size 40960 --pool vsmpool_hp1 -id admin [root@root ceph]# rbd create rbd1 --size 40960 --pool vsmpool_perf1 -id admin List the RBD’s: [root@localhost ceph]# rbd ls vsmpool_hp1 rbd1 [root@localhost ceph]# rbd ls vsmpool_perf1 rbd1 [root@localhost ceph]# rbd map vsmpool_hp1/rbd1 --id admin
Successful… Note: this is where we have an I/O error in Centos6.5 kernel 3.10.25 [root@localhost ceph]# rbd showmapped id pool image snap device 0 vsmpool_hp1 rbd1 - /dev/rbd0 Format the RBD: [root@localhost ceph]# mkfs.xfs /dev/rbd/vsmpool_hp1/rbd1
log stripe unit (4194304 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data="" isize=256 agcount=17, agsize=654336 blks = sectsz=512 attr=2, projid32bit=1 = crc=0 finobt=0 data = bsize=4096 blocks=10485760, imaxpct=25 = sunit=1024 swidth=1024 blks naming =version 2 bsize=4096 ascii-ci=0 ftype=0 log =internal log bsize=4096 blocks=5120, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Mount the RBD: #mount /dev/rbd0 /media/test-target1/ Check Linux [root@localhost ceph]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora-root 41G 4.4G 35G 12% / devtmpfs 995M 0 995M 0% /dev tmpfs 1002M 136K 1001M 1% /dev/shm tmpfs 1002M 760K 1001M 1% /run tmpfs 1002M 0 1002M 0% /sys/fs/cgroup tmpfs 1002M 12K 1002M 1% /tmp /dev/sda1 477M 97M 351M 22% /boot /dev/mapper/fedora-home 20G 49M 19G 1% /home /dev/rbd0 40G 33M 40G 1% /media/test-target1 [root@localhost ceph]# I’ll share results of centos6.5 running kernel 3.16.3 once module finish compiling…. Enjoy!!! Regards Ben Aquino -----Original Message----- On Fri, Oct 10, 2014 at 9:22 PM, Aquino, Ben O <ben.o.aquino@xxxxxxxxx> wrote: > Thanks Ilya, > Will try to build client hosts with Centos7 running kernel 3.16. Make sure it's 3.16.3 or later. Thanks, Ilya |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com