I have CentOS 6.4 running with the 3.11.6 kernel from elrepo and it includes
the rbd module. I think you could make the same update on RHEL 6.4 and get
rbd. From there it is very simple to mount an rbd device. Here are a few
notes on what I did.
Update kernel:
sudo rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
sudo rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
sudo yum -y update
sudo yum -y --enablerepo=elrepo-kernel install kernel-ml
sudo vim /boot/grub/menu.lst (update default to zero)
reboot
Create rbd device:
rbd create {name} --size {size_in_MB}
sudo modprobe rbd
sudo rbd map {name} --pool {pool_name}
Device appears at /dev/rbd/rbd/name
From: ceph-users-boun...@lists.ceph.com
[mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of
alistair.whit...@barclays.com
Sent: Wednesday, October 30, 2013 11:48 AM
To: ceph-users@lists.ceph.com
Subject: [ceph-users] Red Hat clients
Now that my ceph cluster seems to be happy and stable, I have been looking at
different ways of using it. Object, block and file.
Object is relatively easy and I will use different ones to test with Ceph.
When I look at block, I'm getting the impression from a lot of Googling that
deploying clients on Red Hat to connect to a Ceph cluster can be complex. As
I understand it, the rbd module is not currently in the Red Hat kernel (and I
am not allowed to make changes to our standard kernel as is suggested in places
as a possible solution). Does this mean I can't connect a Red Hat machine to
Ceph as a block client?
___
This message is for information purposes only, it is not a recommendation,
advice, offer or solicitation to buy or sell a product or service nor an
official confirmation of any transaction. It is directed at persons who are
professionals and is not intended for retail customer use. Intended for
recipient only. This message is subject to the terms at:
www.barclays.com/emaildisclaimerhttp://www.barclays.com/emaildisclaimer.
For important disclosures, please see:
www.barclays.com/salesandtradingdisclaimerhttp://www.barclays.com/salesandtradingdisclaimer
regarding market commentary from Barclays Sales and/or Trading, who are active
market participants; and in respect of Barclays Research, including disclosures
relating to specific issuers, please see http://publicresearch.barclays.com.
___
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com