ceph - wrong osd id with lvm+filestore

Posted on Wed 04 July 2018 in Ceph • Tagged with bluestore, ceph, ceph-ansible, LVM, linux, notepad, howto • 2 min read

Not sure why...but i've found a strange ceph-volume behavior with lvm and filestore.

ceph-volume lvm list shows the wrong osd id while the affected osd is online with a another id.

$ mount | grep ceph-2
/dev/mapper/vg00-datalv1 on /var/lib/ceph/osd/ceph-2 type xfs (rw,relatime,seclabel,attr2 …

Continue reading

lvm is not a clvm ;)

Posted on Wed 02 December 2009 in Linux • Tagged with Cluster, Linux, LVM, notepad • 1 min read

LVM is not cluster aware so be very careful !

Steps to make changes on a (shared-) lvm:

  1. other nodes: # vgchange -an
  2. master node: make changes like # lvrename
  3. other nodes: # vgscan; vgchange -ay

Thats on only necessary if you have a shared storage like drbd or a SAN ;)