OSD on LVM volume

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

 



Hi all,

installing an OSD on an LVM volume seems not to be supported by the current
'ceph-deploy osd' or 'ceph-disk prepare' tools. Therefore I tried to do it
manually as suggested here:
http://eturnerx.blogspot.de/2014/08/how-i-added-my-lvm-volumes-as-osds-in.html

TL;DR, the process is: 
- create volume
- format volume
- mount volume to /var/lib/ceph/ceph-$OSD_ID
- create symlink from /var/lib/ceph/ceph-$OSD_ID/journal to journal volume

This seems to work, however, the disks are not listed by 'ceph-disk list'.

There seem to be other approaches which involve creating a partition table
on the LVM volumes, as described here, for example:
http://dachary.org/?p=2548 which seem to be a bit more involved and I
haven't tried.

Is there a recommended way of running an OSD on top of a LVM volume? What
are the pros and cons of the approaches? Is there a downside to the disks
not being listed by 'ceph-disk list' as per the first approach?

Thanks in advance for any enlightenment!

Joerg Henne


_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux