Comments on Using Ceph as Block Device on CentOS 7
Ceph is an open source storage platform, it provides high performance, reliability, and scalability. In this tutorial, I will show you step-by-step to install and configure a Ceph Block Device client to use Ceph as a filesystem on CentOS 7.
5 Comment(s)
Comments
Thank you for your article, everything works OK.
But what should I do next to map this /dev/rbd0 40 Gb to Windows Server 2012? I want to see this 40 Gb partition as a logical disk D: or E:?
Build an rbd <-> iscsi bridge. tgtadm is the tool for that, explanation https://www.heinlein-support.de/sites/default/files/ceph-iscsi-host-failover-multipath_0.pdf (german sorry)
Does anyone have a example of the kernel paramaters required to modprobe a ram0 disk diretly from the rbd.ko modules not the binary. I know this can be done I just lost my reff or forget how.
I Have completed the intallation done! Thanks the information.
I have a question, let say i have done the rbd1 create 1 size 4gb, and i resize it to 10gb.
[cephuser@client ~]$ rbd ls -lNAME SIZE PARENT FMT PROT LOCK
disk01 10240M 2
disk02 800G 2
[cephuser@client ~]$
But i mount it to /mnt/test still remain old size 4gb, how to enlarge the actual size so i can use up to 10gb ?
[cephuser@client ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 486M 0 486M 0% /dev
tmpfs 496M 0 496M 0% /dev/shm
tmpfs 496M 51M 446M 11% /run
tmpfs 496M 0 496M 0% /sys/fs/cgroup
/dev/vda1 25G 1.9G 22G 9% /
tmpfs 100M 0 100M 0% /run/user/0
/dev/rbd0 800G 34M 800G 1% /mnt/mydisk
/dev/rbd1 4.0G 4.0G 32K 100% /mnt/test
[cephuser@client ~]$
I not able see my /mnt/test is 10gb
Thank Arul for the sharing, Please let us know what if we required to access the object storage from android phone ? Do ceph have any mobile app ?