<p>I build a ceph cluster with kubernetes and it create an osd block into the <code>sdb</code> disk.
I had delete the ceph cluster but cleanup all the kubernetes instance which were created by ceph cluster, but it did't delete the osd block which is mounted into sdb.</p>
<p><a href="https://i.stack.imgur.com/9I1NB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9I1NB.png" alt="enter image description here" /></a></p>
<p>I am a beginner in kubernetes. How can I remove the osd block from <code>sdb</code>.
And why the osd block will have all the disk space?</p>

Jack Xu
<p>I find a way to remove osd block from disk on ubuntu18.04:</p>
<p>Use this command to show the logical volume information:</p>
<p><code>$ sudo lvm lvdisplay</code></p>
<p>Then you will get the log like this:</p>
<p><a href="https://i.stack.imgur.com/wWFal.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wWFal.png" alt="enter image description here" /></a></p>
<p>Then execute this command to remove the osd block volumn.</p>
<p><code>$ sudo lvm lvremove &lt;LV Path&gt;</code></p>
<p>Check if we have removed the volume successfully.</p>
<p><code>$ lsblk</code></p>
