Re: [ceph-users] osd prepare issue device-mapper mapping

2018-07-13 Thread Jacob DeGlopper
Also, looking at your ceph-disk list output, the LVM is probably your root filesystem and cannot be wiped.  If you'd like the send the output of a 'mount' and 'lvs' command, you should be able to to tell.     -- jacob On 07/13/2018 03:42 PM, Jacob DeGlopper wrote: You have LVM data on

Re: [ceph-users] osd prepare issue device-mapper mapping

2018-07-13 Thread Jacob DeGlopper
You have LVM data on /dev/sdb already; you will need to remove that before you can use ceph-disk on that device. Use the LVM commands 'lvs','vgs', and 'pvs' to list the logical volumes, volume groups, and physical volumes defined.  Once you're sure you don't need the data, lvremove, vgremove,

[ceph-users] osd prepare issue device-mapper mapping

2018-07-13 Thread Satish Patel
I am installing ceph in my lab box using ceph-ansible, i have two HDD for OSD and i am getting following error on one of OSD not sure what is the issue. [root@ceph-osd-01 ~]# ceph-disk prepare --cluster ceph --bluestore /dev/sdb ceph-disk: Error: Device /dev/sdb1 is in use by a device-mapper